/* ============================================================
   header.css — Shared header-bar styles across all pages
   ============================================================ */

.header-bar {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-bar .header-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.header-site-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.header-site-name-full {
    display: none;
}

.header-site-name-short {
    display: inline;
}

@media (min-width: 600px) {
    .header-site-name-full {
        display: inline;
    }

    .header-site-name-short {
        display: none;
    }
}

.header-bar .back-link {
    color: #417690;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.header-bar .back-link:hover {
    background: #417690;
    color: #fff;
    border-color: #417690;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #417690;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.user-icon:hover {
    background: #2c5f7c;
}

.activity-btn {
    background: none;
    border: 1px solid #ddd;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #417690;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.activity-btn:hover {
    background: #417690;
    color: #fff;
    border-color: #417690;
}

.login-btn {
    background: #1a73e8;
    color: #fff;
    border: 1px solid #1a73e8;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.login-btn:hover {
    background: #155db5;
    color: #fff;
    border-color: #155db5;
}

.plans-btn {
    background: none;
    border: 1px solid #ddd;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #417690;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.plans-btn:hover {
    background: #417690;
    color: #fff;
    border-color: #417690;
}
