:root {
    --bs-blue: #4285f4;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #ee3232;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #27ad57;
    --bs-teal: #20c997;
    --bs-cyan: #17a2b8;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #666;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f9f9f9;
    --bs-gray-200: #e5e5e5;
    --bs-gray-300: #d5d5d5;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #666;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #4285f4;
    --bs-secondary: #666;
    --bs-success: #27ad57;
    --bs-info: #17a2b8;
    --bs-warning: #ffc107;
    --bs-danger: #ee3232;
    --bs-light: #f9f9f9;
    --bs-dark: #212529;
    --bs-primary-rgb: 66, 133, 244;
    --bs-secondary-rgb: 102, 102, 102;
    --bs-success-rgb: 39, 173, 87;
    --bs-info-rgb: 23, 162, 184;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 238, 50, 50;
    --bs-light-rgb: 249, 249, 249;
    --bs-dark-rgb: 33, 37, 41;
    --bs-primary-text-emphasis: #1a3562;
    --bs-secondary-text-emphasis: #292929;
    --bs-success-text-emphasis: #104523;
    --bs-info-text-emphasis: #09414a;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #5f1414;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #d9e7fd;
    --bs-secondary-bg-subtle: #e0e0e0;
    --bs-success-bg-subtle: #d4efdd;
    --bs-info-bg-subtle: #d1ecf1;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #fcd6d6;
    --bs-light-bg-subtle: #fcfcfc;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #b3cefb;
    --bs-secondary-border-subtle: #c2c2c2;
    --bs-success-border-subtle: #a9debc;
    --bs-info-border-subtle: #a2dae3;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f8adad;
    --bs-light-border-subtle: #e5e5e5;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 0.8125rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #666;
    --bs-body-color-rgb: 102, 102, 102;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(102, 102, 102, 0.75);
    --bs-secondary-color-rgb: 102, 102, 102;
    --bs-secondary-bg: #e5e5e5;
    --bs-secondary-bg-rgb: 229, 229, 229;
    --bs-tertiary-color: rgba(102, 102, 102, 0.5);
    --bs-tertiary-color-rgb: 102, 102, 102;
    --bs-tertiary-bg: #f9f9f9;
    --bs-tertiary-bg-rgb: 249, 249, 249;
    --bs-heading-color: inherit;
    --bs-link-color: #4285f4;
    --bs-link-color-rgb: 66, 133, 244;
    --bs-link-decoration: none;
    --bs-link-hover-color: #356ac3;
    --bs-link-hover-color-rgb: 53, 106, 195;
    --bs-code-color: #d63384;
    --bs-highlight-color: #666;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #e5e5e5;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.1);
    --bs-border-radius: 0.1875rem;
    --bs-border-radius-sm: 0.125rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(66, 133, 244, 0.25);
    --bs-form-valid-color: #27ad57;
    --bs-form-valid-border-color: #27ad57;
    --bs-form-invalid-color: #ee3232;
    --bs-form-invalid-border-color: #ee3232;
}

#header .logo {
     padding: 20px 0;
}

.section-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 99;
}

#header .logo img {
    max-height: 80px !important;
    width: auto
}

#search-input {
    z-index: 0;
}

.mobile-menu-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1;
    display: none;
}

.mobile-menu-wrap.animate {
    transition: all .35s ease;
}

.mobile-menu-wrap {
    width: 320px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background: #fff;
    z-index: 9999;
    visibility: hidden;
    transform: translateX(100%);
}

.mobile-menu-wrap .logo {
    text-align: center;
    padding: 10px 0;
}

.mobile-menu-wrap .logo img {
    height: 30px;
    width: auto;
}

.mobile-menu-wrap .menu {
    background-color: #fff;
    height: calc(100vh - 111px);
    overflow: auto;
}

.mobile-menu-toggle-btn {
    padding: 2px 13px;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    text-align: center;
    background-color: #fff;
    font-size: 24px;
    margin: 5px 5px 0 0;
    float: right;
    display: none;
}

