/* ============================================================
   RESET PASSWORD - MODERN MINIMAL STYLES
   ============================================================ */

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

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #080c08;
    min-height: 100vh;
}

/* ===== GLOW EFFECTS ===== */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    background: #22c55e;
}
.glow-2 {
    width: 350px;
    height: 350px;
    bottom: -150px;
    left: -150px;
    background: #16a34a;
}

/* ===== CARD ===== */
.card {
    background: #0e160e;
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: #000;
}
.logo span {
    color: #fff;
    font-weight: 800;
    font-size: 22px;
}
.logo .text-green-400 {
    color: #22c55e;
}

/* ===== STEP INDICATOR ===== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}
.step-dot.active {
    background: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
    transform: scale(1.2);
}
.step-dot.completed {
    background: #22c55e;
}
.step-line {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}
.step-line.completed {
    background: #22c55e;
}
.step-label {
    text-align: center;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* ===== STEP CONTENT ===== */
.step-content {
    display: none;
    animation: fadeSlide 0.4s ease;
}
.step-content.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 24px;
}
.step-header i {
    font-size: 32px;
    color: #22c55e;
    display: block;
    margin-bottom: 8px;
}
.step-header h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}
.step-header p {
    color: #6b7280;
    font-size: 13px;
    margin-top: 2px;
}
.step-header strong {
    color: #22c55e;
}

/* ===== FORM ELEMENTS ===== */
.label {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}
.label i {
    color: #22c55e;
    margin-right: 4px;
}

.input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}
.input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
    background: rgba(255, 255, 255, 0.05);
}
.input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}
.input.success {
    border-color: #22c55e;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: 10px;
}
.info-box i {
    font-size: 16px;
    flex-shrink: 0;
}
.info-box span {
    color: #6b7280;
    font-size: 12px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}
.btn-primary:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.25);
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    padding: 12px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.back-link {
    display: block;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.back-link:hover {
    color: #22c55e;
}

/* ===== OTP INPUT ===== */
.otp-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 8px 0 12px;
}
.otp-input {
    width: 44px;
    height: 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}
.otp-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}
.otp-input.filled {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.04);
}
.otp-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* ===== RESEND ===== */
.resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
}
.resend-row button {
    background: none;
    border: none;
    color: #22c55e;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.resend-row button:hover:not(:disabled) {
    background: rgba(34, 197, 94, 0.08);
}
.resend-row button:disabled {
    color: #4a5a4a;
    cursor: not-allowed;
}

/* ===== PASSWORD STRENGTH ===== */
.strength-bar {
    height: 3px;
    border-radius: 4px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.strength-bar.weak {
    background: #ef4444;
    width: 33%;
}
.strength-bar.medium {
    background: #f59e0b;
    width: 66%;
}
.strength-bar.strong {
    background: #22c55e;
    width: 100%;
}

.strength-text {
    color: #6b7280;
    font-size: 11px;
    margin-top: 4px;
}
.strength-text.weak {
    color: #ef4444;
}
.strength-text.medium {
    color: #f59e0b;
}
.strength-text.strong {
    color: #22c55e;
}

.confirm-text {
    color: #6b7280;
    font-size: 11px;
    margin-top: 4px;
}
.confirm-text.success {
    color: #22c55e;
}
.confirm-text.error {
    color: #ef4444;
}

/* ===== FOOTER ===== */
.footer-text {
    text-align: center;
    color: #4a5a4a;
    font-size: 11px;
    margin-top: 20px;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 13px;
    z-index: 9999;
    animation: toastIn 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    max-width: 90%;
}
.toast.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #000;
    box-shadow: 0 12px 50px rgba(34, 197, 94, 0.25);
}
.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 12px 50px rgba(239, 68, 68, 0.25);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .card {
        padding: 28px 20px;
    }
    .otp-input {
        width: 38px;
        height: 46px;
        font-size: 18px;
    }
    .step-header h2 {
        font-size: 18px;
    }
    .btn-primary {
        font-size: 14px;
        padding: 12px;
    }
}