/* forgot.css - password reset page specific styles */

.logo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-header h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.rotating-dot {
    display: inline-block;
    font-size: 2.5rem;
    color: var(--violet);
    animation: rotateDot 2s ease-in-out infinite;
}

@keyframes rotateDot {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

.tagline {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Info message */
.info-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--violet);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-message i {
    color: var(--violet);
    font-size: 1.1rem;
    margin-top: 0.125rem;
}

.info-message p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Form helper text */
.form-helper {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.3;
}

/* Back link */
.back-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.back-link i {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.back-link a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.back-link a:hover {
    color: var(--violet);
    text-decoration: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-secondary);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 350px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--border);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-icon i {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.modal-content h3 {
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-small {
    font-size: 0.75rem !important;
    color: var(--text-secondary);
}

.modal-small a {
    color: var(--violet);
}

.modal-content .btn {
    margin-top: 0.5rem;
}

/* Custom Illustrations */
.illustrations {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.illustration {
    background-color: var(--bg-secondary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--violet);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.illustration i {
    transition: transform 0.3s ease;
}

.illustration:hover {
    transform: translateY(-5px);
    border-color: var(--violet);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.illustration:hover i {
    transform: scale(1.1);
}

/* Floating animations */
.floating-1 { animation: float 3s ease-in-out infinite; }
.floating-2 { animation: float 3.5s ease-in-out infinite 0.5s; }
.floating-3 { animation: float 4s ease-in-out infinite 1s; }
.floating-4 { animation: float 2.8s ease-in-out infinite 0.3s; }
.floating-5 { animation: float 3.2s ease-in-out infinite 0.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Speech bubbles */
.speech-bubble {
    position: absolute;
    background-color: var(--violet);
    color: white;
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    white-space: nowrap;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.illustration:hover .speech-bubble {
    opacity: 1;
}

.bubble-1 { animation: bounce 2s ease-in-out infinite; }
.bubble-2 { animation: bounce 2.5s ease-in-out infinite 0.5s; }
.bubble-3 { animation: bounce 2.2s ease-in-out infinite 1s; }
.bubble-4 { animation: bounce 2.8s ease-in-out infinite 0.3s; }
.bubble-5 { animation: bounce 2.4s ease-in-out infinite 0.8s; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .illustrations {
        gap: 0.8rem;
    }
    
    .illustration {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .speech-bubble {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
        white-space: nowrap;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .logo-header h1 {
        font-size: 2rem;
    }
    
    .rotating-dot {
        font-size: 2rem;
    }
    
    .info-message {
        padding: 0.6rem 0.8rem;
    }
    
    .info-message p {
        font-size: 0.75rem;
    }
}