/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    color: #2c3e50;
    background: #fff;
    line-height: 1.5;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

a {
    color: #2c3e50;
    text-decoration: none;
}

h1:focus {
    outline: none;
}

/* ===== App Layout ===== */
#app-root {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* ===== Top Bar (auth info) ===== */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar .tenant-name {
    margin-right: auto;
    font-weight: 600;
    color: #2c3e50;
}

.top-bar .user-name {
    margin-right: 0.75rem;
}

.top-bar .logout-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    transition: background-color 0.2s;
}

.top-bar .logout-btn:hover {
    background-color: #f5f5f5;
}

/* ===== Tournament Header ===== */
.tournament-header {
    text-align: left;
    padding: 1rem 1rem 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.round-status {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.round-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

.round-badge.in-progress {
    background-color: #dc3545;
}

.round-badge.completed {
    background-color: #28a745;
}

.round-badge.scheduled {
    background-color: #6c757d;
}

.status-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.tournament-name {
    margin: 0.25rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.course-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.weather-info {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.weather-icon {
    margin-right: 0.4rem;
    font-size: 1.2em;
}

/* ===== Main Navigation ===== */
.main-nav-header {
    padding: 0;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 0;
    margin-top: 1rem;
}

.main-nav {
    text-align: left;
    border-bottom: 4px solid #e0e0e0;
    position: relative;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav li {
    display: inline-block;
    margin-right: 24px;
    padding-bottom: 0.8rem;
    position: relative;
    font-weight: 600;
    line-height: 1.1;
    font-size: 1.2rem;
}

.main-nav li a {
    text-decoration: none;
    color: #9e9e9e;
    padding-bottom: 8px;
    transition: color 0.3s;
    font-weight: 600;
}

.main-nav li.active a {
    color: #2c3e50;
}

.main-nav li::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: transparent;
    z-index: 1;
}

.main-nav li.active::after {
    background-color: #2c3e50;
}

/* ===== Admin Dropdown ===== */
.admin-menu {
    margin-left: auto;
    margin-right: 0;
    position: relative;
}

.admin-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    color: #9e9e9e;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s;
}

.admin-menu.active .admin-toggle,
.admin-menu.open .admin-toggle {
    color: #2c3e50;
}

.admin-toggle:hover {
    color: #2c3e50;
}

.admin-gear {
    font-size: 1.1rem;
}

.admin-caret {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.admin-menu.open .admin-caret {
    transform: rotate(180deg);
}

.admin-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.admin-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
    min-width: 160px;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.admin-dropdown li {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.admin-dropdown li::after {
    display: none;
}

.admin-dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s;
}

.admin-dropdown li a:hover {
    background-color: #f5f5f5;
}

.admin-dropdown li.active a {
    color: #2c3e50;
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .main-nav ul {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin-bottom: -4px;
    }

    .main-nav li {
        margin-right: 16px;
    }

    .admin-dropdown {
        right: -0.5rem;
    }
}

/* ===== Main Content ===== */
main {
    padding: 1rem;
}

@media (max-width: 768px) {
    main {
        padding: 0.5rem;
    }
}

/* ===== Shared Table Styles ===== */
.table-responsive {
    overflow-x: auto;
    position: relative;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.75rem;
    border-style: none;
    margin-bottom: 1.5rem;
}

.data-table th {
    padding: 8px;
    text-align: center;
    font-weight: bold;
    color: #9e9e9e;
    text-transform: uppercase;
    background-color: white;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #000;
}

.data-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.data-table th.sortable:hover {
    background-color: #f5f5f5;
}

.data-table td {
    padding: 8px;
    text-align: center;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ddd;
}

.data-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
}

.data-table tfoot td {
    font-weight: bold;
    border-top: 2px solid #000;
    border-bottom: none;
}

.data-table .text-left {
    text-align: left;
}

.data-table .text-right {
    text-align: right;
}

.data-table .player-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.data-table .player-row:hover {
    background-color: #f5f5f5;
}

/* ===== Score Coloring =====
   Traditional scorecard convention: under-par is red (birdies/eagles draw the eye),
   over-par is plain text. Applied app-wide — leaderboard, scorecard +/- columns,
   skins detail, etc. Even-par gets a muted green so a score of "E" still reads as
   "even" rather than blending with par. */
.under-par {
    color: #dc3545;
}

.even-par {
    color: #2c3e50;
}

.over-par {
    color: inherit;
}

.has-money {
    font-weight: bold;
}

/* ===== Position Arrows ===== */
.arrow {
    display: inline-flex;
    align-items: center;
}

.arrow.up {
    color: green;
}

.arrow.down {
    color: red;
}

.arrow .material-symbols-outlined {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== Status Badges ===== */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.status-badge.active {
    background-color: #28a745;
}

.status-badge.setup {
    background-color: #17a2b8;
}

.status-badge.finished {
    background-color: #ffc107;
    color: #2c3e50;
}

.status-badge.archived,
.status-badge.default {
    background-color: #6c757d;
}

.status-badge.in-progress {
    background-color: #dc3545;
}

.status-badge.scheduled {
    background-color: #6c757d;
}

.status-badge.inprogress {
    background-color: #dc3545;
}

.calc-done {
    color: #28a745;
    font-weight: 600;
}

.calc-pending {
    color: #6c757d;
    font-style: italic;
}

/* ===== Round Pills ===== */
.round-pills {
    margin-bottom: 1.5rem;
}

.round-pills ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.round-pills li {
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.round-pills li.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.round-pills li:hover:not(.active) {
    background-color: #f5f5f5;
    border-color: #aaa;
}

@media (max-width: 768px) {
    .round-pills li {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ===== Auth & Form Styles ===== */
.auth-container {
    max-width: 400px;
    margin: 3rem auto;
    padding: 2rem;
}

.auth-card {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
    color: #2c3e50;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c3e50;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    text-align: center;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #2c3e50;
    color: white;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background-color: #1a252f;
}

.btn-outline {
    background: transparent;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

.btn-outline:hover:not(:disabled) {
    background-color: #f5f5f5;
}

.btn-small {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.form-footer a {
    color: #2c3e50;
    font-weight: 600;
    text-decoration: underline;
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-info {
    background: #fffbea;
    border: 1px solid #f0d35a;
    color: #7a5c00;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.form-hint {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0.5rem 0 0;
}

.form-hint a {
    color: #2c3e50;
    text-decoration: underline;
}

.scoring-mode-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-left: 0.75rem;
    vertical-align: middle;
}

.scoring-mode-gross {
    background: #eef2f6;
    color: #2c3e50;
}

.scoring-mode-net {
    background: #e3f2fd;
    color: #0d47a1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    text-transform: none;
    font-size: 0.95rem;
    color: #2c3e50;
}

/* ===== Tenant Cards ===== */
.tenant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tenant-card {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 1.25rem;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tenant-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.tenant-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.tenant-card .card-meta {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
    margin-top: 0.5rem;
}

.tenant-card .card-meta div {
    margin-bottom: 0.15rem;
}

/* ===== Player Cards ===== */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.player-card {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #2c3e50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.player-card .player-info {
    flex: 1;
}

.player-card .player-info .name {
    font-size: 1rem;
    font-weight: 600;
}

.player-card .player-info .role {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

/* ===== Hero / Landing ===== */
.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-buttons .btn {
    width: auto;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* ===== Section Headers ===== */
.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

/* ===== Empty State ===== */
.empty-state {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-style: italic;
    font-weight: 400;
}

/* ===== Loading Spinner ===== */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #2c3e50;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Settings / Detail Panel ===== */
.detail-panel {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 500px;
}

.detail-panel h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #666;
    font-weight: 400;
}

.detail-row .value {
    font-weight: 600;
}

/* ===== Create Button (FAB replacement) ===== */
.create-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    transition: background-color 0.2s;
}

.create-btn:hover {
    background-color: #1a252f;
}

/* ===== Settings Page ===== */
.settings-container {
    max-width: 500px;
}

.settings-card {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.settings-section {
    margin-bottom: 1.5rem;
}

.settings-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #ddd;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.status-pipeline {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pipeline-step {
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #e0e0e0;
    color: #999;
}

.pipeline-step.current {
    background-color: #2c3e50;
    color: white;
}

.pipeline-step.past {
    background-color: #b0bec5;
    color: white;
}

.form-success {
    color: #28a745;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.clone-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.danger-zone {
    border: 1px solid #dc3545;
}

.danger-zone h3 {
    color: #dc3545;
    border-bottom-color: #f5c6cb;
}

.danger-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0.75rem;
}

.danger-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #c82333;
}

/* ===== Player Management ===== */
.add-mode-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.invite-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.invite-btn {
    width: auto;
    white-space: nowrap;
    height: 38px;
}

.member-table th,
.member-table td {
    font-size: 0.85rem;
}

.member-table td {
    vertical-align: middle;
}

.member-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-avatar.small {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}

.member-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.role-select {
    padding: 0.25rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: inherit;
    background: white;
    color: #2c3e50;
    cursor: pointer;
}

.role-select:focus {
    outline: none;
    border-color: #2c3e50;
}

.commissioner-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #ffc107;
    color: #2c3e50;
}

.toggle-btn {
    white-space: nowrap;
}

.inactive-row {
    opacity: 0.55;
}

@media (max-width: 768px) {
    .invite-row {
        flex-direction: column;
        align-items: stretch;
    }

    .invite-row .form-group {
        width: 100% !important;
    }

    .invite-btn {
        width: 100%;
    }

    .member-table {
        font-size: 0.75rem;
    }
}

/* ===== Course Setup ===== */
.course-mgmt-table th,
.course-mgmt-table td {
    font-size: 0.85rem;
}

.course-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.course-detail-header h3 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.tee-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.tee-header h3 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tee-color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.tee-details {
    font-weight: 400;
    font-size: 0.8rem;
    color: #666;
}

.tee-actions {
    display: flex;
    gap: 0.5rem;
}

.hole-grid {
    margin-bottom: 1rem;
}

.hole-table {
    margin-bottom: 0;
}

.hole-table th,
.hole-table td {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    text-align: center;
}

.hole-number {
    font-weight: 600;
    width: 40px;
}

.hole-input {
    width: 60px;
    padding: 0.2rem 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: inherit;
    text-align: center;
}

.hole-input:focus {
    outline: none;
    border-color: #2c3e50;
}

.nine-summary td {
    border-top: 2px solid #ccc;
    background-color: #f8f8f8;
}

.total-summary td {
    border-top: 2px solid #2c3e50;
    background-color: #eee;
}

/* ===== Group Assignment ===== */
.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.group-name-label {
    font-weight: 400;
    color: #666;
}

.group-member-count {
    font-weight: 400;
    font-size: 0.85rem;
    color: #999;
    margin-left: 0.5rem;
}

.group-member-table {
    margin-bottom: 0;
}

.handicap-input {
    width: 60px;
    padding: 0.25rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    text-align: center;
}

.handicap-input:focus {
    outline: none;
    border-color: #2c3e50;
}

.unassigned-players {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.unassigned-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: #e0e0e0;
    color: #2c3e50;
}

.assign-player-select {
    padding: 0.25rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    background: white;
    color: #2c3e50;
    width: 100%;
}

.assign-player-select:focus {
    outline: none;
    border-color: #2c3e50;
}

/* ===== Blazor Loading (initial) ===== */
.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #2c3e50;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/* ===== Blazor Error UI ===== */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ===== Filter Controls ===== */
.filter-controls {
    margin: 1rem 0 0 1rem;
}

/* ===== Course Info ===== */
.course-info {
    margin: 0.5rem 0 1rem 1rem;
    text-align: left;
}

.course-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

/* ===== Mobile Hide ===== */
@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }
}

/* ===== Player Detail (Leaderboard Expansion) ===== */
.player-detail-row td {
    padding: 0 !important;
    border-bottom: 1px solid #ddd;
}

.player-detail-cell {
    padding: 0 !important;
}

.player-detail {
    background-color: #f2f2f2;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.data-table .player-row.active {
    background-color: #e3f2fd;
}

.close-button-wrapper {
    display: flex;
    justify-content: flex-end;
}

.close-button {
    background: none;
    border: 1px solid #666;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    background-color: #e0e0e0;
}

.player-detail-header {
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.avatar-container {
    position: relative;
    margin-right: 0.75rem;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.default-avatar {
    background-color: white;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.player-info-detail {
    flex: 1;
    text-align: left;
}

.player-name-detail {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ===== Sub Navigation (Player Detail Tabs) ===== */
.sub-nav {
    margin-bottom: 1rem;
    border-bottom: 4px solid #e0e0e0;
}

.sub-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.sub-nav li {
    display: inline-block;
    margin-right: 16px;
    padding-bottom: 0.6rem;
    position: relative;
    font-weight: 600;
}

.sub-nav li a {
    text-decoration: none;
    color: #9e9e9e;
    transition: color 0.3s;
    font-weight: 600;
    font-size: 1rem;
}

.sub-nav li.active a {
    color: #2c3e50;
}

.sub-nav li::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
}

.sub-nav li.active::after {
    background-color: #2c3e50;
}

/* ===== Scorecard ===== */
.scorecard {
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 1.5rem;
    width: 100%;
}

.desktop-scorecard {
    display: block;
}

.mobile-scorecard {
    display: none;
}

.scorecard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border-top: 3px solid #2c3e50;
    table-layout: fixed;
}

.scorecard-table .out-column,
.scorecard-table .in-column,
.scorecard-table .total-column {
    background-color: #e6e6e6;
    width: 2.5rem;
}

.scorecard-table thead tr th {
    color: #9e9e9e;
    text-transform: uppercase;
}

.scorecard-table th,
.scorecard-table td {
    padding: 0.5rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    min-width: 2.25rem;
}

.scorecard-table .hole-header,
.scorecard-table .heading-cell {
    width: auto;
    min-width: 3.5rem;
    max-width: 4rem;
    text-align: left;
    padding-left: 0.5rem;
    white-space: nowrap;
}

.scorecard-table td:first-child,
.scorecard-table thead tr th:first-child {
    text-align: left;
}

.scorecard-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.heading-cell {
    color: #9e9e9e;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
}

.heading-cell.dark {
    color: #2c3e50;
}

.par-row,
.yards-row {
    background-color: #f9f9f9;
    color: #9e9e9e;
}

.scorecard-table .par-row td {
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.75rem;
}

.scorecard-table .score-row td {
    padding-top: 0.75rem;
    position: relative;
}

.scorecard-table .net-row td {
    padding-top: 0.25rem;
    font-style: italic;
    color: #555;
}

/* ===== Score Indicators (Circles & Squares) ===== */
.birdie {
    position: relative;
    z-index: 1;
}

.birdie::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #9c9c9c;
    z-index: -1;
}

.eagle {
    position: relative;
    z-index: 1;
}

.eagle::before, .eagle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    border: 1px solid #9c9c9c;
}

.eagle::before {
    width: 22px;
    height: 22px;
}

.eagle::after {
    width: 16px;
    height: 16px;
}

.bogey {
    position: relative;
    z-index: 1;
}

.bogey::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 1px solid #9c9c9c;
    z-index: -1;
}

.double-bogey {
    position: relative;
    z-index: 1;
}

.double-bogey::before, .double-bogey::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border: 1px solid #9c9c9c;
}

.double-bogey::before {
    width: 22px;
    height: 22px;
}

.double-bogey::after {
    width: 16px;
    height: 16px;
}

.scorecard-table .birdie,
.scorecard-table .eagle,
.scorecard-table .par,
.scorecard-table .bogey,
.scorecard-table .double-bogey {
    background-color: inherit;
}

/* ===== Handicap Stroke Dots ===== */
.stroke-dots {
    display: flex;
    gap: 2px;
    position: absolute;
    top: 3px;
    right: 3px;
}

.stroke-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #333;
}

.stroke-dot.giving {
    background-color: #d32f2f;
}

/* ===== Player Stat Boxes ===== */
.player-stat-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-box {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===== Stats Detail Table ===== */
.stat-section {
    margin-bottom: 1.5rem;
}

.stat-section h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.25rem;
    text-align: left;
}

.stats-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.stats-detail-table th,
.stats-detail-table td {
    width: 33.33%;
}

.stats-detail-table th:last-child,
.stats-detail-table td:last-child {
    text-align: right;
}

.stats-detail-table th {
    padding: 8px;
    text-align: left;
    font-weight: bold;
    color: #9e9e9e;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
}

.stats-detail-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* ===== Money Leader Section ===== */
.money-leader-section {
    margin: 20px 0;
    text-align: left;
}

.money-leader-section h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.leader-card {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 500px;
}

.leader-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.leader-total {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.leader-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.leader-detail {
    margin-right: 20px;
    margin-bottom: 10px;
}

.detail-label {
    color: #666;
    margin-right: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-weight: bold;
}

/* ===== Player Rankings Section ===== */
.player-rankings-section {
    margin: 30px 0;
    text-align: left;
}

.player-rankings-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.rankings-table-wrapper {
    max-width: 500px;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.rankings-table th,
.rankings-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.rankings-table th {
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.rankings-table th:last-child,
.rankings-table td:last-child {
    text-align: right;
}

/* ===== Sort Indicator ===== */
.sort-indicator {
    margin-left: 3px;
    font-size: 0.7rem;
}

.participation-indicator {
    margin-left: 0.4rem;
    font-size: 0.75rem;
    color: #777;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.skipped-pot {
    color: #888;
    font-style: italic;
    font-size: 0.85rem;
}

.info-note {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f5f7fa;
    border-left: 3px solid #888;
    color: #555;
    font-size: 0.9rem;
}

/* ===== Course Stats Table ===== */
.course-stats-table th,
.course-stats-table td {
    padding: 8px;
}

.course-under-par {
    color: green;
}

.course-over-par {
    color: red;
}

.summary-row {
    background-color: #f5f5f5;
    font-weight: 600;
}

.out-row td, .in-row td {
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #ddd !important;
}

.total-row td {
    border-top: 2px solid #000 !important;
    border-bottom: none !important;
}

/* ===== Scorecard Mobile ===== */
@media (max-width: 768px) {
    .desktop-scorecard {
        display: none;
    }

    .mobile-scorecard {
        display: block;
    }

    .scorecard-table.front-nine {
        margin-bottom: 0;
    }

    .scorecard-table.back-nine {
        border-top: 3px solid #2c3e50;
        margin-top: 0;
    }

    .scorecard-table th,
    .scorecard-table td {
        padding: 0.4rem 0;
    }

    .scorecard-table {
        font-size: 0.7rem;
    }

    .scorecard-table .hole-header,
    .scorecard-table .heading-cell {
        min-width: 3rem;
        max-width: 3.5rem;
    }

    .scorecard-table .hole-header {
        min-width: 100px;
    }

    .birdie::before,
    .eagle::before,
    .bogey::before,
    .double-bogey::before {
        width: 22px;
        height: 22px;
    }

    .eagle::after,
    .double-bogey::after {
        width: 16px;
        height: 16px;
    }

    .stroke-dots {
        top: 2px;
        right: 2px;
        gap: 1px;
    }

    .stroke-dot {
        width: 4px;
        height: 4px;
    }

    .player-stat-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-box {
        min-width: unset;
        padding: 0.5rem;
    }

    .leader-details {
        flex-direction: column;
    }

    .leader-detail {
        margin-bottom: 8px;
    }

    .course-info h4 {
        font-size: 1rem;
    }

    .course-stats-table {
        font-size: 0.7rem;
    }

    .course-stats-table th,
    .course-stats-table td {
        padding: 6px 4px;
    }
}

@media (max-width: 480px) {
    .course-stats-table {
        font-size: 0.65rem;
    }

    .course-stats-table th,
    .course-stats-table td {
        padding: 4px 2px;
    }
}

/* ===== Score Entry ===== */
.score-entry-card {
    max-width: 100%;
    overflow-x: auto;
}

.score-entry-table .score-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.2rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.85rem;
    background: #fff;
    -moz-appearance: textfield;
}

.score-entry-table .score-input::-webkit-outer-spin-button,
.score-entry-table .score-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.score-entry-table .score-input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.15);
}

.score-entry-table .ndb-exceeded .score-input {
    border-color: #e67e22;
    background: #fff3e0;
    color: #b35900;
    font-weight: 600;
}

.score-entry-table .ndb-exceeded .score-input:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.25);
}

