/**
 * Header Styles
 * CSS unificado do header para todas as páginas de check-in
 */

/* Header Bar */
.header-bar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    flex-shrink: 0;
}

/* Logo Section */
.header-logo-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-logo-wrapper a {
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.header-logo-wrapper a:hover {
    opacity: 0.8;
}

.header-logo {
    max-height: 45px;
    width: auto;
    cursor: pointer;
}

/* Reservation Info */
.header-reservation-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-left: 0.75rem;
}

.header-reservation-item {
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
}

/* Title Section */
.header-title {
    text-align: center;
    flex: 1;
    margin: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.header-title h1 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}

.header-title h2 {
    font-size: 0.85rem;
    margin: 0;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Actions Section */
.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-bar {
        padding: 0.75rem 1rem;
        min-height: 60px;
    }

    .header-logo {
        max-height: 35px;
    }

    .header-reservation-item {
        font-size: 0.7rem;
    }

    .header-reservation-info {
        margin-left: 0.5rem;
    }

    .header-title h1 {
        font-size: 1.1rem;
    }

    .header-title h2 {
        font-size: 0.75rem;
    }

    .header-actions {
        min-width: 80px;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .header-bar {
        padding: 0.5rem 0.75rem;
    }

    .header-reservation-item {
        font-size: 0.65rem;
    }

    .header-reservation-info {
        margin-left: 0.35rem;
        gap: 0.1rem;
    }

    .header-title {
        margin: 0 0.5rem;
    }

    .header-title h1 {
        font-size: 1rem;
    }

    .header-title h2 {
        font-size: 0.7rem;
    }
}

/* Very small screens - manter título sempre visível */
@media (max-width: 400px) {
    .header-reservation-item {
        font-size: 0.6rem;
    }

    .header-title h1 {
        font-size: 0.9rem;
    }

    .header-title h2 {
        display: none; /* Esconder subtítulo apenas em telas muito pequenas */
    }
}

/* Small height screens */
@media (max-height: 700px) {
    .header-bar {
        min-height: 50px;
        padding: 0.5rem 1rem;
    }

    .header-logo {
        max-height: 30px;
    }

    .header-title h1 {
        font-size: 1.1rem;
    }

    .header-title h2 {
        font-size: 0.75rem;
    }
}
