/**
 * Golf Checker Module CSS
 * Custom styles for Golf Tracker System
 */

/* Golf Banner Styles */
.golf-banner {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #2c5530 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.golf-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.banner-overlay {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-title i {
    color: #ffd700;
    margin-right: 15px;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-logo {
    text-align: center;
    opacity: 0.3;
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.section-title {
    margin: 0;
    color: #2c5530;
    font-weight: 600;
}

.section-title i {
    color: #4a7c59;
    margin-right: 10px;
}

.search-form {
    margin-top: 10px;
}

/* Players Cards */
.players-table-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    overflow: hidden;
}

.table-header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 12px 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
}

.table-header .row {
    margin: 0;
}

.table-header strong {
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.player-card:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-1px);
    border-color: #007bff;
}

.player-card:last-child {
    margin-bottom: 0;
}

.player-name-link {
    text-decoration: none;
    font-weight: 600;
    color: #2c5530;
    font-size: 1rem;
}

.player-name-link:hover {
    text-decoration: underline;
    color: #4a7c59;
}

.no-players-message {
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Badge Styles - Override Bootstrap */
.badge {
    display: inline-block !important;
    padding: 0.4em 0.7em !important;
    font-size: 0.8em !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: 0.4rem !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
}

.badge-light {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.badge-success {
    background-color: #28a745 !important;
    color: #fff !important;
    border: 1px solid #1e7e34 !important;
}

.badge-info {
    background-color: #17a2b8 !important;
    color: #fff !important;
    border: 1px solid #117a8b !important;
}

.badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: 1px solid #d39e00 !important;
    font-weight: 800 !important;
}

.badge-primary {
    background-color: #007bff !important;
    color: #fff !important;
    border: 1px solid #0056b3 !important;
}

.badge-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
    border: 1px solid #545b62 !important;
}

.badge-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: 1px solid #bd2130 !important;
}

/* Pagination */
.pagination-section {
    margin: 30px 0;
}

/* Modal Styles */
.modal-header {
    background: #2c5530;
    color: white;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2rem;
    }

    .banner-stats {
        flex-direction: row;
        gap: 15px;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-number, .stat-label {
        display: inline;
    }

    .search-section .row {
        flex-direction: column;
    }

    .search-form {
        margin-top: 15px;
    }

    .player-card {
        padding: 10px;
    }

    .player-card .row {
        flex-direction: column;
        text-align: center;
    }

    .player-card .col-md-1,
    .player-card .col-md-2,
    .player-card .col-md-4,
    .player-card .col-md-5 {
        margin-bottom: 10px;
    }
}

