/* Page-specific styles extracted from app/Views/auth/signin.php */

.auth-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(13, 33, 55, 0.4);
    border: 1px solid rgba(250, 248, 245, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(196, 30, 58, 0.1);
    border-color: rgba(196, 30, 58, 0.3);
    transform: translateY(-4px);
}

.stat-emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.stat-card strong {
    color: var(--milk);
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0;
}

.activity-preview {
    background: rgba(196, 30, 58, 0.05);
    border: 1px solid rgba(196, 30, 58, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.activity-preview h4 {
    color: var(--milk);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

.activity-bars {
    align-items: flex-end;
    display: flex;
    gap: 0.75rem;
    height: 80px;
    margin-bottom: 1rem;
}

.activity-bar {
    animation: barPulse 2s ease-in-out infinite;
    background: rgba(196, 30, 58, 0.2);
    border-radius: 4px 4px 0 0;
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

.activity-bar.active {
    animation: barGlow 1.5s ease-in-out infinite;
    background: var(--luxury-red);
}

.activity-bar:nth-child(1) {
    animation-delay: 0s;
}

.activity-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.activity-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.activity-bar:nth-child(4) {
    animation-delay: 0.6s;
}

.activity-bar:nth-child(5) {
    animation-delay: 0.8s;
}

.bar-label {
    bottom: -20px;
    color: var(--text-muted);
    font-size: 0.6875rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}

.activity-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    text-align: center;
}

.activity-note strong {
    color: var(--luxury-red-light);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
}

.alert {
    align-items: center;
    animation: slideDown 0.3s ease;
    border-radius: var(--radius-md);
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
}

.social-btn {
    align-items: center;
    background: rgba(250, 248, 245, 0.03);
    border: 1px solid rgba(250, 248, 245, 0.2);
    color: var(--milk);
    cursor: pointer;
    display: flex;
    font-size: 0.875rem;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(250, 248, 245, 0.08);
    border-color: var(--luxury-red);
    transform: translateY(-2px);
}

.input-wrapper {
    align-items: center;
    display: flex;
    position: relative;
    transition: all 0.3s ease;
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    opacity: 0.6;
    padding: 0;
    position: absolute;
    right: 1rem;
    transition: opacity 0.3s ease;
}

.toggle-icon {
    font-size: 1.125rem;
}

.form-options {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    align-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--luxury-red);
    height: 16px;
    width: 16px;
}

.forgot-link {
    color: var(--luxury-red-light);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--gold-accent);
}

.signin-btn {
    background: var(--gradient-luxury);
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.signin-btn:hover {
    box-shadow: var(--glow-red);
    transform: translateY(-2px);
}

.btn-text, .btn-loader {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.help-card {
    align-items: center;
    background: rgba(13, 33, 55, 0.4);
    border: 1px solid rgba(250, 248, 245, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.help-card:hover {
    border-color: rgba(196, 30, 58, 0.3);
}

.help-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.help-card strong {
    color: var(--milk);
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.help-card p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0;
}

.help-card a {
    color: var(--luxury-red-light);
    text-decoration: underline;
}

.notification {
    border-radius: var(--radius-md);
    color: var(--milk);
    font-size: 0.9375rem;
    font-weight: 500;
    max-width: 400px;
    padding: 1rem 1.5rem;
    position: fixed;
    right: 20px;
    top: 20px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification-success {
    background: rgba(72, 199, 142, 0.95);
}

@media (max-width: 968px) {

    .auth-stats {
        grid-template-columns: 1fr;
    }

    .form-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

}

@media (max-width: 480px) {

    .form-header h2 {
        font-size: 1.5rem;
    }

    .help-card {
        flex-direction: column;
        text-align: center;
    }

}


/* Animations */

@keyframes barPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes barGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(196, 30, 58, 0.3); }
    50% { box-shadow: 0 0 20px rgba(196, 30, 58, 0.6); }
}