.title_menu_mb {
    background: #0d6efd;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

.menu_logo img {
    width: 100%;
}

.menu_logo {
    padding: 10px;
    border-bottom: 1px solid #007bff;
}

.vert-menu {
    background: #fff !important;
}

.vert-menu a, .vert-menu a:hover {
    color: #222222 !important;
    font-weight: 500;
    text-decoration: none;
}

ul.slimmenu {
    text-align: right;
}

.section-header {
    background-color: #FFF
}

ul.slimmenu {
    background-color: transparent !important;
    border-color: transparent !important;
}

ul.slimmenu>li>a {
    font-family: 'Roboto', sans-serif !important;
    color: #3c3c3c !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

ul.slimmenu li a:hover, ul.slimmenu li a:focus, ul.slimmenu li.current {
    background-color: transparent !important;
    color: #1f69ba !important;
}

ul.slimmenu li.current>a {
    color: #1f69ba !important;
}

ul.slimmenu li>ul {
    width: auto !important;
}

ul.slimmenu>li:first-child {
    display: none;
}

#header .menu-right {
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
}

ul.slimmenu li .sub-collapser>i {
    font-size: 15px !important;
    color: #3c3c3c !important;
}

#body {
    border-style: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}


.third-nav .row {
    border-bottom-width: 0;
}

body {
    background-color: #FFF;
    font-family: 'Roboto', sans-serif;
}

.third-nav .bg {
    background-color: transparent;
}

#footer {
    border-bottom-color: #393f43;
    background-color: #393f43;
    border-top-color: #393f43;
    min-height: auto;
}

#footer img {
    margin-bottom: 15px
}

.footerNav2 {
    background-color: transparent;
    padding: 0
}

.footerNav2 .theme-change a, .footerNav2 .theme-change span, .footerNav2 .bttop a {
    background-color: #dcdcdc;
    color: #393f43 !important;
}

.footerNav2 .theme-change span {
    background-color: #d8d0d0;
}

.css-width-img img {
    width: 100%;
    height: 100%;
}

.padding-warper h2 {
    margin-bottom: 15px;
    display: block;
    clear: both;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    font-weight: 700;
    color: #3c3c3c;
    text-transform: uppercase;
}

.personalArea {
    padding-left: 0px;
}

@media ( min-width : 992px) {
    .wraper {
        max-width: 1320px;
        width: 100%;
    }

    #header {
        /*padding: 0 50px*/
    }
}

@media (min-width : 1200px) {
    .wraper {
        width: 1320px;
        width: 100%;
    }

    ul.slimmenu {
        display: flex;
        justify-content: flex-end;
    }
    .padding-warper .padding-span {
        padding: 0 85px;
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 50px
    }
}

.breadcrumbs-wrap {
    padding-top: 15px;
}


@media (max-width : 768px) {
    .open-menu .mobile-menu-bg {
        display: block;
    }

    .open-menu .mobile-menu-wrap {
        visibility: visible;
        transform: translateX(0);
    }

    .section-header #header {
        display: flex;
        flex-direction: row;
        border-bottom: 1px solid #ccc;
    }

    #header .logo {
        width: 75%;
        flex: 1;
    }

    #header .header-nav {
        padding-right: 20px;
    }

    #tip {
        top: 87px;
    }

    #header .logo img {
        width: 72vw;
        height: 100%;
    }

    .collapse-button {
        right: 0px;
        display: none;
    }

    .mobile-menu-toggle-btn {
        display: block;
        order: 3;
    }
}

.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
}

.player-hdc-info .text-success {
    margin-bottom: 8px;
}

/* ✅ Golf Tracker Custom CSS - Bootstrap 3 Compatible */

/* ✅ Course Title Header */
.golf-course-title-header {
    background: linear-gradient(135deg, #42c147 0%, #27ad57 100%);
    color: white;
    padding: 15px 12px;
    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);
    text-align: center;
    margin-bottom: 8px;
}

.golf-course-title-header-blue {
    background: linear-gradient(135deg, #3485fd 0%, #007cad 100%);
    color: white;
    padding: 15px 12px;
    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);
    text-align: center;
    margin-bottom: 8px;
}

.golf-course-title-header-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #28549d 100%);
    color: white;
    padding: 15px 12px;
    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);
    text-align: center;
    margin-bottom: 8px;
}

/* ✅ Summary Circle Components */
.golf-summary-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 60px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}