/* Player Rounds Page Styles */
.player-row {
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-row:hover,
.player-row.card-hover {
    background-color: #f8f9fa !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.round-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.round-card:hover,
.round-card.card-hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.round-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.view-details {
    transition: all 0.2s ease;
}

.view-details:hover {
    transform: scale(1.1);
}

/* Statistics Cards Animation */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Round Details Modal */
.round-details .table {
    font-size: 0.9rem;
}

.round-details .table th,
.round-details .table td {
    padding: 8px;
    text-align: center;
}

.round-details .table .bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
    font-weight: bold;
}

.round-details .table .bg-success {
    background-color: #28a745 !important;
    color: white;
    font-weight: bold;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* View Toggle Buttons */
.btn-group .btn {
    transition: all 0.2s ease;
}

.btn-group .btn.active {
    transform: scale(1.05);
}

.round-details-panel {
    min-height: 232px;
}

@media (max-width: 576px) {
    .golf-banner {
        padding: 40px 0;
    }

    .banner-title {
        font-size: 39px;
        text-align: center;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Player Rounds Mobile */
    .round-card {
        margin-bottom: 15px;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .btn-group {
        width: 100%;
    }

    .btn-group .btn {
        flex: 1;
    }
}

/* Bootstrap 3 Player Rounds Styles */
.golf-rounds-panel {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
}

.golf-rounds-table {
    margin-bottom: 0;
}

.golf-table-header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
}

.golf-table-header th {
    color: white;
    border: none;
    font-weight: 600;
    text-align: center;
    padding: 12px 8px;
}

.golf-rounds-table tbody tr:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.golf-detail-btn {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.golf-detail-btn:hover {
    transform: scale(1.1);
}

.golf-round-card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
}

.golf-round-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.golf-round-card .panel-heading {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    border-radius: 10px 10px 0 0;
}

.golf-course-name {
    color: #2c5530;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Player Stats Cards */
.golf-player-stats {
    margin-bottom: 30px;
}

.golf-stats-card {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.golf-stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.golf-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 85, 48, 0.4);
}

.golf-stats-card:hover::before {
    transform: rotate(45deg) scale(1.1);
}

.golf-stats-card h4 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.golf-stats-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.golf-stats-card .fa {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    opacity: 0.3;
    z-index: 1;
}

/* Specific card colors */
.golf-stats-card.rounds-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.golf-stats-card.rounds-card:hover {
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

.golf-stats-card.gross-card {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.golf-stats-card.gross-card:hover {
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
}

.golf-stats-card.net-card {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

.golf-stats-card.net-card:hover {
    box-shadow: 0 15px 35px rgba(23, 162, 184, 0.4);
}

.golf-stats-card.hdc-card {
    background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%);
    color: #212529;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.golf-stats-card.hdc-card:hover {
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.golf-stats-card.hdc-card .fa {
    color: #212529;
}

/* Mobile responsive for stats cards */
@media (max-width: 768px) {
    .golf-player-stats .col-md-6 {
        margin-bottom: 15px;
    }

    .golf-stats-card {
        padding: 20px 15px;
    }

    .golf-stats-card h4 {
        font-size: 2rem;
    }

    .golf-stats-card .fa {
        font-size: 2rem;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .golf-stats-card {
        padding: 15px;
        margin-bottom: 10px;
    }

    .golf-stats-card h4 {
        font-size: 1.8rem;
    }

    .golf-stats-card p {
        font-size: 0.8rem;
    }

    .golf-stats-card .fa {
        font-size: 1.8rem;
        right: 10px;
    }
}

.golf-scores-row {
    margin-top: 15px;
}

.golf-score-badge {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    padding: 4px 8px;
}

/* Player Card Styling */
.player-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.player-name-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.player-name-link:hover {
    color: #3498db;
    text-decoration: none;
}

/* Table Header Styling */
.table-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table-header th {
    border: none;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
}

/* Badge Hover Effects */
.badge:hover {
    transform: scale(1.05) !important;
    transition: transform 0.2s ease !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.badge-light:hover {
    background-color: #e2e6ea !important;
    border-color: #dae0e5 !important;
}

.badge-success:hover {
    background-color: #218838 !important;
}

.badge-info:hover {
    background-color: #138496 !important;
}

.badge-warning:hover {
    background-color: #e0a800 !important;
}

.badge-primary:hover {
    background-color: #0069d9 !important;
}

.badge-secondary:hover {
    background-color: #5a6268 !important;
}

.badge-danger:hover {
    background-color: #c82333 !important;
}

.golf-no-data-panel {
    border-radius: 10px;
}

/* Additional Styling for Better Visual Appeal */
.text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* Ensure proper spacing and alignment */
.player-card .row {
    align-items: center;
}

.player-card .col-md-1,
.player-card .col-md-2,
.player-card .col-md-3,
.player-card .col-md-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.player-card .col-md-4 {
    justify-content: flex-start;
}

/* Improve table header visibility */
.table-header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
}

/* Force badge styles to override any conflicting CSS */
span.badge {
    display: inline-block !important;
    padding: 0.4em 0.7em !important;
    font-size: 0.8em !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: 0.4rem !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
}

.golf-round-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.golf-round-modal .modal-header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

.golf-round-modal .modal-title {
    font-weight: 600;
}

/* Golf Scorecard Additional CSS for Bootstrap 3 */

/* Mobile Score Modal */
@media (max-width: 768px) {
    .mobile-score-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .mobile-score-modal.active {
        display: flex !important;
    }

    .mobile-score-content {
        background: white;
        border-radius: 12px;
        padding: 20px;
        width: 100%;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .mobile-score-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #337ab7;
    }

    .mobile-score-title {
        font-size: 18px;
        font-weight: bold;
        color: #337ab7;
        margin: 0;
    }

    .mobile-score-close {
        background: #d9534f;
        color: white;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-score-close:hover {
        background: #c9302c;
        transform: scale(1.1);
    }

    .mobile-hole-info {
        background: #f5f5f5;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        text-align: center;
    }

    .mobile-hole-number {
        font-size: 24px;
        font-weight: bold;
        color: #337ab7;
        margin-bottom: 5px;
    }

    .mobile-hole-par {
        font-size: 14px;
        color: #777;
        margin-bottom: 10px;
    }

    .mobile-hole-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-nav-btn {
        background: #777;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 10px 15px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 80px;
    }

    .mobile-nav-btn:hover:not(:disabled) {
        background: #555;
        transform: translateY(-2px);
    }

    .mobile-nav-btn:disabled {
        background: #eee;
        color: #777;
        cursor: not-allowed;
        transform: none;
    }

    .mobile-current-hole {
        font-weight: 700;
        color: #337ab7;
        font-size: 16px;
        text-align: center;
        flex: 1;
        margin: 0 15px;
    }

    .mobile-score-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .mobile-score-btn {
        background: #f5f5f5;
        border: 2px solid #ddd;
        border-radius: 8px;
        padding: 15px 10px;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-score-btn.selected {
        background: #337ab7;
        color: white;
        border-color: #337ab7;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(51, 122, 183, 0.3);
    }

    .mobile-score-btn:hover:not(.selected) {
        background: #e6e6e6;
        border-color: #adadad;
        transform: translateY(-2px);
    }

    .mobile-score-actions {
        display: flex;
        gap: 10px;
        margin-top: 20px;
    }

    .mobile-action-btn {
        flex: 1;
        padding: 12px 15px;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-clear-btn {
        background: #f0ad4e;
        color: #fff;
    }

    .mobile-clear-btn:hover {
        background: #ec971f;
        transform: translateY(-2px);
    }

    .mobile-confirm-btn {
        background: #5cb85c;
        color: white;
    }

    .mobile-confirm-btn:hover {
        background: #449d44;
        transform: translateY(-2px);
    }

    /* Skip/Next buttons */
    .mobile-skip-btn {
        background: #777;
        color: white;
    }

    .mobile-skip-btn:hover {
        background: #555;
        transform: translateY(-2px);
    }

    /* Progress indicator */
    .mobile-progress {
        background: #eee;
        border-radius: 10px;
        height: 6px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .mobile-progress-bar {
        background: linear-gradient(90deg, #337ab7, #286090);
        height: 100%;
        transition: width 0.3s ease;
        border-radius: 10px;
    }

    /* Course indicator */
    .mobile-course-indicator {
        background: #337ab7;
        color: white;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 600;
        display: inline-block;
        margin-bottom: 10px;
    }
}

/* Desktop - hide mobile modal */
@media (min-width: 769px) {
    .mobile-score-modal {
        display: none !important;
    }
}

/* Score border colors for different score types */
.score-input.score-below-par,
.score-display.score-below-par {
    border: 2px solid #d9534f !important;
    border-radius: 4px !important;
    background-color: #f2dede !important;
}

.score-input.score-equal-par,
.score-display.score-equal-par {
    border: 2px solid #337ab7 !important;
    border-radius: 4px !important;
    background-color: #d9edf7 !important;
}

.score-input.score-above-par,
.score-display.score-above-par {
    border: 1px solid #ccc !important;
    background-color: #fff !important;
}

/* Print styles */
@media print {
    .golf-btn,
    .mobile-score-panel,
    #loading-overlay {
        display: none !important;
    }
    
    .golf-scorecard-table {
        font-size: 12px !important;
    }
    
    .golf-scorecard-table th,
    .golf-scorecard-table td {
        padding: 4px !important;
        border: 1px solid #000 !important;
    }
    
    .score-input {
        border: 1px solid #000 !important;
        background: transparent !important;
    }
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    /* Container adjustments */
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Form adjustments */
    .golf-form-group {
        margin-bottom: 10px;
    }
    
    .golf-form-label {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .golf-form-control {
        height: 30px;
        font-size: 12px;
        padding: 4px 8px;
    }
    
    /* Button adjustments */
    .golf-btn {
        padding: 4px 8px;
        font-size: 12px;
        margin: 2px;
    }
    
    /* Table responsive improvements */
    .table-responsive {
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .golf-scorecard-table {
        min-width: 600px;
        font-size: 10px;
        margin-bottom: 0;
    }
    
    .golf-scorecard-table th,
    .golf-scorecard-table td {
        padding: 4px 2px;
        min-width: 30px;
        text-align: center;
        white-space: nowrap;
    }
    
    .golf-scorecard-table th:first-child,
    .golf-scorecard-table td:first-child {
        position: sticky;
        left: 0;
        background: #f5f5f5;
        z-index: 2;
        min-width: 50px;
        font-weight: bold;
    }
    
    .score-input {
        width: 25px !important;
        height: 25px !important;
        font-size: 11px !important;
        padding: 2px !important;
        text-align: center;
        border-radius: 3px;
    }
    
    /* Mobile score panel improvements */
    .mobile-score-panel {
        border-top: 3px solid #337ab7;
        box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
    }
    
    .mobile-score-header {
        background: linear-gradient(135deg, #337ab7 0%, #286090 100%);
        color: white;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .mobile-score-info {
        flex: 1;
    }
    
    .mobile-score-close {
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        font-size: 20px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-score-close:hover {
        background: rgba(255,255,255,0.3);
    }
    
    .mobile-score-navigation {
        background: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
        padding: 8px 15px;
    }
    
    .mobile-nav-btn {
        background: #337ab7;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .mobile-nav-btn:hover:not(:disabled) {
        background: #286090;
    }
    
    .mobile-nav-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }
    
    .mobile-current-hole {
        font-weight: bold;
        font-size: 14px;
        color: #337ab7;
    }
    
    .mobile-score-grid {
        padding: 15px;
        gap: 8px;
    }
    
    .mobile-score-btn {
        background: #fff;
        border: 2px solid #dee2e6;
        color: #495057;
        padding: 12px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-score-btn:hover:not(.selected) {
        border-color: #adb5bd;
        background: #f8f9fa;
        transform: translateY(-1px);
    }
    
    .mobile-score-btn.selected {
        background: #337ab7;
        color: white;
        border-color: #286090;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(51,122,183,0.3);
    }
    
    /* Player info mobile adjustments */
    .player-info-card {
        margin-bottom: 10px;
    }
    
    .player-info-header {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .player-info-body {
        padding: 10px;
    }
    
    .summary-circle {
        margin: 2px;
    }
    
    /* Course header mobile */
    .course-header {
        padding: 8px;
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    /* Checkbox adjustments */
    .checkbox-inline {
        margin-right: 10px;
        margin-bottom: 5px;
        font-size: 12px;
    }
    
    .checkbox-inline input[type="checkbox"] {
        margin-right: 5px;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .golf-scorecard-table {
        font-size: 11px;
    }
    
    .score-input {
        width: 35px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    
    .summary-circle {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
}

/* Large screen adjustments */
@media (min-width: 1200px) {
    .golf-scorecard-table {
        font-size: 14px;
    }
    
    .score-input {
        height: 35px !important;
        font-size: 14px !important;
    }
    
    .summary-circle {
        width: 70px;
        height: 70px;
        font-size: 18px;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Focus states */
.golf-form-control:focus,
.score-input:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* Loading states */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #337ab7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.auto-advance-highlight {
    animation: autoAdvanceGlow 0.6s ease-in-out;
}

@keyframes autoAdvanceGlow {
    0% { box-shadow: 0 0 3px rgba(0, 123, 255, 0.6); }
    50% { box-shadow: 0 0 15px rgba(0, 123, 255, 0.9); }
    100% { box-shadow: 0 0 3px rgba(0, 123, 255, 0.6); }
}

/* Auto advance checkbox styling */
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

.form-check-label:hover {
    color: #007bff;
}

#course_hdc_new {
    background: #5b32ee;
    font-size: 12px;
}

/* Mobile Score Panel CSS from Admin */
.mobile-score-panel {
    display: none !important;
}

@media (min-width: 769px) {
    .mobile-score-panel {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 768px) {
    .box-render-tpc {
        display: flex;
    }

    .mobile-score-panel {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99999;
        background: white;
        padding: 4px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        max-height: 40vh;
        border-radius: 12px 12px 0 0;
        border-top: 2px solid #dee2e6;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-score-panel.active {
        transform: translateY(0);
        display: block !important;
    }

    .mobile-score-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #dee2e6;
    }

    .mobile-score-info {
        font-weight: 600;
        font-size: 14px;
    }

    .mobile-score-close {
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 50%;
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        cursor: pointer;
    }

    .mobile-score-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .mobile-nav-btn {
        background: #6c757d;
        color: white;
        border: none;
        border-radius: 4px;
        padding: 6px 12px;
        font-size: 12px;
        cursor: pointer;
        min-width: 70px;
    }

    .mobile-nav-btn:disabled {
        background: #e9ecef;
        color: #6c757d;
    }

    .mobile-current-hole {
        font-weight: 600;
        color: #495057;
        font-size: 14px;
    }

    .mobile-score-grid-container {
        margin-bottom: 10px;
    }

    .mobile-score-grid {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 6px;
        padding: 2px;
    }

    .mobile-score-btn {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 8px 4px;
        font-size: 13px;
        font-weight: 600;
        color: #495057;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-score-btn.selected {
        background: #e3f2fd !important;
        color: #1976d2 !important;
        border-color: #1976d2 !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2) !important;
    }

    .mobile-score-btn:hover:not(.selected) {
        background: #e9ecef !important;
        border-color: #adb5bd !important;
    }

    /* Mobile score cell highlighting */
    .score-row td.mobile-selected {
        background: #e3f2fd !important;
        transition: background-color 0.2s ease !important;
    }

    .score-input.mobile-active {
        background: #e3f2fd !important;
        transition: background-color 0.2s ease !important;
    }

    /* Ensure mobile panel doesn't cover content */
    body.mobile-panel-open {
        overflow: hidden;
    }

    /* Transition effect for hole navigation */
    .mobile-score-panel.transitioning {
        opacity: 0.7 !important;
    }

    /* Ensure scorecard tables are scrollable when panel is open */
    .scorecard-container {
        padding-bottom: 280px !important;
    }
}

/* ===== CSS từ playing-cards.tpl ===== */

/* Form styling */
.golf-form-title {
    font-weight: bold;
    margin-bottom: 15px;
}

.golf-form-icon {
    margin-right: 8px;
}

.golf-form-icon-small {
    margin-right: 4px;
}

.golf-form-hidden-section {
    display: none;
    border-top: 1px solid #f8f9fa;
}

.golf-form-control-label {
    margin-bottom: 8px;
}

.golf-info-player {
    margin-top: 8px;
}

/* Button styling */
.golf-btn-render {
    padding: 10px 20px;
}

.golf-btn-edit {
    display: none;
    padding: 10px 20px;
    margin-left: 10px;
}

.golf-btn-reset {
    padding: 8px 15px;
    margin-left: 10px;
}

/* Scorecard result */
.golf-scorecard-result {
    display: none;
    margin-top: 10px;
}

.golf-panel-body-no-padding {
    padding: 0;
}

/* Player summary template */
.golf-player-summary-template {
    display: none;
}

.golf-player-summary-container {
    margin-top: 10px;
}

.golf-player-info-panel-body {
    padding: 15px;
}

.golf-player-name-desktop {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.golf-player-detail-item {
    font-size: 14px;
    margin-bottom: 4px;
}

.golf-player-detail-icon {
    margin-right: 8px;
}

.golf-course-rating-label {
    font-size: 12px;
    padding: 4px 8px;
    margin-right: 4px;
}

.golf-course-slope-label {
    font-size: 12px;
    padding: 4px 8px;
}

.golf-player-notes-row {
    font-size: 14px;
    margin-bottom: 4px;
}

/* Summary styling */
.golf-summary-panel-body {
    padding: 15px;
}

.golf-summary-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 60px;
    display: inline-block;
    margin: 0 auto;
}

.golf-summary-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.golf-summary-circle-course-hdc {
    background-color: #6c757d;
}

/* Mobile layout */
.golf-mobile-player-profile-card {
    margin-bottom: 15px;
}

.golf-mobile-player-info-body {
    padding: 15px;
}

.golf-mobile-player-info-row {
    margin-bottom: 8px;
}

.golf-mobile-player-name {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
}

.golf-mobile-course-rating-row {
    font-size: 10px;
}

.golf-mobile-course-rating-label {
    font-size: 9px;
    padding: 2px 5px;
    margin-right: 4px;
}

.golf-mobile-course-slope-label {
    font-size: 9px;
    padding: 2px 5px;
}

.golf-mobile-summary-panel {
    margin-bottom: 15px;
}

.golf-mobile-summary-body {
    padding: 15px;
}

.golf-mobile-summary-title {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.golf-mobile-summary-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    display: inline-block;
    margin: 0 auto;
}

.golf-mobile-summary-label {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #495057;
}

.golf-mobile-summary-scorediff-circle {
    font-size: 8px;
}

/* Loading overlay */
.golf-loading-text {
    margin-top: 8px;
}

/* Mobile score panel */
.golf-mobile-course-info {
    font-size: 12px;
}

.golf-mobile-action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.golf-mobile-action-btn-flex {
    flex: 1;
    max-width: 120px;
}

/* Modal styling */
.golf-modal-icon {
    margin-right: 8px;
}

.golf-modal-close-icon {
    color: white;
}

/* Debug button */
.golf-debug-button {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: red;
    color: white;
    padding: 10px;
}

/* Spinner icon */
.golf-spinner-icon {
    margin-right: 8px;
}

/* Course table styling */
.golf-course-table-position {
    position: relative;
    z-index: 2;
}

.golf-course-rating-info {
    font-size: 15px;
}

.golf-course-rating-badge {
    font-size: 6px;
    padding: 3px 3px;
}

/* Player summary fallback */
.golf-player-summary-fallback {
    margin-top: 10px;
}

.golf-player-info-icon {
    margin-right: 8px;
}

.golf-player-info-body-fallback {
    padding: 15px;
}

.golf-summary-circle-desktop {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.golf-summary-label-desktop {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #495057;
}

/* Mobile summary fallback */
.golf-mobile-summary-body-fallback {
    padding: 20px;
}

.golf-mobile-summary-avatar-section {
    margin-bottom: 15px;
}

.golf-mobile-summary-info-section {
    margin-bottom: 20px;
}

.golf-mobile-summary-player-name {
    margin-bottom: 10px;
    color: #337ab7;
    font-weight: bold;
}

.golf-mobile-summary-player-subtitle {
    color: #777;
    margin-bottom: 10px;
    font-size: 14px;
}

.golf-mobile-summary-detail-item {
    margin-bottom: 10px;
}

.golf-mobile-summary-detail-icon {
    margin-right: 8px;
    color: #337ab7;
}

.golf-mobile-summary-notes-icon {
    margin-right: 8px;
    color: #f0ad4e;
}

.golf-mobile-summary-circle-mobile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Course table headers */
.golf-course-table-item-position {
    position: relative;
}

.golf-course-table-header {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 15px 12px;
}

.golf-course-table-container {
    position: relative;
}

.golf-scorecard-table {
    font-size: 12px;
    position: relative;
    z-index: 2;
}

/* Table cell styling */
.golf-table-cell-header {
    background: #f8f9fa;
    font-weight: bold;
}

.golf-table-cell-total {
    text-transform: capitalize;
}

.golf-score-cell {
    padding: 2px;
}

.golf-score-input {
    width: 100%;
    height: 30px;
    border: none;
    font-weight: bold;
}

/* Grand total table */
.golf-grand-total-container {
    position: relative;
}

.golf-grand-total-header {
    background: #28a745;
    color: white;
}

.golf-grand-total-table {
    font-size: 12px;
}

.golf-grand-total-cell-header {
    width: 90px;
}

.golf-grand-total-cell-course {
    width: 100px;
}

/* Summary table */
.golf-summary-table-container {
    overflow-x: auto;
}

.golf-summary-table {
    margin-bottom: 0;
}

.golf-summary-table-header {
    background: #28a745;
    color: white;
}

.golf-summary-table-cell-title {
    min-width: 200px;
    padding: 8px;
}

.golf-summary-table-cell-total {
    background: #dc3545;
    padding: 8px;
    min-width: 100px;
}

.golf-summary-table-cell-content {
    background: #f8f9fa;
    font-weight: bold;
    padding: 8px;
}

.golf-summary-table-scorediff-row {
    background: #e3f2fd;
}

.golf-summary-table-scorediff-header {
    background: #1976d2;
    color: white;
    font-weight: bold;
    padding: 8px;
}

.golf-summary-table-scorediff-content {
    color: #1976d2;
    padding: 8px;
}

/* ===== CSS từ print-certificate.tpl ===== */

/* Print certificate styling */
.golf-print-logo {
    border-radius: 50%;
}

.golf-print-rounds-section {
    padding: 20px;
}

.golf-print-table-header-stt {
    width: 8%;
}

.golf-print-table-header-date {
    width: 12%;
}

.golf-print-table-header-course {
    width: 35%;
}

.golf-print-table-header-gross {
    width: 9%;
}

.golf-print-table-header-net {
    width: 9%;
}

.golf-print-table-header-scorediff {
    width: 12%;
}

.golf-print-table-header-hdc {
    width: 15%;
}

.golf-print-round-used-star {
    color: red;
    font-weight: bold;
}

.golf-print-round-scorediff-highlight {
    background-color: rgba(255, 107, 107, 0.2);
}

.golf-print-note-section {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #FF6B35;
    border-radius: 5px;
}

.golf-print-note-text {
    margin: 0;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.golf-print-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-top: 2px solid #2E7D32;
    margin-top: 20px;
}

.golf-print-footer-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.golf-print-footer-date {
    color: #2E7D32;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

/* ===== CSS từ playing-cards-print.tpl ===== */

/* Print playing cards styling */
.golf-print-player-info-row {
    position: relative;
    z-index: 2;
}

.golf-print-player-card {
    height: 200px;
}

.golf-print-player-card-body {
    gap: 20px;
    height: calc(100% - 50px);
}

.golf-print-player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #007bff;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.golf-print-player-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.golf-print-player-avatar-text {
    font-size: 11px;
}

.golf-print-player-info-table {
    font-size: 15px;
}

.golf-print-player-info-label {
    width: 130px;
    font-size: 15px;
}

.golf-print-player-info-value {
    font-size: 15px;
}

.golf-print-summary-card {
    height: 200px;
}

.golf-print-summary-card-body {
    height: calc(100% - 50px);
}

.golf-print-summary-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.golf-print-summary-badge-small {
    font-size: 12px;
}

.golf-print-summary-label {
    font-size: 10px;
    font-weight: bold;
    color: #6c757d;
}

.golf-print-summary-label-small {
    font-size: 9px;
    font-weight: bold;
    color: #6c757d;
}

.golf-print-course-table-item {
    position: relative;
}

.golf-print-course-table-header {
    background: #007bff;
    color: white;
    padding: 12px 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.golf-print-scorecard-table {
    font-size: 10px;
    background: white;
}

.golf-print-score-input {
    width: 100%;
    height: 30px;
    background: transparent;
    text-align: center;
    font-weight: bold;
}

.golf-print-score-cell {
    padding: 2px;
}

.golf-print-adj-cell-highlight {
    padding: 2px;
    border: 2px solid #dc35d5;
    border-radius: 4px;
}

/* ===== CSS từ main.tpl ===== */

/* Main page styling */
.golf-mobile-player-cards {
    display: none;
}

.golf-mobile-player-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.golf-mobile-player-duration {
    margin-left: 8px;
    color: #6c757d;
    font-style: italic;
}

.golf-mobile-no-players-card {
    text-align: center;
    padding: 30px;
}

.golf-mobile-no-players-icon {
    margin-bottom: 15px;
}

.golf-mobile-no-players-text {
    font-size: 14px;
}

.golf-activity-icon-gradient {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.golf-activity-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.golf-activity-avatar-fallback {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.golf-activity-avatar-default {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.golf-activity-item-animated {
    animation: fadeInUp 0.5s ease both;
}

.golf-activity-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* ===== CSS từ player-rounds.tpl ===== */

/* Player rounds styling */
.golf-toggle-section {
    margin-bottom: 15px;
}

.golf-print-certificate-btn {
    margin-right: 10px;
}

.golf-rounds-table-header-number {
    width: 50px;
}

.golf-rounds-table-header-details {
    width: 80px;
}

.golf-rounds-card {
    margin-bottom: 15px;
}

.golf-rounds-card-title {
    margin: 0;
    line-height: 20px;
}

.golf-pagination-section {
    margin-top: 20px;
    padding: 15px;
}

.golf-pagination-section-cards {
    margin-top: 30px;
}

.golf-no-data-panel-body {
    padding: 50px 20px;
}

.golf-no-data-icon {
    margin-bottom: 20px;
}

.golf-round-modal-dialog {
    width: 95%;
    max-width: 1200px;
}

.golf-round-details-row {
    margin-bottom: 20px;
}

.golf-round-details-panel {
    border-radius: 8px;
}

.golf-round-details-panel-header {
    background: #007bff;
    color: white;
    padding: 12px 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

.golf-round-details-panel-body {
    background-color: #f8f9fa;
    padding: 20px;
}

.golf-round-details-clearfix {
    margin-bottom: 15px;
}

.golf-round-details-avatar-container {
    margin-right: 20px;
}

.golf-round-details-avatar-text {
    font-size: 10px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

.golf-round-details-table {
    font-size: 14px;
    margin-bottom: 0;
}

.golf-round-details-table-cell-label {
    font-weight: bold;
    font-size: 15px;
    color: #495057;
    border: none;
    padding: 5px 0;
}

.golf-round-details-table-cell-value {
    font-weight: bold;
    font-size: 15px;
    color: #007bff;
    border: none;
    padding: 5px 0;
}

.golf-round-details-table-cell-normal {
    font-size: 14px;
    color: #495057;
    border: none;
    padding: 5px 0;
}

.golf-round-details-rating-label {
    margin-right: 5px;
    padding: 4px 8px;
}

.golf-round-details-slope-label {
    padding: 4px 8px;
}

.golf-summary-panel-success {
    border-radius: 8px;
}

.golf-summary-panel-header-success {
    background: #28a745;
    color: white;
    padding: 12px 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

.golf-summary-panel-body-success {
    padding: 20px;
}

.golf-summary-badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.golf-summary-badge-container {
    text-center;
}

.golf-summary-badge-circle {
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin: 0 auto 8px auto;
}

.golf-summary-badge-label {
    display: block;
    margin-top: 5px;
    font-weight: bold;
    font-size: 11px;
}

.golf-course-table-wrapper {
    margin-bottom: 25px;
}

.golf-course-table-header-course-a {
    background: #007bff;
    color: white;
    padding: 12px 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}

.golf-course-table-header-course-b {
    background: #28a745;
    color: white;
    padding: 12px 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}

.golf-course-scorecard-table {
    font-size: 12px;
}

.golf-course-score-cell-border-red {
    border: 2px solid red;
    border-radius: 4px;
}

.golf-course-score-cell-border-blue {
    border: 2px solid blue;
    border-radius: 4px;
}

.golf-course-adj-cell-border {
    border: 2px solid #dc35d5;
    border-radius: 4px;
}

.box-render-tpc {
    padding-top: 15px;
    border-top: 1px solid #ddd;
}