/* =============================================
   ALCANCIA - RECOVER PASSWORD PAGE
   ============================================= */

.recover-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a1a;
    overflow: hidden;
    padding: 40px 20px;
}

/* --- Background --- */
.recover-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.recover-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.recover-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: recoverOrbFloat 12s ease-in-out infinite;
}

.recover-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -15%;
    right: 10%;
    animation-delay: 0s;
}

.recover-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    bottom: -10%;
    left: 5%;
    animation-delay: -5s;
}

@keyframes recoverOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.04); }
    66% { transform: translate(-15px, 15px) scale(0.96); }
}

/* --- Container & Card --- */
.recover-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.recover-card {
    background: rgba(14, 14, 36, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(99, 102, 241, 0.05);
    text-align: center;
}

/* Logo */
.recover-logo {
    margin-bottom: 28px;
}

.recover-logo img {
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.2));
}

/* Icon */
.recover-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

/* Text */
.recover-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.recover-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Form */
.recover-form .form-group {
    margin-bottom: 24px;
    text-align: left;
}

.recover-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.recover-form .form-group label i {
    font-size: 0.8rem;
    color: #818cf8;
}

.recover-form .form-group input {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0 18px;
    font-size: 0.95rem;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.recover-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.recover-form .form-group input:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.recover-form .form-group input:focus {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Button */
.btn-recover {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    font-family: inherit;
}

.btn-recover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-recover:hover::before {
    opacity: 1;
}

.btn-recover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

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

.btn-recover span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-recover .loading-spinner {
    display: none;
    position: relative;
    z-index: 1;
}

.btn-recover[disabled] {
    opacity: 0.7;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 28px;
}

.back-link:hover {
    color: #a78bfa;
    gap: 12px;
}

/* Footer */
.recover-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.recover-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
}

.recover-footer span i {
    color: #22c55e;
    font-size: 0.7rem;
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .recover-card {
        padding: 36px 24px;
    }

    .recover-card h1 {
        font-size: 1.3rem;
    }

    .recover-form .form-group input {
        height: 46px;
        font-size: 0.9rem;
    }

    .btn-recover {
        height: 48px;
        font-size: 0.95rem;
    }
}