.golf-summary-circle-primary {
    background-color: #337ab7;
    color: white;
}

.golf-summary-circle-warning {
    background-color: #f0ad4e;
    color: white;
}

.golf-summary-circle-info {
    background-color: #5bc0de;
    color: white;
}

.golf-summary-circle-success {
    background-color: #5cb85c;
    color: white;
}

.golf-summary-circle-danger {
    background-color: #d9534f;
    color: white;
}

.golf-summary-circle-default {
    background-color: #6c757d;
    color: white;
}

/* ✅ Mobile Summary Circle - Smaller */
.golf-summary-circle-mobile {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 9px;
    line-height: 35px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}

.golf-summary-circle-mobile.primary {
    background-color: #337ab7;
    color: white;
}

.golf-summary-circle-mobile.warning {
    background-color: #f0ad4e;
    color: white;
}

.golf-summary-circle-mobile.info {
    background-color: #5bc0de;
    color: white;
}

.golf-summary-circle-mobile.success {
    background-color: #5cb85c;
    color: white;
}

.golf-summary-circle-mobile.danger {
    background-color: #d9534f;
    color: white;
}

.golf-summary-circle-mobile.default {
    background-color: #6c757d;
    color: white;
}

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

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

/* ✅ Avatar Circle */
.golf-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    line-height: 60px;
    display: inline-block;
    text-align: center;
}

.golf-avatar-circle-mobile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    line-height: 45px;
    display: inline-block;
    text-align: center;
}

/* ✅ Player Info Styles */
.golf-player-info {
    font-size: 14px;
    margin-bottom: 4px;
}

.golf-player-info-mobile {
    font-size: 10px;
    margin-bottom: 4px;
}

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

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

/* ✅ Course Rating Badges */
.golf-rating-badge-success {
    background-color: #5cb85c;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    margin-right: 4px;
    border-radius: 4px;
    display: inline-block;
}

.golf-rating-badge-info {
    background-color: #5bc0de;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.golf-rating-badge-success-mobile {
    background-color: #5cb85c;
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    margin-right: 4px;
    border-radius: 3px;
    display: inline-block;
}

.golf-rating-badge-info-mobile {
    background-color: #5bc0de;
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    display: inline-block;
}

