/* EnjoyTheCup — Base styles */

@font-face {
    font-family: 'Ravie';
    src: url('../fonts/RAVIE.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: #ffbc75;
    color: #212529;
    min-height: 100vh;
}

/* Layout */
.page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1rem;
    background-color: #ff6a00;
    border-bottom: 1px solid #ff4800;
    min-height: 40px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: visible;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
}

.top-bar-title {
    font-family: 'Ravie', cursive;
    font-size: 1.15rem;
    font-weight: normal;
    letter-spacing: 0.08rem;
    color: #fff;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: visible;
    height: 40px;
    margin-left: auto;
}

/* Culture selector: match top-bar element height */
.culture-selector {
    height: 36px !important;
    box-sizing: border-box;
}

.culture-selector .rz-dropdown {
    height: 36px !important;
    min-height: unset !important;
}

.top-bar-home {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 0.5rem;
    text-decoration: none;
    line-height: 1;
    position: relative;
    height: 36px;
    box-sizing: border-box;
}

.top-bar-home img {
    height: 95%;
    width: auto;
}

.top-bar-home:hover {
    background-color: #e4e4e4;
}

/* ── Ball animation ── */
.ball-grow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    z-index: 9999;
    pointer-events: none;
    animation: ballDrop 1.2s cubic-bezier(0.33, 0, 0.66, 1) forwards;
}

@keyframes ballDrop {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    55% {
        transform: translateY(calc(100vh - 60px)) rotate(360deg);
        opacity: 1;
    }
    70% {
        transform: translateY(calc(100vh - 180px)) rotate(450deg);
        opacity: 1;
    }
    85% {
        transform: translateY(calc(100vh - 60px)) rotate(540deg);
        opacity: 1;
    }
    95% {
        transform: translateY(calc(100vh - 100px)) rotate(580deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(calc(100vh - 60px)) rotate(600deg);
        opacity: 0;
    }
}

/* ── User menu dropdown ── */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1;
    height: 36px;
    box-sizing: border-box;
}

.user-menu-toggle:hover {
    background-color: #e4e4e4;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-icon {
    font-size: 1.1rem;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 1200;
    overflow: hidden;
}

.user-menu-item {
    display: block;
    padding: 0.6rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.15s;
}

.user-menu-item:hover {
    background-color: #f0f0f0;
}

.user-menu-item.logout {
    color: #d32f2f;
    border-top: 1px solid #eee;
}

.user-menu-item.logout:hover {
    background-color: #fdecea;
}

.user-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1199;
}

.page-body {
    display: flex;
    flex: 1;
    min-height: 0;
}

