body {
    background-color: #e9ecef;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Phone Body */
.mobile-wrapper {
    width: 390px;
    height: 100vh;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Homepage */
.homepage {
    width: 100%;
    height: 100%;
    padding: 30px 20px 20px 20px;
    overflow-y: auto;
}

.modal {
    position: absolute;
    inset: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-dialog {
    width: 90%;
    margin: 0;
}

.modal-content {
    border-radius: 24px;
    padding: 25px;
    border: none;
}


.option-card {
    border: 1px solid #d5e5e2;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: 0.2s ease;
}

.option-card:hover {
    border-color: #1f6f63;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.option-card input {
    margin-top: 6px;
}

.option-title {
    font-weight: 600;
    font-size: 16px;
}

.option-text {
    color: #6c757d;
    font-size: 14px;
    margin-top: 4px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.back-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    color: #1f6f63;
}

.step-title {
    flex: 1;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.phone-models-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.phone-models-grid::-webkit-scrollbar {
    width: 6px;
}

.phone-models-grid::-webkit-scrollbar-track {
    background: transparent;
}

.phone-models-grid::-webkit-scrollbar-thumb {
    background: #d5e5e2;
    border-radius: 3px;
}

.phone-models-grid::-webkit-scrollbar-thumb:hover {
    background: #1f6f63;
}

.phone-model-option {
    border: 1px solid #d5e5e2;
    border-radius: 14px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.phone-model-option:hover {
    border-color: #1f6f63;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.phone-model-option input {
    margin: 0;
}

.phone-model-name {
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.modal-footer-button {
    margin-top: 20px;
    padding: 12px;
    background: #1f6f63;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.modal-footer-button:hover {
    background: #184d46;
}

.modal-footer-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .mobile-wrapper {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    }