/* Shared Authentication Header Styles */
/* Used across all login/registration forms for consistent branding */

/* Header container */
.buggy-auth-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Main title - "Let's X" format */
.buggy-auth-header .buggy-auth-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    color: var(--text-dark, #1a1a1a);
    line-height: 0.9;
}

/* Subtitle/tagline */
.buggy-auth-header .buggy-auth-subtitle {
    color: var(--text-light, #666666);
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Animated underline for subtitle */
.buggy-auth-header .buggy-auth-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color, #2ac8c8);
    transform: scaleX(0);
    transform-origin: left;
    animation: drawLine 1.5s ease-out 1.2s forwards;
}

/* Line drawing animation */
@keyframes drawLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Example usage for different apps:
   Login: Let's<br>Buggy
   Register: Let's<br>Create
   Driver: Let's<br>Drive
   School: Let's<br>Learn
   Athletic: Let's<br>Win
*/

/* Responsive Branding Elements */
/* Mobile: Show heart icon, hide heartbeat bar */
@media (max-width: 768px) {
    .buggy-heartbeat-bar {
        display: none !important;
    }
    
    .buggy-heart-branding {
        display: block;
    }
}

/* Desktop: Show heartbeat bar, hide heart icon */
@media (min-width: 769px) {
    .buggy-heart-branding {
        display: none !important;
    }
    
    .buggy-heartbeat-bar {
        display: block;
    }
}