/* =========================================================
   MAVEX Team Championship
   Front-end styling
   Bootstrap 5 alapú template kiegészítése
   ========================================================= */


/* ---------------------------------------------------------
   Fo doboz
   --------------------------------------------------------- */

.mavex-matches {
    color: #12345b;
    background: #fffdf7;
    border: 1px solid #f0d58b;
    border-radius: 0.75rem;
    padding: 0.75rem;
    box-shadow: 0 0.2rem 0.75rem rgba(18, 52, 91, 0.08);
}


/* ---------------------------------------------------------
   Heti fejléc
   --------------------------------------------------------- */

.mavex-matches-week {
    background: linear-gradient(
        135deg,
        #fff8df 0%,
        #fff1c4 100%
    );
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    text-align: center;
}

.mavex-matches-week-date {
    color: #174b82;
    font-size: 1.15rem !important;
    line-height: 1.2;
}

.mavex-matches-week-title {
    color: #173c67;
    font-size: 1rem;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.mavex-matches-header {
    overflow: hidden;
    border-radius: 0.75rem;
}

.mavex-matches-header img {
    display: block;
    width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   Nap blokk
   --------------------------------------------------------- */

.mavex-matches-day {
    margin-bottom: 1rem !important;
}


/* ---------------------------------------------------------
   Nap fejléc
   --------------------------------------------------------- */

.mavex-matches-day-header {
    background: linear-gradient(
        135deg,
        #fff7d9 0%,
        #ffedbd 100%
    );

    border-radius: 0.7rem;

    padding: 0.65rem 0.85rem !important;

    color: #174b82;

    box-shadow: 0 0.1rem 0.25rem rgba(18, 52, 91, 0.04);
}

.mavex-matches-day-date {
    color: #174b82;
    font-size: 1rem !important;
    line-height: 1.25;
}

.mavex-matches-day-separator {
    color: #174b82;
    font-size: 1rem;
    opacity: 0.8;
}

.mavex-matches-day-name {
    color: #174b82;
    font-size: 1rem !important;
}


/* ---------------------------------------------------------
   Mérkozés / csapat sor
   --------------------------------------------------------- */

.mavex-matches-item {
    min-height: 3rem;

    padding-left: 0.85rem !important;
    padding-right: 0.2rem !important;

    border-bottom: 1px solid rgba(18, 52, 91, 0.12);
}

.mavex-matches-item:last-child {
    border-bottom: 0;
}

.mavex-matches-team {
    color: #102f55;

    font-size: 1rem;
    font-weight: 500;

    line-height: 1.3;
}


/* ---------------------------------------------------------
   Asztalszám
   --------------------------------------------------------- */

.mavex-matches-tables {
    min-width: 4.8rem;

    padding: 0.45rem 0.7rem;

    border-radius: 1rem;

    background: #dcecfb;

    color: #14508d;

    font-size: 0.95rem;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    box-shadow: inset 0 0 0 1px rgba(20, 80, 141, 0.03);
}


/* ---------------------------------------------------------
   Bootstrap mobil töréspont
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .mavex-matches {
        padding: 0.6rem;
    }

    .mavex-matches-week {
        padding: 0.75rem 0.8rem;
    }

    .mavex-matches-week-date {
        font-size: 1rem !important;
    }

    .mavex-matches-week-title {
        font-size: 0.9rem;
    }

    .mavex-matches-day-header {
        padding: 0.55rem 0.7rem !important;
    }

    .mavex-matches-day-date,
    .mavex-matches-day-name {
        font-size: 0.9rem !important;
    }

    .mavex-matches-item {
        min-height: 2.75rem;

        padding-left: 0.7rem !important;
    }

    .mavex-matches-team {
        font-size: 0.9rem;
    }

    .mavex-matches-tables {
        min-width: 4.3rem;

        padding: 0.4rem 0.6rem;

        font-size: 0.85rem;
    }
}

