* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* OTP Modal */
.smd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smd-otp-modal {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.smd-otp-modal h2 {
    color: #0B2B40;
    margin-bottom: 0.5rem;
}

.smd-otp-modal input {
    width: 100%;
    padding: 1rem;
    margin: 0.75rem 0;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    font-size: 1rem;
}

.smd-otp-modal button {
    width: 100%;
    padding: 1rem;
    background: #0B2B40;
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 600;
}

/* Calculator Container */
.smd-calculator-container {
    max-width: 1400px;
    margin: 2rem auto;
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.smd-calc-header {
    background: linear-gradient(135deg, #0B2B40 0%, #1B4F6E 100%);
    padding: 2rem;
    color: white;
}

.smd-calc-header h1 {
    font-size: 2rem;
    margin: 0;
}

.smd-calc-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
    padding: 2rem;
}

@media (max-width: 850px) {
    .smd-calc-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.smd-form-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #eef2f6;
}

.smd-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 1.5rem;
}

.smd-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.smd-section-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #0B2B40;
    border-left: 4px solid #1B6B8F;
    padding-left: 1rem;
}

.smd-radio-group, .smd-pixel-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.smd-radio-option {
    background: #f8fafd;
    border: 1px solid #e2e8f0;
    border-radius: 3rem;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.smd-radio-option.active, .smd-pixel-item.active {
    background: #1B6B8F;
    border-color: #1B6B8F;
    color: white;
}

.smd-pixel-item {
    background: white;
    border: 1px solid #e2edf2;
    border-radius: 2rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.15s;
}

.smd-size-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.smd-size-field {
    flex: 1;
}

.smd-size-field label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #547084;
    display: block;
    margin-bottom: 0.3rem;
}

.smd-size-field input {
    width: 100%;
    padding: 0.8rem;
    border: 1.5px solid #e2edf2;
    border-radius: 1rem;
    font-size: 1rem;
}

.smd-result-panel {
    background: linear-gradient(125deg, #fefefe, #ffffff);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.smd-price-card {
    background: #F4F9FE;
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.smd-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f6;
}

.smd-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 3rem;
    text-decoration: none;
    margin-top: 1.5rem;
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 1rem;
}

.smd-whatsapp-btn:hover {
    background: #1da15a;
    transform: scale(1.02);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}