/* ================================================================
   CHECKLISTS HEADER — Minimal public header for checklists.php
   Created: 2026-02-28
   Purpose: Lightweight header with logo, login bar, no nav clutter
   Light mode only. All selectors timestamped.
   ================================================================ */

/* ===== HEADER WRAPPER ===== */
/* Timestamp: 2026-02-28T12:00:00 */
.pcg_pub_header {
    background: linear-gradient(135deg, #3f6f8a 0%, #2d5a73 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* ===== TOP BAR: Logo + Login link ===== */
/* Timestamp: 2026-02-28T12:01:00 */
.pcg_pub_header_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.pcg_pub_header_logo_link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.pcg_pub_header_logo_img {
    height: 36px;
    width: auto;
}

.pcg_pub_header_logo_text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Right side: login link */
/* Timestamp: 2026-02-28T12:02:00 */
.pcg_pub_header_actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcg_pub_header_login_btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.pcg_pub_header_login_btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.pcg_pub_header_register_btn {
    background: linear-gradient(135deg, #b24131 0%, #7f2d22 100%);
    border: none;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.pcg_pub_header_register_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 65, 49, 0.4);
}

/* ===== HORIZONTAL LOGIN BAR (under header, collapsible) ===== */
/* Timestamp: 2026-02-28T12:03:00 */
.pcg_pub_login_bar {
    background: #2d5a73;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.pcg_pub_login_bar.active {
    max-height: 80px;
    padding: 10px 16px;
}

.pcg_pub_login_bar_inner {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.pcg_pub_login_bar input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: background 0.2s, border-color 0.2s;
}

.pcg_pub_login_bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.pcg_pub_login_bar input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.pcg_pub_login_bar_submit {
    padding: 8px 20px;
    background: linear-gradient(135deg, #68a1be 0%, #3f6f8a 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
}

.pcg_pub_login_bar_submit:hover {
    transform: translateY(-1px);
}

.pcg_pub_login_bar_forgot {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

.pcg_pub_login_bar_forgot:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== MOBILE ADJUSTMENTS ===== */
/* Timestamp: 2026-02-28T12:04:00 */
@media (max-width: 600px) {
    .pcg_pub_header_top {
        padding: 8px 12px;
    }

    .pcg_pub_header_logo_text {
        font-size: 0.9rem;
    }

    .pcg_pub_header_logo_img {
        height: 30px;
    }

    .pcg_pub_header_login_btn {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .pcg_pub_header_register_btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    /* Login bar stacks slightly tighter on small screens */
    .pcg_pub_login_bar.active {
        padding: 8px 12px;
    }

    .pcg_pub_login_bar input {
        padding: 7px 10px;
        font-size: 0.85rem;
    }

    .pcg_pub_login_bar_submit {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    .pcg_pub_login_bar_forgot {
        display: none; /* Save space on very small screens */
    }
}

/* ===== COMPACT SITE STATS STRIP ===== */
/* Timestamp: 2026-02-28T12:30:00 */
.pcg_pub_stats_strip_20260228 {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #2d5a73 0%, #3f6f8a 100%);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.pcg_pub_stat_item_20260228 {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pcg_pub_stat_item_20260228:last-child {
    border-right: none;
}

.pcg_pub_stat_num_20260228 {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #E0A800;
    line-height: 1.2;
}

.pcg_pub_stat_label_20260228 {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    margin-top: 2px;
}

/* Mobile: 2x2 grid for 4 stats */
/* Timestamp: 2026-02-28T12:31:00 */
@media (max-width: 500px) {
    .pcg_pub_stats_strip_20260228 {
        flex-wrap: wrap;
        border-radius: 10px;
    }

    .pcg_pub_stat_item_20260228 {
        flex: 1 1 50%;
        min-width: 0;
        padding: 8px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .pcg_pub_stat_item_20260228:nth-child(2) {
        border-right: none;
    }

    .pcg_pub_stat_item_20260228:nth-child(3),
    .pcg_pub_stat_item_20260228:nth-child(4) {
        border-bottom: none;
    }

    .pcg_pub_stat_num_20260228 {
        font-size: 1.05rem;
    }

    .pcg_pub_stat_label_20260228 {
        font-size: 0.55rem;
    }
}
/* ===== Header Nav Icons (My Garage + Car Show) — 20260228 ===== */
.pcg_pub_header_nav_icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
}

.pcg_pub_header_nav_btn {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pcg_pub_header_nav_btn:hover {
    background: rgba(63, 111, 138, 0.1);
    transform: translateY(-1px);
}

.pcg_pub_header_nav_icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.pcg_pub_header_nav_label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

/* Mobile: show labels next to icons */
@media (max-width: 600px) {
    .pcg_pub_header_nav_label {
        display: inline;
        font-size: 0.7rem;
    }
    .pcg_pub_header_nav_icons {
        gap: 6px;
        margin-left: 8px;
    }
    .pcg_pub_header_nav_btn {
        padding: 5px 6px;
    }
    .pcg_pub_header_nav_icon {
        width: 20px;
        height: 20px;
    }
}