.sidebar {
    width: 260px;
    background-color: #ff6a00;
    color: #fff;
    padding: 1rem 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.nav-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.nav-version {
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.main-content {
    flex: 1;
    min-height: 0;
    padding: 0.25rem 2rem 1rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.main-content > h2:first-child {
    margin: 0.25rem 0 0.5rem 0;
}

/* Sidebar navigation */
.sidebar .nav-title {
    padding: 0.75rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 0.5rem;
}

.sidebar .nav-section {
    padding: 0.5rem 1.25rem 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

.sidebar .nav-link {
    display: block;
    padding: 0.5rem 1.25rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: background-color 0.15s;
}

.sidebar .nav-link:hover {
    background-color: #ff4800;
    color: #fff;
}

.sidebar .nav-link.active {
    background-color: #e05e00;
    color: #fff;
    font-weight: 600;
}

.sidebar .nav-link.logout {
    color: #fff;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 0.75rem;
}

.sidebar .nav-link.logout:hover {
    background-color: #cc5500;
    color: #fff;
}

/* Auth pages */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: #ffbc75;
}

.auth-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.auth-card .form-group {
    margin-bottom: 1rem;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.auth-card .btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-card .rz-button {
    background-color: #ff6a00;
    border-color: #ff6a00;
    color: #fff;
}

.auth-card .rz-button:hover {
    background-color: #e65e00;
    border-color: #e65e00;
}

.auth-card .auth-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-card .auth-link a {
    color: #1a73e8;
    text-decoration: none;
}

.auth-card .auth-link a:hover {
    text-decoration: underline;
}

/* Error/info messages */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #fdecea;
    color: #d32f2f;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.alert-warning {
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

/* Dashboard */
.dashboard-intro {
    -webkit-user-select: none;
    user-select: none;
}

.dashboard-welcome {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-card {
    background: #fff;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    user-select: none;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
}

.dashboard-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.dashboard-card-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-card-alert {
    border-color: #f44336;
    background: #fff5f5;
}

.dashboard-card-alert:hover {
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
}

.notice-important {
    font-weight: 600;
    color: #e65100;
}

/* Notices table */
.notices-table {
    table-layout: fixed;
}

.notices-col-date {
    width: 5.5rem;
    white-space: nowrap;
}

.notices-col-importance {
    width: 2rem;
    text-align: center;
}

.notices-col-text {
    text-align: left;
}

.notices-col-action {
    width: 3rem;
}

/* Game Cards */
.game-cards {
    columns: 300px;
    column-gap: 1.5rem;
    margin-top: 1rem;
}

.game-card {
    background: #fff;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

.game-card-clickable {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-card h3 {
    font-size: 1.1rem;
    color: #e65100;
    margin-bottom: 0;
}

/* Game Detail */
.game-detail-card {
    background: #fff;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 90%;
    margin-bottom: 1rem;
}

.game-detail-card h3 {
    font-size: 1.2rem;
    color: #e65100;
    margin: 0;
}

.game-detail-content {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Notice form */
.notice-form {
    background: #fff;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    padding: 1rem;
    max-width: 600px;
}

/* Coming soon */
.coming-soon {
    text-align: center;
    padding: 3rem;
}

.coming-soon h2 {
    font-size: 2rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Pending page */
.pending-page {
    text-align: center;
    padding: 3rem;
}

.pending-page h2 {
    margin-bottom: 1rem;
}

/* Loading spinner */
.loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Validation messages */
.validation-message {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* ── Hamburger toggle (hidden on desktop) ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
    color: #333;
    line-height: 1;
    height: 36px;
    box-sizing: border-box;
}

/* Sidebar overlay (hidden by default) */
.sidebar-overlay {
    display: none;
}

/* ── Responsive card grids ── */
.teams-grid,
.matches-grid,
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* ── Admin Users toolbar ── */
.admin-users-toolbar {
    margin-bottom: 1rem;
}

.admin-users-toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.admin-users-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

/* ── DataGrid responsive wrapper ── */
.datagrid-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── Profile data layout ── */
.profile-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-row {
    display: flex;
    gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Responsive — mòbil (< 768px)                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* Show hamburger */
    .nav-toggle {
        display: block;
    }

    /* Top bar: fixed at top so it stays above the sidebar drawer */
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
    }

    /* Push page-body below the fixed top bar */
    .page-body {
        margin-top: 40px;
    }

    /* Sidebar: drawer overlay on mobile, below the top bar */
    .sidebar {
        position: fixed;
        top: 40px;
        left: 0;
        height: calc(100vh - 40px);
        box-sizing: border-box;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    /* Overlay backdrop, below the top bar */
    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 40px;
        left: 0;
        width: 100%;
        height: calc(100vh - 40px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Main content full width, tighter padding */
    .main-content {
        padding: 0.25rem 1rem 1rem 1rem;
    }

    /* Cards: single column on small screens */
    .teams-grid,
    .matches-grid,
    .prizes-grid {
        grid-template-columns: 1fr;
    }

    /* Auth form: tighter padding on mobile */
    .auth-page {
        padding: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    /* Profile rows: stack vertically */
    .profile-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Matches filters: stack vertically */
    .matches-filters {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Responsive — pantalla estreta (≤ 576px): top bar en dues línies           */
/* ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
    .page-body {
        margin-top: 80px;
    }

    .sidebar {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .sidebar-overlay {
        top: 80px;
        height: calc(100vh - 80px);
    }
}

/* ── Background logo (bottom-right) ── */
.bg-logo {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: auto;
    height: 120px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Simulator (014-simulator)                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Contenidor amb scroll horitzontal i vertical */
.simulator-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    max-width: 100%;
    flex: 1;
    min-height: 0;
}

.simulator-table-wrapper::-webkit-scrollbar {
    height: 8px;
}
.simulator-table-wrapper::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}

.simulator-table {
    border-collapse: collapse;
    border: 2px solid #333;
}

.simulator-table th,
.simulator-table td {
    border: 1px solid #999;
    padding: 0.35rem 0.4rem;
    vertical-align: middle;
}

.simulator-table thead th {
    background-color: #ffae70;
    border-bottom: 2px solid #333;
    vertical-align: middle;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Files alternades amb tons taronja */
.simulator-table tbody tr:nth-child(odd) {
    background-color: #fff5e6;
}

.simulator-table tbody tr:nth-child(even) {
    background-color: #ffe8c8;
}

/* Columna fixa de jugador (sticky a l'esquerra) */
.simulator-sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #fff5e6;
}

.simulator-table thead .simulator-sticky-col {
    z-index: 4;
    background-color: #ffae70;
    text-align: center;
    vertical-align: middle;
}

/* Heretar el fons alternat a la columna sticky */
.simulator-table tbody tr:nth-child(odd) .simulator-sticky-col {
    background-color: #fff5e6;
}

.simulator-table tbody tr:nth-child(even) .simulator-sticky-col {
    background-color: #ffe8c8;
}

.simulator-col-player {
    min-width: 120px;
    max-width: 170px;
}

.simulator-col-match {
    min-width: 140px;
}

/* Capçalera de partit */
.simulator-match-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.simulator-match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #555;
    white-space: nowrap;
}

.simulator-match-date {
    text-align: left;
}

.simulator-match-phase {
    text-align: right;
    font-style: italic;
}

.simulator-team-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.simulator-flag {
    width: 48px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.simulator-team-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

/* Camp de text numèric per introduir gols (1 dígit) */
.simulator-score-input {
    width: 1.8rem;
    height: 1.5rem;
    padding: 0.1rem;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #999;
    border-radius: 3px;
    flex-shrink: 0;
    -moz-appearance: textfield;
}

.simulator-score-input::-webkit-inner-spin-button,
.simulator-score-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Fila de jugador: columna jugador ── */
.simulator-player-info {
    display: flex;
    flex-direction: column;
}

/* Franja superior: #posició + nom, alineat esquerra */
.simulator-player-top {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-size: 0.85rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.simulator-player-pos {
    color: #777;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.simulator-player-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Franja inferior: punts + indicador, alineat dreta */
.simulator-player-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0.3rem;
    padding-top: 0.15rem;
    font-size: 0.82rem;
}

.simulator-player-score {
    color: #555;
    font-weight: 600;
}

/* ── Cel·la de pronòstic per partit ── */
.simulator-match-cell {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
}

/* Secció esquerra: icona + punts del partit */
.simulator-cell-pts {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 40px;
    flex-shrink: 0;
    border-right: 1px solid rgba(0,0,0,0.12);
    padding-right: 0.3rem;
}

.simulator-accuracy-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Secció dreta: pronòstics (dues files) */
.simulator-cell-preds {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}

.simulator-cell-pred {
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
}

.simulator-cell-team {
    white-space: nowrap;
    font-size: 0.82rem;
}

.simulator-cell-score {
    font-weight: 600;
    min-width: 14px;
    text-align: right;
}

/* Fila de l'usuari actual */
.simulator-current-user {
    background-color: #c8d8f0 !important;
}

.simulator-current-user .simulator-sticky-col {
    background-color: #c8d8f0 !important;
}

/* Indicadors de canvi de posició */
.sim-change-up {
    color: green;
    font-weight: bold;
    font-size: 0.82rem;
}

.sim-change-down {
    color: red;
    font-weight: bold;
    font-size: 0.82rem;
}

.sim-change-same {
    color: #c8a800;
    font-weight: bold;
    font-size: 0.82rem;
}

/* ── Ranking: Capçalera del grid ── */
.ranking-table thead th {
    background-color: #ffae70 !important;
    border-bottom: 2px solid #333 !important;
}

/* ── Ranking: Files alternades (tons taronja com el simulador) ── */
tr.ranking-row-odd,
tr.ranking-row-odd td {
    background-color: #fff5e6 !important;
}

tr.ranking-row-even,
tr.ranking-row-even td {
    background-color: #ffe8c8 !important;
}

/* ── Ranking: Fila de l'usuari actual ── */
tr.ranking-current-user,
tr.ranking-current-user td {
    background-color: #e3f2fd !important;
    font-weight: bold;
}

/* ── Ranking: Columna sticky jugador – vora dreta separadora ── */
.ranking-table .simulator-sticky-col {
    border-right: 2px solid #999 !important;
}

tr.ranking-current-user .simulator-sticky-col {
    background-color: #e3f2fd !important;
}

.ranking-col-stat {
    min-width: 45px;
    max-width: 55px;
}

.ranking-col-points {
    min-width: 85px;
    max-width: 100px;
}

.ranking-table td.simulator-col-player {
    display: flex;
    align-items: center;
    gap: 0;
}

.ranking-player-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.ranking-player-score {
    white-space: nowrap;
    margin-left: auto;
    padding-left: 6px;
    font-weight: bold;
}

/* ── Ranking: Separadors de columna ── */
.ranking-table th,
.ranking-table td {
    border-left: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
}

/* ── Matches: Color de la data segons estat ── */
.match-date-open {
    color: #2e7d32;
}

.match-date-closed {
    color: #c62828;
}

.match-date-result {
    color: #000;
}

/* ── Matches/Prizes: Fons groc urgent (< 24h deadline, sense predicció) ── */
.match-urgent,
.prize-urgent {
    background-color: rgba(255, 235, 59, 0.25) !important;
}

/* Capçaleres sticky urgents: fons opac per evitar transparència al fer scroll */
.simulator-table thead th.match-urgent,
.simulator-table thead th.prize-urgent {
    background-color: #ffbd63 !important;
}

/* ── Matches: Rectangle de resultat a la capçalera ── */
.matches-score-display {
    display: inline-block;
    width: 1.8rem;
    text-align: center;
    font-weight: bold;
    background-color: inherit;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.9rem;
    min-height: 1.4rem;
    line-height: 1.4rem;
}


