        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-wrapper {
            width: 100%;
            max-width: 420px;
			box-shadow: 0 25px 50px -12px rgb(235 9 9);
    padding: 40px;
    position: relative;
    overflow: hidden;
        }

        /* Language Selector */
        .lang-selector {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 100;
        }

        .lang-btn {
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .lang-btn:hover {
            border-color: #DF1119;
        }

        .lang-btn i {
            color: #DF1119;
            font-size: 16px;
        }

        .lang-btn span {
            font-size: 14px;
            font-weight: 600;
            color: #1a1d29;
        }

        .lang-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
            min-width: 160px;
            display: none;
            overflow: hidden;
        }

        .lang-dropdown.active {
            display: block;
            animation: slideDown 0.2s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .lang-item {
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .lang-item:hover {
            background: #f8f9fc;
        }

        .lang-item.active {
            background: #f8f9fc;
            color: #DF1119;
        }

        .lang-item span:first-child {
            font-size: 18px;
        }

        .lang-item span:last-child {
            font-size: 14px;
            font-weight: 500;
        }

        /* Logo */
        .logo {
            text-align: center;
            margin-bottom: 32px;
        }

        .logo img {
            width: 180px;
            height: auto;
        }

        /* Login Card */
        .login-card {
            background: white;
            border-radius: 20px;
            padding: 36px 28px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            border: 1px solid #e2e8f0;
        }

        .login-header {
            text-align: center;
            margin-bottom: 28px;
        }

        .login-header h1 {
            font-size: 24px;
            font-weight: 800;
            color: #1a1d29;
            margin-bottom: 6px;
        }

        .login-header p {
            color: #64748b;
            font-size: 14px;
        }

        /* Form */
        .form-group {
            margin-bottom: 18px;
        }

        .form-label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #1a1d29;
            margin-bottom: 8px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 16px;
        }

        .form-input {
            width: 100%;
            padding: 13px 14px 13px 42px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
            background: #f8f9fc;
        }

        .form-input:focus {
            outline: none;
            border-color: #DF1119;
            background: white;
            box-shadow: 0 0 0 4px rgba(223, 17, 25, 0.1);
        }

        .password-toggle {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            font-size: 16px;
            padding: 4px;
        }

        .password-toggle:hover {
            color: #DF1119;
        }

        /* Options */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .checkbox-wrapper {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .checkbox-wrapper input {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: #DF1119;
        }

        .checkbox-wrapper label {
            font-size: 13px;
            font-weight: 500;
            color: #1a1d29;
            cursor: pointer;
        }

        .forgot-link {
            color: #DF1119;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
        }

        .forgot-link:hover {
            text-decoration: underline;
        }

        /* Button */
        .btn-primary {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #DF1119 0%, #b40007 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(223, 17, 25, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(223, 17, 25, 0.4);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            margin: 24px 0;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e2e8f0;
        }

        .divider span {
            padding: 0 12px;
            color: #94a3b8;
            font-size: 12px;
            font-weight: 600;
        }

        /* Social */
        .social-login {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 24px;
        }

        .social-btn {
            padding: 12px;
            background: #f8f9fc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #1a1d29;
        }

        .social-btn:hover {
            border-color: #DF1119;
            background: white;
        }

        .social-btn i {
            font-size: 16px;
        }

        .social-btn.google i {
            color: #DB4437;
        }

        .social-btn.facebook i {
            color: #4267B2;
        }

        /* Signup */
        .signup-link {
            text-align: center;
            color: #64748b;
            font-size: 13px;
			    margin-top: 10px;
        }

        .signup-link a {
            color: #DF1119;
            font-weight: 700;
            text-decoration: none;
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        /* Alert */
        .alert {
            padding: 12px 14px;
            border-radius: 10px;
            margin-bottom: 18px;
            display: none;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            font-weight: 500;
        }

        .alert.show {
            display: flex;
        }

        .alert.error {
            background: #fee2e2;
            color: #dc2626;
            border: 1px solid #fca5a5;
        }

        .alert.success {
            background: #dcfce7;
            color: #16a34a;
            border: 1px solid #86efac;
        }

        /* Loading */
        .spinner {
            width: 18px;
            height: 18px;
            border: 3px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Mobile */
        @media (max-width: 480px) {
            body {
                padding: 16px;
            }

            .login-card {
                padding: 28px 20px;
            }

            .logo img {
                width: 150px;
            }

            .login-header h1 {
                font-size: 22px;
            }

            .social-login {
                grid-template-columns: 1fr;
            }

            .lang-selector {
                top: 12px;
                right: 12px;
            }

            .lang-btn {
                padding: 8px 12px;
            }
        }

        /* Landscape Mobile */
        @media (max-height: 600px) and (orientation: landscape) {
            body {
                padding: 10px;
            }

            .logo {
                margin-bottom: 20px;
            }

            .logo img {
                width: 120px;
            }

            .login-card {
                padding: 20px 24px;
            }

            .login-header {
                margin-bottom: 16px;
            }

            .form-group {
                margin-bottom: 14px;
            }

            .divider {
                margin: 16px 0;
            }
        }
		
		/* Registration Specific Styles */
.registration-wrapper {
    max-width: 600px; /* Wider for 2-column layout */
}

.registration-card {
    background: white;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

/* Form Grid - 2 Columns */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

/* Full Width Form Groups */
.form-group.full-width {
    grid-column: span 2;
}

/* Phone Input with Country Code */
.phone-input-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
}

.country-code {
    width: 100%;
    padding: 13px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: #f8f9fc;
    cursor: pointer;
    transition: all 0.3s;
}

.country-code:focus {
    outline: none;
    border-color: #DF1119;
    background: white;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    background: #f8f9fc;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-wrapper:hover {
    border-color: #DF1119;
    background: white;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 32px;
    color: #DF1119;
    margin-bottom: 8px;
}

.file-upload-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.file-upload-text strong {
    color: #DF1119;
}

.file-name {
    margin-top: 8px;
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 13px 40px 13px 42px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: #f8f9fc;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s;
}

.custom-select:focus {
    outline: none;
    border-color: #DF1119;
    background: white;
    box-shadow: 0 0 0 4px rgba(223, 17, 25, 0.1);
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

/* Checkbox & Radio Styling */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-option,
.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8f9fc;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-option:hover,
.radio-option:hover {
    border-color: #DF1119;
    background: white;
}

.checkbox-option input,
.radio-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #DF1119;
}

.checkbox-option label,
.radio-option label {
    font-size: 14px;
    font-weight: 500;
    color: #1a1d29;
    cursor: pointer;
    flex: 1;
}

.checkbox-option.checked,
.radio-option.checked {
    border-color: #DF1119;
    background: rgba(223, 17, 25, 0.05);
}

/* Terms & Privacy */
.terms-wrapper {
    background: #f8f9fc;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.terms-wrapper .checkbox-wrapper {
    margin-bottom: 0;
}

.terms-wrapper label {
    font-size: 13px;
    line-height: 1.6;
}

.terms-wrapper a {
    color: #DF1119;
    text-decoration: none;
    font-weight: 600;
}

.terms-wrapper a:hover {
    text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    display: none;
}

.password-strength.show {
    display: block;
}

.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s;
}

.strength-bar.active.weak {
    background: #ef4444;
}

.strength-bar.active.medium {
    background: #f59e0b;
}

.strength-bar.active.strong {
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.medium {
    color: #f59e0b;
}

.strength-text.strong {
    color: #10b981;
}

/* Step Indicator (Optional) */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s;
}

.step.active {
    background: #DF1119;
    width: 60px;
}

/* Already Have Account Link */
.login-link {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    margin-top: 20px;
}

.login-link a {
    color: #DF1119;
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Verification Badge */
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.verification-badge i {
    font-size: 14px;
}

/* Mobile Responsive for Registration */
@media (max-width: 768px) {
    .registration-wrapper {
        max-width: 100%;
    }

    .form-grid {
     
        gap: 16px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .registration-card {
        padding: 28px 20px;
    }

    .phone-input-wrapper {
        grid-template-columns: 90px 1fr;
        gap: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .registration-card {
        padding: 24px 16px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input,
    .custom-select,
    .country-code {
        padding: 12px 10px 12px 38px;
        font-size: 13px;
    }

    .input-icon {
        left: 12px;
        font-size: 15px;
    }

    .file-upload-wrapper {
        padding: 20px 12px;
    }

    .file-upload-icon {
        font-size: 28px;
    }
}

/* Landscape Mobile for Registration */
@media (max-height: 600px) and (orientation: landscape) {
    .registration-card {
        padding: 20px 24px;
    }

    .form-grid {
        gap: 12px;
        margin-bottom: 14px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .file-upload-wrapper {
        padding: 16px;
    }

    .logo {
        margin-bottom: 16px;
    }

    .logo img {
        width: 120px;
    }
}

/* Tablet View */
@media (min-width: 481px) and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Address Autocomplete Suggestions */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.address-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1d29;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f8f9fc;
}

.suggestion-item i {
    color: #DF1119;
    margin-right: 8px;
}

/* Error State for Grid Items */
.form-group.error .form-input,
.form-group.error .custom-select,
.form-group.error .country-code {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-group.error .form-label {
    color: #dc2626;
}

.error-text {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.error-text.show {
    display: block;
}

/* Success State */
.form-group.success .form-input,
.form-group.success .custom-select {
    border-color: #10b981;
}

.success-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-size: 16px;
    display: none;
}

.form-group.success .success-icon {
    display: block;
}

/* Character Counter */
.char-counter {
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
    margin-top: 4px;
}

.char-counter.limit {
    color: #dc2626;
}

/* Profile Picture Preview */
.profile-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #DF1119;
    margin: 0 auto 12px;
    display: none;
}

.profile-preview.show {
    display: block;
}

/* Textarea for Registration */
textarea.form-input {
    min-height: 80px;
    resize: vertical;
    padding: 13px 14px;
    line-height: 1.5;
}

/* Date Input Styling */
input[type="date"].form-input {
    color: #1a1d29;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(336deg) brightness(89%) contrast(119%);
}

/* OTP Specific Styles */
.otp-wrapper {
    max-width: 440px;
}

.otp-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

/* OTP Header */
.otp-header {
    margin-bottom: 32px;
}

.otp-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(223, 17, 25, 0.1) 0%, rgba(180, 0, 7, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse-otp 2s ease-in-out infinite;
}

@keyframes pulse-otp {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(223, 17, 25, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(223, 17, 25, 0);
    }
}

.otp-icon i {
    font-size: 36px;
    color: #DF1119;
}

.otp-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1d29;
    margin-bottom: 8px;
}

.otp-header p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.otp-sent-to {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1d29;
    margin-top: 12px;
}

.otp-sent-to i {
    color: #DF1119;
    font-size: 14px;
}

.otp-sent-to .change-link {
    color: #DF1119;
    cursor: pointer;
    text-decoration: none;
    margin-left: 4px;
}

.otp-sent-to .change-link:hover {
    text-decoration: underline;
}

/* OTP Input Container */
.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
}

/* Individual OTP Input Box */
.otp-input {
    width: 56px;
    height: 56px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    background: #f8f9fc;
    color: #1a1d29;
    transition: all 0.3s;
    caret-color: #DF1119;
}

.otp-input:focus {
    outline: none;
    border-color: #DF1119;
    background: white;
    box-shadow: 0 0 0 4px rgba(223, 17, 25, 0.1);
    transform: scale(1.05);
}

.otp-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* OTP Input States */
.otp-input.filled {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.otp-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-8px);
    }
    75% {
        transform: translateX(8px);
    }
}

/* Timer */
.otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
}

.timer-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DF1119 0%, #b40007 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.timer-text {
    color: #1a1d29;
}

.timer-text span {
    color: #DF1119;
    font-size: 16px;
}

.timer-expired {
    color: #ef4444;
}

/* Resend Code Section */
.resend-section {
    margin-bottom: 24px;
}

.resend-text {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.resend-btn {
    background: none;
    border: none;
    color: #DF1119;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: all 0.3s;
}

 
.resend-btn:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

.resend-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.resend-success i {
    font-size: 14px;
}

/* Verify Button */
.btn-verify {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #DF1119 0%, #b40007 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(223, 17, 25, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.btn-verify:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(223, 17, 25, 0.4);
}

.btn-verify:active {
    transform: translateY(0);
}

.btn-verify:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-verify.loading {
    pointer-events: none;
}

/* Back Button */
.btn-back {
    width: 100%;
    padding: 14px;
    background: #f8f9fc;
    color: #1a1d29;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-back:hover {
    border-color: #DF1119;
    background: white;
}

/* Success State */
.otp-success {
    display: none;
}

.otp-success.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-message h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1d29;
    margin-bottom: 8px;
}

.success-message p {
    color: #64748b;
    font-size: 14px;
}

/* Loading Spinner for Verify Button */
.spinner-verify {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Help Text */
.otp-help {
    background: #f8f9fc;
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
}

.otp-help h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1a1d29;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.otp-help h4 i {
    color: #DF1119;
    font-size: 14px;
}

.otp-help ul {
    margin: 0;
    padding-left: 20px;
}

.otp-help li {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Keyboard Helper (Optional) */
.keyboard-helper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.keyboard-helper span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.key-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f8f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #1a1d29;
}

.key-hint kbd {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-family: monospace;
    font-size: 10px;
}

/* Contact Support Link */
.support-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.support-link p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.support-link a {
    color: #DF1119;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.support-link a:hover {
    text-decoration: underline;
}

.support-link i {
    font-size: 14px;
}

/* Mobile Responsive for OTP */
@media (max-width: 480px) {
    .otp-card {
        padding: 28px 20px;
    }

    .otp-icon {
        width: 70px;
        height: 70px;
    }

    .otp-icon i {
        font-size: 32px;
    }

    .otp-header h1 {
        font-size: 22px;
    }

    .otp-input-container {
        gap: 8px;
        margin: 28px 0;
    }

    .otp-input {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 10px;
    }

    .otp-sent-to {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Extra Small Mobile (iPhone SE) */
@media (max-width: 375px) {
    .otp-input-container {
        gap: 6px;
    }

    .otp-input {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* Landscape Mobile for OTP */
@media (max-height: 600px) and (orientation: landscape) {
    .otp-card {
        padding: 20px 24px;
    }

    .otp-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .otp-icon i {
        font-size: 28px;
    }

    .otp-header {
        margin-bottom: 20px;
    }

    .otp-header h1 {
        font-size: 20px;
    }

    .otp-input-container {
        margin: 20px 0;
    }

    .otp-input {
        width: 48px;
        height: 48px;
    }

    .otp-help {
        display: none;
    }
}

/* Tablet View for OTP */
@media (min-width: 481px) and (max-width: 768px) {
    .otp-input-container {
        gap: 14px;
    }

    .otp-input {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
}

/* Auto-fill Animation */
@keyframes autoFill {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.otp-input.auto-filled {
    animation: autoFill 0.3s ease;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Print Styles (Hide OTP inputs when printing) */
@media print {
    .otp-input-container {
        display: none;
    }
}

/* Accessibility Focus Styles */
.otp-input:focus-visible {
    outline: 3px solid #DF1119;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .otp-input {
        border-width: 3px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .otp-icon,
    .otp-input,
    .success-icon {
        animation: none !important;
    }
    
    .otp-input:focus {
        transform: none !important;
    }
}

.resend-btn {
  background-color: #28a745; /* Bootstrap Green */
  border-color: #28a745;
  color: white;
  text-decoration:none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.resend-btn:hover {
  background-color: #28a745;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.resend-btn:active {
  transform: translateY(0);
  box-shadow: none;
}