/* =========================
   HEADER / BRANDING
========================= */

.container-header {
    max-height: 140px;
    display: flex;
    align-items: center;
}

.container-header .navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 16px;
}

.container-header .brand-logo {
    display: inline-flex;
    align-items: center;
}

.container-header .navbar-brand img {
    max-height: 120px;
    width: auto;
    height: auto;
}

.club-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Mobile header */
@media (max-width: 768px) {
    .container-header {
        height: 100px;
    }

    .container-header .navbar-brand img {
        max-height: 80px;
    }

    .club-title {
        font-size: 1.2rem;
    }
}


/* =========================
   QUICK LINKS DASHBOARD
========================= */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 12px 0;
}

.quick-card {
    display: block;
    padding: 16px;
    background: var(--headerbg);
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    color: #fff;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border-color: rgba(255,255,255,0.3);
}

.quick-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.quick-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1f2937;   /* dark grey */
}

.quick-sub {
    font-size: 0.85rem;
    opacity: 0.8;
    color: #6b7280;   /* lighter grey */
}


/* =========================
   DASHBOARD BAR (HEADER STRIP)
========================= */

.dashboard-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--headerbg);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    gap: 20px;
}

/* LEFT SIDE */
.dashboard-left {
    display: flex;
    flex-direction: column;
}

.dashboard-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.dashboard-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

/* RIGHT SIDE */
.dashboard-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dash-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.15s ease;
}

.dash-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
}


/* MOBILE DASHBOARD */
@media (max-width: 768px) {
    .dashboard-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-right {
        width: 100%;
        justify-content: flex-start;
    }
}

.league-page {
    margin: 20px 0;
}

.league-intro h2 {
    font-size: 1.6rem;
    color: var(--headerbg);
    margin-bottom: 8px;
}

.league-intro p {
    opacity: 0.85;
    margin-bottom: 18px;
}

.league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.league-card {
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.league-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.league-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #010156;
}

.league-body p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: #333;
}

.league-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #010156;
    text-decoration: none;
}

.league-link:hover {
    text-decoration: underline;
}

.league-banner {
    background: var(--headerbg);
    color: #fff;
    padding: 28px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.league-banner-inner {
    max-width: 1000px;
}

.league-banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.league-banner-sub {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.4;
}

/* QUICK LINKS — stable readable base */
.dash-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 8px;
    text-decoration: none;

    /* IMPORTANT: force readable text */
    color: #010156 !important;

    font-weight: 600;
    font-size: 0.95rem;

    border: 1px solid #e3e7ef;
    transition: all 0.15s ease;
}

/* icon inherits same colour */
.dash-item span,
.dash-item i {
    color: inherit;
}

/* hover state */
.dash-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-color: #010156;
    color: #010156;
}

.hero-bg {
    width: 100%;
    height: 320px;
    background-image: url('/images/homepage-hero-image.png');
    background-size: cover;
    background-position: center;
}