/* ✅ Panel Enhancements */
.golf-panel-player-info {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.golf-panel-summary {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ✅ Text Utilities */
.golf-text-primary {
    color: #337ab7;
}

.golf-text-success {
    color: #3c763d;
}

.golf-text-info {
    color: #31708f;
}

.golf-text-warning {
    color: #8a6d3b;
}

.golf-text-danger {
    color: #a94442;
}

.golf-text-muted {
    color: #777;
}

/* ✅ Margin Utilities */
.golf-mr-1 {
    margin-right: 4px;
}

.golf-mr-2 {
    margin-right: 8px;
}

.golf-mb-1 {
    margin-bottom: 4px;
}

.golf-mb-2 {
    margin-bottom: 8px;
}

.golf-mt-1 {
    margin-top: 4px;
}

.golf-mt-2 {
    margin-top: 8px;
}

/* ✅ Font Weight */
.golf-fw-bold {
    font-weight: bold;
}

.golf-fw-medium {
    font-weight: 500;
}

/* ✅ Display Utilities */
.golf-d-inline-block {
    display: inline-block;
}

.golf-text-center {
    text-align: center;
}

/* ✅ Row Spacing */
.golf-row-spacing {
    margin-bottom: 15px;
}

/* ✅ Golf Scorecard Box */
.golf-scorecard-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.golf-scorecard-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.golf-scorecard-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.golf-scorecard-title .fa {
    color: #337ab7;
    font-size: 16px;
}

.golf-scorecard-title h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.golf-scorecard-actions {
    display: flex;
    gap: 5px;
}

.golf-scorecard-actions .btn {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
}

.golf-scorecard-body {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.golf-player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #337ab7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.golf-player-details {
    flex: 1;
}

.golf-player-name-title {
    font-size: 16px;
    font-weight: bold;
    color: #337ab7;
    margin: 0 0 4px 0;
}

.golf-player-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.golf-player-meta .fa {
    margin-right: 4px;
}

.golf-course-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.golf-tee-badge {
    background: #f0ad4e;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.golf-rating-info {
    background: #5cb85c;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 4px;
}

.golf-scores-summary {
    display: flex;
    gap: 10px;
    align-items: center;
}

.golf-score-item {
    text-align: center;
    min-width: 45px;
}

.golf-score-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin: 0 auto 4px;
}

.golf-score-circle.primary {
    background: #337ab7;
    color: white;
}

.golf-score-circle.info {
    background: #5bc0de;
    color: white;
}

.golf-score-circle.warning {
    background: #f0ad4e;
    color: white;
}

.golf-score-circle.success {
    background: #5cb85c;
    color: white;
}

.golf-score-circle.default {
    background: #6c757d;
    color: white;
}

.golf-score-label {
    font-size: 9px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

/* ✅ Responsive Utilities for Mobile */
@media (max-width: 767px) {
    .golf-course-title-header,
    .golf-course-title-header-blue,
    .golf-course-title-header-primary {
        font-size: 12px;
        padding: 10px 8px;
    }

    .golf-player-info {
        font-size: 10px;
    }

    .golf-player-name {
        font-size: 13px;
    }

    .golf-scorecard-body {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .golf-player-meta {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .golf-scores-summary {
        align-self: stretch;
        justify-content: space-around;
    }

    .golf-score-circle {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
}

/* ✅ Golf Scorecard Header Layout - Single Row */
.golf-scorecard-header-single-row {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
}

.golf-scorecard-title-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.golf-scorecard-title-compact .fa {
    color: #337ab7;
    font-size: 14px;
}

.golf-scorecard-title-compact h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.golf-scorecard-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.golf-auto-advance-checkbox {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}

.golf-auto-advance-checkbox input[type="checkbox"] {
    margin: 0 4px 0 0;
}

.golf-auto-advance-checkbox .fa {
    color: #5bc0de;
}

.golf-action-buttons {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.golf-action-buttons .btn {
    padding: 4px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

.golf-action-buttons .btn .fa {
    margin-right: 3px;
}

.golf-tip-message {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 4px 8px;
    color: #337ab7;
    flex-shrink: 0;
    max-width: 300px;
}

.golf-tip-message .fa-keyboard {
    color: #337ab7;
}

.golf-tip-message .fa-bolt {
    color: #f0ad4e;
}

.golf-tip-message kbd {
    background: #337ab7;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
}

.golf-tip-close {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
}

.golf-tip-close:hover {
    color: #666;
}

.course-tables-container {
    display: flex;
    gap: 10px;
}

.bg-warning {
    background-color: #ff771b;
}

.bg-success {
    background-color: #2eb253;
}

.bg-danger {
    background-color: #da3737;
}

.course-table-item {
    width: 50%;
}

.course-title-header {
    background: linear-gradient(135deg, #3485fd 0%, #007cad 100%);
    color: white !important;
    padding: 15px 12px; 
    font-weight: 700; 
    font-size: 16px; 
    letter-spacing: 0.8px; 
    text-transform: uppercase; 
    border-radius: 0px !important; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); 
    border: 2px solid rgba(255,255,255,0.2);
}

.course-title-header-right {
    background: linear-gradient(135deg, #42c147 0%, #27ad57 100%) !important;
}

.panel-custom .panel-body {
    min-height: 178px;
}

.img-fluid {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ccc;
}

.mobile-score-info-main {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ✅ Responsive cho Single Row Header */
@media (max-width: 1200px) {
    .golf-tip-message {
        display: none;
    }
}

@media (max-width: 992px) {
    .golf-scorecard-controls {
        gap: 8px;
    }

    .golf-action-buttons .btn {
        padding: 3px 6px;
    }

    .golf-auto-advance-checkbox {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .golf-auto-advance-checkbox {
        display: none;
    }
    .golf-scorecard-header-single-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .golf-scorecard-controls {
        width: 100%;
        justify-content: space-between;
    }

    .golf-action-buttons {
        gap: 2px;
    }

    .golf-action-buttons .btn {
        padding: 2px 4px;
    }

    .course-tables-container {
        flex-direction: column;
    }

    .course-tables-container .course-table-item {
        width: 100%;
    }

    .course-title-header {
        padding: 0 !important;
    }
}

/* ✅ Golf Score Input Full Width */
.golf-score-input-full {
    width: 100% !important;
    min-width: 60px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.golf-score-input-full:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.2);
    outline: none;
    background: #f8f9fa;
}

.golf-score-input-full:hover {
    border-color: #5bc0de;
}

/* ✅ Score Input Container */
.golf-score-input-container {
    width: 100%;
    position: relative;
}

.golf-score-input-container .form-control {
    width: 100% !important;
    min-width: 60px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.golf-score-input-container .form-control:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.2);
    outline: none;
    background: #f8f9fa;
}

.golf-score-input-container .form-control:hover {
    border-color: #5bc0de;
}

/* ✅ Score Table Cell Full Width */
.golf-score-cell-full {
    width: 100%;
    padding: 4px;
}

.golf-score-cell-full input {
    width: 100% !important;
    min-width: 60px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.golf-score-cell-full input:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.2);
    outline: none;
    background: #f8f9fa;
}

.golf-score-cell-full input:hover {
    border-color: #5bc0de;
}

/* ✅ Scorecard Table Full Width Inputs */
.golf-scorecard-table input[type="number"],
.golf-scorecard-table input[type="text"] {
    width: 100% !important;
    min-width: 60px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.golf-scorecard-table input[type="number"]:focus,
.golf-scorecard-table input[type="text"]:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.2);
    outline: none;
    background: #f8f9fa;
}

.golf-scorecard-table input[type="number"]:hover,
.golf-scorecard-table input[type="text"]:hover {
    border-color: #5bc0de;
}

/* ✅ Table Cell Padding for Full Width */
.golf-scorecard-table td {
    padding: 4px !important;
}

.golf-scorecard-table th {
    padding: 8px 4px !important;
    text-align: center;
}

/* ✅ Mobile Responsive for Score Inputs */
@media (max-width: 768px) {
    .golf-score-input-full,
    .golf-score-input-container .form-control,
    .golf-score-cell-full input,
    .golf-scorecard-table input[type="number"],
    .golf-scorecard-table input[type="text"] {
        min-width: 50px;
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* ✅ Equal Height Boxes - Player Info & Summary */
.golf-equal-height-container {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.golf-equal-height-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.golf-player-info-box {
    background: linear-gradient(135deg, #337ab7 0%, #286090 100%);
    color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.golf-summary-box {
    background: linear-gradient(135deg, #5cb85c 0%, #449d44 100%);
    color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.golf-box-header {
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.golf-box-header .fa {
    font-size: 16px;
}

.golf-box-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ✅ Player Info Content */
.golf-player-info-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.golf-player-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.golf-player-details-large {
    flex: 1;
}

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

.golf-player-meta-large {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 4px;
}

.golf-player-meta-large .fa {
    margin-right: 6px;
    width: 12px;
}

.golf-course-badges {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.golf-tee-badge-large {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.3);
}

.golf-rating-badge-large {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.3);
}

/* ✅ Summary Content */
.golf-summary-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.golf-summary-item {
    text-align: center;
    flex: 1;
    min-width: 70px;
}

.golf-summary-circle-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto 8px;
    border: 2px solid rgba(255,255,255,0.3);
}

.golf-summary-circle-large.score {
    background: #337ab7;
}

.golf-summary-circle-large.net {
    background: #f0ad4e;
}

.golf-summary-circle-large.adj {
    background: #5bc0de;
}

.golf-summary-circle-large.scorediff {
    background: #5cb85c;
}

.golf-summary-circle-large.hdc {
    background: #d9534f;
}

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

.golf-summary-label-large {
    font-size: 10px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ✅ Responsive for Equal Height Boxes */
@media (max-width: 768px) {
    .golf-equal-height-container {
        flex-direction: column;
        gap: 10px;
    }

    .golf-player-info-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .golf-player-avatar-large {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .golf-player-name-large {
        font-size: 16px;
    }

    .golf-summary-content {
        gap: 8px;
    }

    .golf-summary-circle-large {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .golf-summary-item {
        min-width: 60px;
    }
}