:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --darkblue: #0b1120;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --font-sans: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body.forgot-page {
    background-color: var(--darkblue);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    animation: fadeInPage 0.8s ease-in-out forwards;
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
        background-color: #000;
    }

    100% {
        opacity: 1;
        background-color: var(--darkblue);
    }
}

@keyframes drift-slow {
    0% {
        transform: translate(-50%, -50%) translate(0px, 0px);
    }

    50% {
        transform: translate(-50%, -50%) translate(-30px, 40px);
    }

    100% {
        transform: translate(-50%, -50%) translate(0px, 0px);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.hidden {
    display: none !important;
}

.w-full {
    width: 100%;
}

.bg-blur-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28rem;
    height: 28rem;
    background: rgba(14, 165, 233, 0.4);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    animation: drift-slow 20s ease-in-out infinite;
}

.main-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.main-card {
    width: 100%;
    max-width: 28rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.7);
    backdrop-filter: blur(4px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.loading-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.loading-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
}

.card-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-btn {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: 0.3s;
    width: 2rem;
}

.back-btn:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.logo-link {
    display: flex;
    justify-content: center;
}

.card-logo {
    height: 2.5rem;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.spacer {
    width: 2rem;
}

.header-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.step-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.4s ease;
    font-size: 0.875rem;
}

.step-circle.pending {
    background-color: #1f2937;
    color: #6b7280;
    border: 1px solid #4b5563;
}

.step-circle.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
    border: none;
}

.step-circle.completed {
    background-color: #22c55e;
    color: white;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    border: none;
}

.step-line {
    width: 2.5rem;
    height: 0.25rem;
    margin: 0 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.4s ease;
}

@media(min-width: 640px) {
    .step-line {
        width: 4rem;
    }
}

.step-line.pending {
    background-color: #374151;
}

.step-line.active {
    background-color: var(--primary);
}

.alert-box {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.step-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.5s;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.center-text {
    text-align: center;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.glass-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.glass-input.padding-right {
    padding-right: 2.5rem;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    font-weight: bold;
    padding-left: 1rem !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.eye-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: 0.3s;
}

.eye-btn:hover {
    color: white;
}

.btn-primary {
    background: var(--primary);
    color: white;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-success {
    background: #22c55e;
    color: white;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background: #16a34a;
}

.instruction-text {
    font-size: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    text-align: center;
}

.account-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 10rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.5);
    border-radius: 4px;
}

.account-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.account-option:hover {
    background: #1f2937;
}

.radio-input {
    margin-right: 0.75rem;
    accent-color: var(--primary);
}

.account-name {
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-name .icon {
    color: var(--primary);
}

.otp-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.otp-icon {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}