.ndb-legend {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.ndb-legend .ndb-swatch {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    background: #fff3e0;
    border: 1px solid #e67e22;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 0.35rem;
}

.score-entry-table .birdie::before,
.score-entry-table .eagle::before,
.score-entry-table .eagle::after,
.score-entry-table .bogey::before,
.score-entry-table .double-bogey::before,
.score-entry-table .double-bogey::after {
    display: none;
}

.score-entry-table .score-input::placeholder {
    color: transparent;
}

.score-entry-table td {
    padding: 0.35rem 0.15rem;
}

.score-entry-table .player-name-cell {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    overflow: hidden;
    white-space: normal;
    font-size: 0.85rem;
    line-height: 1.15;
    vertical-align: middle;
    padding: 0.4rem 0.5rem;
}

.score-entry-table .player-name-line {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score-entry-table .player-meta-line {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: none;
    font-weight: 500;
}

.score-entry-table .player-hcp-chip {
    background: #eef2f6;
    color: #2c3e50;
    border-radius: 3px;
    padding: 0 0.35rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.score-entry-table .player-meta-line .tee-indicator {
    color: #6c757d;
    font-size: 0.7rem;
}

.score-entry-table .player-status-line {
    margin-top: 0.2rem;
}

/* Override the .scorecard-table .hole-header max-width inside score entry so
   the player-name column has room for full names + Hcp chip. */
.score-entry-table .hole-header {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}

/* Net row inside score entry: per-hole net value with small "net" label, italic muted styling. */
.score-entry-table .net-row td {
    padding-top: 0.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
    font-style: italic;
    color: #555;
    background-color: #fafafa;
}

.score-entry-table .score-row td {
    border-bottom: none;
}

.score-entry-table .net-row .net-cell {
    line-height: 1;
}

.score-entry-table .net-row .net-label {
    display: block;
    font-size: 0.55rem;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-style: normal;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.score-entry-table .net-row .net-value {
    display: block;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
}

.score-entry-table .net-row .out-column,
.score-entry-table .net-row .in-column,
.score-entry-table .net-row .total-column {
    font-style: normal;
    font-weight: 600;
}

.score-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.group-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.group-nav-label {
    font-weight: 600;
    font-size: 1rem;
}

.save-indicator {
    color: #27ae60;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

/* .over-par / .under-par are defined once near the top of this file under
   "Score Coloring" — traditional scorecard convention: under-par is red, over-par
   is default text. The earlier override here that inverted them has been removed. */

/* ===== Score Entry — Mobile (touch-optimized, hole-by-hole) ===== */
.score-entry-mobile {
    display: none;
}

.mobile-group-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.mobile-group-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    text-align: center;
    flex: 1;
}

.mobile-hole-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.mobile-hole-display {
    text-align: center;
    flex: 1;
}

.mobile-hole-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.mobile-hole-par {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.1rem;
}

.mobile-hole-yardage {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0.35rem;
    line-height: 1.1;
}

.mobile-hole-tee {
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.05rem;
}

.mobile-hole-other-tees {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
    line-height: 1.3;
}

.mobile-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}

.mobile-arrow-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.mobile-arrow-btn:not(:disabled):active {
    background: #f0f0f0;
}

.mobile-hole-arrow {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.mobile-hole-arrow:not(:disabled):active {
    background: #1a252f;
}

.mobile-progress-track {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0.25rem 0 0.75rem;
    overflow: hidden;
}

.mobile-progress-fill {
    height: 100%;
    background: #27ae60;
    transition: width 0.3s;
}

.mobile-player-card {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-player-card:last-of-type {
    border-bottom: none;
}

.mobile-player-card.inactive {
    opacity: 0.55;
}

.mobile-player-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-player-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.mobile-player-running {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    font-size: 0.85rem;
}

.mobile-running-line {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
}

.mobile-running-net {
    font-size: 0.8rem;
    color: #555;
}

.mobile-running-net-label {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: #888;
    font-weight: 600;
}

.mobile-running-total {
    font-weight: 700;
    color: #2c3e50;
}

.mobile-running-ou {
    font-weight: 600;
}

.mobile-running-holes {
    color: #888;
    font-size: 0.8rem;
}

.mobile-stroke-pips {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    color: #b94a1f;
    background: #fff1ea;
    border: 1px solid #f0c8b3;
    border-radius: 10px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.mobile-quick-pick {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.mobile-pick-btn {
    flex: 1;
    min-width: 0;
    height: 52px;
    border-radius: 8px;
    border: 2px solid #ddd;
    background: white;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: transform 0.1s, background 0.15s;
}

.mobile-pick-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-pick-btn:not(:disabled):active {
    transform: scale(0.95);
}

.mobile-pick-btn.par-btn {
    border-color: #2c3e50;
    border-width: 3px;
}

.mobile-pick-btn.selected.eagle {
    background: #1e88e5;
    color: white;
    border-color: #1e88e5;
}

.mobile-pick-btn.selected.birdie {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.mobile-pick-btn.selected.par-score {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.mobile-pick-btn.selected.bogey {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

.mobile-pick-btn.selected.double-plus {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.mobile-pick-btn.ndb-warning {
    box-shadow: inset 0 0 0 2px #e67e22;
}

.mobile-pick-more {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 2px dashed #ccc;
    background: #f9f9f9;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-pick-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-pick-more.expanded {
    border-style: solid;
    border-color: #2c3e50;
    background: #eee;
}

.mobile-more-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.mobile-more-value.eagle { color: #1e88e5; }
.mobile-more-value.birdie { color: #27ae60; }
.mobile-more-value.par-score { color: #6c757d; }
.mobile-more-value.bogey { color: #f39c12; }
.mobile-more-value.double-plus { color: #dc3545; }

.mobile-pick-expanded {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.mobile-pick-expanded-btn {
    flex: none;
    height: 44px;
    font-size: 1.05rem;
}

.mobile-ndb-warning {
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fff3e0;
    border-left: 3px solid #e67e22;
    color: #b35900;
    font-size: 0.8rem;
    border-radius: 0 4px 4px 0;
}

.mobile-inactive-note {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
    padding: 0.25rem 0;
}

@media (max-width: 768px) {
    .score-entry-table .score-input {
        font-size: 0.75rem;
    }

    .score-entry-table .player-name-cell {
        min-width: 70px;
        max-width: 100px;
        font-size: 0.7rem;
    }

    .score-entry-table td {
        padding: 0.25rem 0.1rem;
    }

    .score-entry-desktop {
        display: none;
    }

    .score-entry-mobile {
        display: block;
    }
}

/* ===== Trip Dashboard ===== */
.dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    color: #666;
}

.checklist-item.complete {
    color: #2c3e50;
}

.checklist-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.checklist-item.complete .checklist-icon {
    color: #27ae60;
}

.checklist-summary {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ===== Live Scoring (Mobile) ===== */

.minimal-layout {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    min-height: 100dvh;
    background: white;
}

/* Loading state */
.live-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    gap: 1rem;
    color: #666;
}

/* Invalid state */
.live-invalid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 2rem;
    text-align: center;
}

.live-invalid-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.live-invalid h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.live-invalid p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Confirmation page */
.live-confirm {
    padding: 2rem 1.5rem;
}

.live-confirm-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.live-confirm-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.live-confirm-header h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0;
}

.live-confirm-card {
    background: #f2f2f2;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.live-confirm-round {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
}

.live-confirm-label {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.live-confirm-value {
    font-weight: 600;
    color: #2c3e50;
}

.live-confirm-group-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.live-confirm-players {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.live-confirm-player {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    color: #333;
}

.btn-start-scoring {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-start-scoring:hover {
    background: #1a252f;
}

/* Scoring interface */
.live-scoring {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.live-scoring-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #2c3e50;
    color: white;
    padding: 0.75rem 1rem 0.5rem;
}

.live-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.live-hole-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.live-par-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.live-progress-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

.live-hole-info {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.live-hole-yardage {
    font-size: 1.35rem;
    font-weight: 700;
}

.live-hole-tee {
    font-size: 0.85rem;
    opacity: 0.85;
}

.progress-bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    background: #28a745;
    border-radius: 2px;
    transition: width 0.3s;
}

/* Player sections */
.live-players-container {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
}

.player-score-section {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #eee;
}

.player-score-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.player-name-text {
    flex-shrink: 0;
}

.player-saved-indicator {
    color: #28a745;
    font-size: 0.9rem;
}

.player-stroke-pips {
    display: inline-block;
    padding: 0.05rem 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    color: #b94a1f;
    background: #fff1ea;
    border: 1px solid #f0c8b3;
    border-radius: 10px;
    letter-spacing: 0.05em;
}

.scramble-team-roster {
    font-size: 0.8rem;
    color: #666;
    margin: -0.3rem 0 0.6rem 0;
    font-weight: 400;
}

.player-running {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    font-weight: 600;
}

.player-running-line {
    display: flex;
    gap: 0.35rem;
    align-items: baseline;
    font-size: 0.95rem;
}

.player-running-net {
    display: flex;
    gap: 0.3rem;
    align-items: baseline;
    font-size: 0.78rem;
    color: #555;
}

.player-running-net-label {
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    color: #888;
    font-weight: 600;
}

.player-running-total {
    color: #2c3e50;
}

/* Quick-pick buttons */
.quick-pick-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quick-pick-btn {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid #ddd;
    background: white;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.quick-pick-btn:active {
    transform: scale(0.95);
}

.quick-pick-btn.par-btn {
    border-color: #2c3e50;
    border-width: 3px;
}

/* Selected states with score colors */
.quick-pick-btn.selected.eagle {
    background: #1e88e5;
    color: white;
    border-color: #1e88e5;
}

.quick-pick-btn.selected.birdie {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.quick-pick-btn.selected.par-score {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.quick-pick-btn.selected.bogey {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

.quick-pick-btn.selected.double-plus {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* More button */
.quick-pick-more {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 2px dashed #ccc;
    background: #f9f9f9;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    -webkit-tap-highlight-color: transparent;
}

.quick-pick-more.expanded {
    border-color: #2c3e50;
    border-style: solid;
    background: #eee;
}

.more-with-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.more-with-value.eagle { color: #1e88e5; }
.more-with-value.birdie { color: #28a745; }
.more-with-value.par-score { color: #6c757d; }
.more-with-value.bogey { color: #f39c12; }
.more-with-value.double-plus { color: #dc3545; }

/* Expanded picker grid */
.expanded-picker {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
}

.expanded-picker .expanded-btn {
    width: 100%;
    height: 44px;
    font-size: 1.1rem;
}

/* Auto-advance indicator */
.auto-advance-indicator {
    text-align: center;
    padding: 0.5rem;
    background: #d4edda;
    color: #155724;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Error */
.live-error {
    text-align: center;
    padding: 0.5rem;
    background: #f8d7da;
    color: #721c24;
    font-size: 0.85rem;
}

/* Bottom navigation */
.hole-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    z-index: 40;
}

.hole-nav-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.hole-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hole-nav-btn.primary {
    background: #2c3e50;
    color: white;
}

.hole-nav-btn.primary:hover:not(:disabled) {
    background: #1a252f;
}

.hole-nav-btn.secondary {
    background: #e0e0e0;
    color: #2c3e50;
}

.hole-nav-btn.secondary:hover:not(:disabled) {
    background: #d0d0d0;
}

.save-indicator {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Summary page */
.live-summary {
    padding: 2rem 1.5rem;
}

.live-summary-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.live-summary-header h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.live-summary-header p {
    color: #666;
    font-size: 0.9rem;
}

.live-summary-table {
    background: #f2f2f2;
    border-radius: 8px;
    overflow: hidden;
}

.live-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
}

.live-summary-row:last-child {
    border-bottom: none;
}

.live-summary-name {
    font-weight: 600;
    color: #2c3e50;
}

.live-summary-scores {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

.live-summary-ou {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Match the global scorecard convention: under-par red, over-par default. */
.live-summary-ou.over-par { color: inherit; }
.live-summary-ou.under-par { color: #dc3545; }

.live-summary-incomplete {
    font-size: 0.8rem;
    color: #999;
}

/* ===== Share Links Modal ===== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
}

.modal-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    z-index: 201;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.modal-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.modal-panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem 0.5rem;
}

.modal-subtitle {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.link-row {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.link-row:last-of-type {
    border-bottom: none;
}

.link-group-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #2c3e50;
}

.link-players {
    font-weight: 400;
    color: #666;
}

.link-url-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.link-input {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    color: #666;
    font-family: monospace;
}

@media (min-width: 481px) {
    .modal-panel {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10%;
        border-radius: 12px;
    }
}

/* ===== Scoring Banner (sticky "Back to Score Entry") ===== */
.scoring-banner {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #2c3e50;
    padding: 0.5rem 1rem;
    text-align: center;
}

.scoring-banner-link {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.scoring-banner-link:hover {
    text-decoration: underline;
    color: #e0e0e0;
}

/* ===== Live Scoring — Leaderboard Links ===== */
.live-leaderboard-link {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.live-leaderboard-link:hover {
    text-decoration: underline;
}

.live-leaderboard-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.live-leaderboard-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ===== PWA Update Banner ===== */
/* Overrides the defaults in Toolbelt.Blazor.PWA.Updater's scoped CSS.
   The selectors below win on specificity (1,1,0 vs the package's 0,2,0). */
#app-root .pwa-updater {
    --pwa-updater-bar-height: 56px;
    --pwa-updater-bar-color: #ffffff;
    --pwa-updater-bar-backcolor: #dc2626;
    --pwa-updater-font-size: 15px;
    --pwa-updater-bar-z-index: 1000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0 16px;
    justify-content: center;
    gap: 12px;
}

#app-root .pwa-updater::before {
    content: "A new version is available";
    flex: 0 1 auto;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

#app-root .pwa-updater-updatenow-button {
    font-size: 15px;
    font-weight: 700;
    background-color: #ffffff;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    height: 40px;
    line-height: 40px;
    padding: 0 18px;
    min-width: 110px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    animation: pwa-updater-pulse 2s ease-in-out infinite;
}

#app-root .pwa-updater-updatenow-button:hover {
    background-color: #fef2f2;
    color: #b91c1c;
}

#app-root .pwa-updater.waiting-for-reload .pwa-updater-updatenow-button {
    animation: none;
}

#app-root .pwa-updater.waiting-for-reload .pwa-updater-updatenow-button::after {
    border-color: #dc2626;
    border-top-color: transparent;
}

#app-root .pwa-updater-close-button {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    left: 8px;
}

#app-root .pwa-updater-close-button:hover {
    color: #ffffff;
}

@keyframes pwa-updater-pulse {
    0%, 100% { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0.6); }
    50%      { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 6px rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    #app-root .pwa-updater {
        --pwa-updater-bar-height: 64px;
        --pwa-updater-font-size: 16px;
        padding: 0 12px;
        gap: 10px;
    }

    #app-root .pwa-updater::before {
        font-size: 14px;
    }

    #app-root .pwa-updater-updatenow-button {
        font-size: 16px;
        height: 44px;
        line-height: 44px;
        padding: 0 22px;
        min-width: 120px;
    }

    #app-root .pwa-updater-close-button {
        width: 44px;
        height: 44px;
        line-height: 44px;
    }
}
