/* ============================================
   PAGE WIDTH CONSTRAINT FOR LARGE SCREENS
   ============================================ */

/* CSS Variables - Adjust these to change page width */
:root {
    --page-max-width: 1200px;
    --content-gap: 5px;
    --content-max-width: calc(var(--page-max-width) - (var(--content-gap) * 2));
}

/* Constrain page to max width and center on large screens */
body {
    background-color: #f5f5f0;
}

/* ============================================
   GLOBAL LINK STYLES
   ============================================ */

/* Override default anchor tag colors */
a {
    color: #3d8840 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b7542 !important;
    text-decoration: underline;
}

a:visited {
    color: #a68e52 !important;
}

/* Breadcrumb links should use site colors */
.breadcrumb a {
    color: #a68e52 !important;
}

.breadcrumb a:hover {
    color: #8b7542 !important;
}

/* ============================================
   MODERN LOGIN PAGE STYLES
   ============================================ */

/* Login page specific styles */
body.login-page {
    background: linear-gradient(135deg, #1A3E67 0%, #262626 100%) !important;
    min-height: 100vh;
}

body.login-page .bg-image {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: none !important;
}

body.login-page .main-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: none !important;
    max-width: 100% !important;
    width: 100% !important;
    max-height: none !important;
}

body.login-page .main-content-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.login-page .main-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Modern Login Header */
.modern-login-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-bottom: 0;
}

.login-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.login-brand {
    display: inline-block;
}

.login-brand img {
    max-height: 60px;
    height: auto;
    width: auto;
}

/* Modern Login Wrapper */
.modern-login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.modern-login-container {
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reset-password-card {
    padding: 40px;
}

/* Login Logo */
.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-width: 200px;
    height: auto;
}

/* Login Header Text */
.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    font-size: 28px;
    color: #262626;
    margin-bottom: 8px;
    font-weight: 700;
}

.login-header p {
    font-size: 15px;
    color: #718096;
}

/* Login Form */
.login-form .form-group {
    margin-bottom: 24px;
}

.login-form label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-input {
    height: 48px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.login-input:focus {
    border-color: #a68e52 !important;
    box-shadow: 0 0 0 3px rgba(166, 142, 82, 0.1) !important;
    outline: none !important;
}

/* Login Button */
.btn-login {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #a68e52 0%, #8b7542 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(166, 142, 82, 0.3);
}

.btn-login:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b7542 0%, #a68e52 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(166, 142, 82, 0.4);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Login Error */
.login-error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 12px 16px;
    color: #c00;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Login Footer */
.login-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.forgot-password-link {
    color: #a68e52 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #262626 !important;
    text-decoration: underline !important;
}

/* Login Spinner */
.login-spinner {
    text-align: center;
    padding: 40px 20px;
}

/* Footer styling for login page */
body.login-page .site-footer {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-top: auto;
}

body.login-page .site-footer,
body.login-page #footerreact,
body.login-page .site-footer .container {
    background-color: transparent !important;
    color: #fff !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 40px 30px;
        border-radius: 12px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .login-logo img {
        max-width: 160px;
    }
}

/* Remove old login styles */
body.login-page .splash,
body.login-page .transparent,
body.login-page .login-container,
body.login-page .splashlogin,
body.login-page .splash-img {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hide old header on login page */
body.login-page .navbar-default,
body.login-page #header {
    display: none !important;
}

/* ============================================
   REGULAR PAGE STYLES
   ============================================ */

.navbar-default,
.main-content-wrapper {
    max-width: var(--page-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #fff;
}

.site-footer {
    max-width: var(--page-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #000 !important;
    color: #fff !important;
}

/* Ensure theme wrapper doesn't override */
.theme-wrapper {
    max-width: var(--page-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Constrain header rows to match main content width */
.header-top-row,
.menu-wrapper-with-borders {
    max-width: var(--page-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Constrain header div to match content width */
#header {
    max-width: var(--page-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

    /* Override bootstrap5-compat.css - constrain header containers */
    #header .container,
    #header .container-sm,
    #header .container-md,
    #header .container-lg,
    #header .container-xl,
    #header .container-xxl {
        max-width: var(--page-max-width) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

/* Ensure navbar background spans full width but content is constrained */
.navbar-bg {
    max-width: var(--page-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure navbar header is constrained */
.navbar-header {
    max-width: var(--page-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure navbar wrapper centers its content */
nav.navbar-default {
    width: 100%;
    max-height: 120px !important;
}

/* Center and constrain main content container */
.main-content-container {
    max-width: var(--content-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--content-gap) !important;
    padding-right: var(--content-gap) !important;
    box-sizing: border-box !important;
}

/* Override Qlabbir.css media query that sets 1170px width */
@media (min-width: 1200px) {
    .main-content-wrapper .main-content-container {
        width: 100% !important;
        max-width: var(--content-max-width) !important;
    }
}

/* Ensure main content takes full width of container */
.main-content {
    width: 100%;
}

/* Center the entire page content and ensure footer at bottom */
.bg-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

/* Ensure main content grows to push footer down */
.main-content-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

/* Footer stays at bottom */
.site-footer {
    flex-shrink: 0;
    width: 100%;
}

/* Footer react container should have black background */
#footerreact {
    background-color: #000 !important;
    color: #fff !important;
    max-height: 18px !important;
}

/* Constrain body react content to match header with padding */
#bodyreact {
    max-width: var(--content-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--content-gap) !important;
    padding-right: var(--content-gap) !important;
    box-sizing: border-box !important;
}

/* ============================================
   MODAL STYLING
   ============================================ */

/* Prevent table styles from affecting modal dialogs */
.modal-dialog,
.modal-dialog * {
    --bs-table-bg: transparent !important;
    --bs-table-bg-state: transparent !important;
    --bs-table-bg-type: transparent !important;
    --bs-table-accent-bg: transparent !important;
}

.modal-header {
    background-color: #a68e52 !important;
    color: white !important;
    border-radius: 5px 5px 0px 0px !important;
}

.qlabbir-modal-title {
    color: white !important;
}

/* Close is an <a>; global a:visited (gold) must not match the gold modal header */
.modal-header a.modal-close-icon,
.modal-header a.modal-close-icon:link,
.modal-header a.modal-close-icon:visited,
.modal-header a.modal-close-icon:hover,
.modal-header a.modal-close-icon:focus,
.modal-header a.modal-close-icon:active {
    color: #fff !important;
    text-decoration: none !important;
}

.modal-header a.modal-close-icon:hover {
    color: #f0f0f0 !important;
    opacity: 0.95;
}

.modal-header a.modal-close-icon i {
    color: inherit !important;
}

body .bg-image .navbar-default .theme-wrapper .theme-hdr-container .navbar-bg .navbar-nav .dropdown a {
    color: #fff !important;
}

body .bg-image .navbar-default .theme-wrapper .theme-hdr-container .navbar-bg .navbar-nav .dropdown.open a,
body .bg-image .navbar-default .theme-wrapper .theme-hdr-container .navbar-bg .navbar-nav .dropdown.show a,
body .bg-image .navbar-default .theme-wrapper .theme-hdr-container .navbar-bg .navbar-nav .dropdown:hover a {
    color: #333 !important;
}

/* Remove gap between parent menu and dropdown */
body .bg-image .navbar-default .theme-wrapper .theme-hdr-container .navbar-bg .navbar-nav .dropdown .dropdown-menu {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================
   MODERN TABLE STYLES
   ============================================ */

/* Modern table styling for leaderboards and scorecards */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #262626 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 16px 12px;
    border: none !important;
    border-bottom: 2px solid #a68e52 !important;
}

.table tbody tr {
    transition: all 0.3s ease;
    background-color: white;
}

.table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.table tbody tr:hover {
    background-color: #fff9f0 !important;
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(166, 142, 82, 0.15);
}

.table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    border-color: #e5e7eb !important;
    color: #374151;
    font-size: 14px;
}

.table tbody td h4 {
    margin: 0;
    color: #262626;
    font-weight: 700;
}

/* Scorecard specific styling */
.holescore,
.holepoints {
    font-weight: 600;
    min-width: 40px;
}

.holescore {
    color: #1A3E67;
}

.holepoints {
    color: #a68e52;
}

/* Table total columns */
.table tbody td:last-child {
    background-color: #fef9f3;
    font-weight: 700;
}

/* Striped table improvements */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(166, 142, 82, 0.03);
}

/* Bordered table improvements */
.table-bordered {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
}

.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px !important;
}

/* Responsive table wrapper */
.table-responsive {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Modern table pagination */
.pagination {
    gap: 6px;
}

.pagination .page-link {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    color: #a68e52 !important;
    padding: 8px 14px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #a68e52 !important;
    color: white !important;
    border-color: #a68e52;
}

.pagination .page-item.active .page-link {
    background-color: #a68e52 !important;
    border-color: #a68e52 !important;
    color: white !important;
}

/* Table action buttons/icons */
.table .btn-sm,
.table .fa,
.table .icon {
    transition: all 0.2s ease;
}

.table .btn-sm:hover {
    transform: scale(1.1);
}

/* Leaderboard specific enhancements */
.leaderboard-table tbody tr:first-child {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    font-weight: 600;
}

.leaderboard-table tbody tr:first-child td {
    color: #a68e52;
    font-size: 15px;
}

/* Position badges for top 3 */
.leaderboard-position-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.leaderboard-position-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.leaderboard-position-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B8722A 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* ============================================
   MODERN PANEL/PORTLET HEADER STYLES
   ============================================ */

/* Modernize panel headers */
.panel {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.panel .panel-heading {
    background: linear-gradient(135deg, #1A3E67 0%, #2a5280 100%) !important;
    color: white !important;
    border-radius: 10px 10px 0 0 !important;
    border: none !important;
    padding: 18px 20px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

.panel .panel-heading a,
.panel .panel-heading h4,
.panel .panel-heading h4.panel-title,
.panel .panel-heading h4.panel-title a,
.panel .panel-heading a span,
.panel .panel-heading h4.panel-title span {
    color: white !important;
    text-shadow: none !important;
    font-weight: 600;
}

.panel .panel-heading .portlet-toolbar .fa.fa-cog.dropdown-toggle::before {
    color: white !important;
}

.panel .panel-heading .portlet-toolbar .fa.fa-cog.dropdown-toggle:hover::before {
    color: #a68e52 !important;
}

.panel .panel-heading .portlet-toolbar .dropdown-menu {
    background-color: white !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.panel .panel-heading .portlet-toolbar .dropdown-menu a,
.panel .panel-heading .portlet-toolbar .dropdown-menu div,
.panel .panel-heading .portlet-toolbar .dropdown-menu li,
.panel .panel-heading .portlet-toolbar .dropdown-menu span {
    color: #374151 !important;
}

.panel .panel-heading .portlet-toolbar .dropdown-menu a:hover,
.panel .panel-heading .portlet-toolbar .dropdown-menu div:hover,
.panel .panel-heading .portlet-toolbar .dropdown-menu li:hover,
.panel .panel-heading .portlet-toolbar .dropdown-menu span:hover {
    color: white !important;
    background-color: #a68e52 !important;
    border-radius: 6px;
}

.panel .panel-body {
    border-radius: 0 0 10px 10px !important;
    padding: 24px 20px;
    background-color: white;
}

/* Portlet section styling */
.portlet {
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb !important;
    margin-bottom: 24px;
    overflow: hidden;
}

.portlet-title {
    background: linear-gradient(135deg, #1A3E67 0%, #2a5280 100%) !important;
    color: white !important;
    padding: 18px 20px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-radius: 10px 10px 0 0 !important;
}

.portlet-body {
    padding: 24px 20px;
    background-color: white;
}

/* Dashboard specific portlet styling */
.dashboard-home-title {
    background: linear-gradient(135deg, #a68e52 0%, #8b7542 100%) !important;
    color: white !important;
}

.dashboard-home-body {
    background-color: white;
}

/* Well component modernization */
.well {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: none;
    margin-bottom: 20px;
}

.well h3,
.well h4 {
    color: #262626;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

.well-title {
    color: #1A3E67;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #a68e52;
}

/* ============================================
   MODERN BUTTON STYLES
   ============================================ */

/* Primary buttons - use site green */
.btn-primary,
.btn.btn-primary,
.button-primary {
    background: #3d8840 !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(61, 136, 64, 0.25);
}

.btn-primary:hover,
.btn.btn-primary:hover,
.button-primary:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    color: white !important;
}

.btn-primary:active,
.btn.btn-primary:active,
.button-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled,
.btn.btn-primary:disabled,
.button-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Default/Secondary buttons */
.btn-default,
.btn.btn-default,
.button.btn-default {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-default:hover,
.btn.btn-default:hover,
.button.btn-default:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%) !important;
    border-color: #a68e52 !important;
    color: #262626 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Cancel buttons */
.btn-cancel,
.button.btn-cancel {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-cancel:hover,
.button.btn-cancel:hover {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Info buttons */
.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    color: white !important;
}

/* Success buttons */
.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    color: white !important;
}

/* Danger/Reject buttons */
.btn-danger,
.btn-reject {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-danger:hover,
.btn-reject:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    color: white !important;
}

/* Small buttons */
.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}

/* Large buttons */
.btn-lg {
    padding: 14px 28px !important;
    font-size: 17px !important;
    border-radius: 10px !important;
}

/* Button groups */
.btn-group .btn {
    border-radius: 0 !important;
}

.btn-group .btn:first-child {
    border-radius: 8px 0 0 8px !important;
}

.btn-group .btn:last-child {
    border-radius: 0 8px 8px 0 !important;
}

/* Icon buttons */
.btn .fa,
.btn .icon {
    margin-right: 6px;
}

/* ============================================
   MODERN FORM INPUT STYLES
   ============================================ */

/* Modern form controls */
.form-control {
    height: 44px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
    color: #374151 !important;
}

.form-control:focus {
    border-color: #3d8840 !important;
    box-shadow: 0 0 0 3px rgba(61, 136, 64, 0.1) !important;
    outline: none !important;
    background-color: white !important;
}

.form-control:disabled {
    background-color: #f3f4f6 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Textarea styling */
textarea.form-control {
    min-height: 100px !important;
    resize: vertical;
}

/* Select dropdowns */
select.form-control,
.form-select {
    height: 44px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
    color: #374151 !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px !important;
}

.form-select:focus,
select.form-control:focus {
    border-color: #3d8840 !important;
    box-shadow: 0 0 0 3px rgba(61, 136, 64, 0.1) !important;
    outline: none !important;
    background-color: white !important;
}

.form-select:disabled,
select.form-control:disabled {
    background-color: #f3f4f6 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form labels */
.form-group label,
.control-label {
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

/* Input groups (with icons/buttons) */
.input-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0 !important;
}

.input-group .form-control:first-child {
    border-radius: 8px 0 0 8px !important;
}

.input-group-text {
    background-color: #f8f9fa !important;
    border: 2px solid #e2e8f0 !important;
    border-right: none !important;
    color: #6b7280 !important;
    font-weight: 500;
    border-radius: 8px 0 0 8px;
}

.input-group .btn {
    border-radius: 0 8px 8px 0 !important;
}

/* Checkboxes and radios */
.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #a68e52 !important;
    border-color: #a68e52 !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(166, 142, 82, 0.1) !important;
}

.form-check-label {
    margin-left: 8px;
    color: #374151;
    font-weight: 500;
}

/* Form validation states */
.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #ef4444 !important;
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #10b981 !important;
}

.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Invalid feedback text */
.invalid-feedback {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

/* Valid feedback text */
.valid-feedback {
    color: #10b981;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

/* Form row spacing */
.form-row {
    margin-bottom: 16px;
}

/* ============================================
   MODERN TAB STYLES
   ============================================ */

/* Nav tabs container */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
    gap: 4px;
    margin-bottom: 24px;
}

/* Tab items */
.nav-tabs .nav-item {
    margin-bottom: -2px;
}

/* Tab links */
.nav-tabs .nav-link {
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    color: #262626 !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: #3d8840 !important;
    background-color: #f9fafb !important;
}

/* Active tab */
.nav-tabs .nav-link.active {
    color: #3d8840 !important;
    background-color: white !important;
    border-bottom: 3px solid #3d8840 !important;
    font-weight: 700 !important;
}

/* Tab content */
.tab-content {
    background-color: white;
    border-radius: 0 0 10px 10px;
    padding: 24px 20px;
}

/* Pill style tabs */
.nav-pills .nav-link {
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    transition: all 0.3s ease !important;
    margin-right: 8px;
    margin-bottom: 8px;
}

.nav-pills .nav-link:hover {
    background-color: #f9fafb !important;
    color: #3d8840 !important;
}

.nav-pills .nav-link.active {
background: #3d8840 !important;
color: white !important;
box-shadow: 0 2px 8px rgba(61, 136, 64, 0.25);
}

/* Vertical tabs */
.nav-tabs.flex-column .nav-link {
    border-radius: 8px 0 0 8px !important;
    border-left: 3px solid transparent !important;
    border-bottom: none !important;
    margin-bottom: 4px;
}

.nav-tabs.flex-column .nav-link.active {
    border-left: 3px solid #3d8840 !important;
    border-bottom: none !important;
}

/* QlabbirTabs specific styling */
.qlabbir-tabs-tabs .nav-tabs .nav-link.active {
    color: #000 !important;
    background-color: transparent !important;
    border-color: transparent !important;
    border-bottom-color: #3d8840 !important;
    font-weight: 500 !important;
}

/* Tab pane animations */
.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab with icons */
.nav-tabs .nav-link .fa,
.nav-tabs .nav-link .icon,
.nav-pills .nav-link .fa,
.nav-pills .nav-link .icon {
    margin-right: 8px;
}

/* Tab badges/counts */
.nav-link .badge {
    margin-left: 8px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
}

.nav-link.active .badge {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* ============================================
   MODERN GOLF SCORECARD STYLES
   ============================================ */

/* Scorecard container */
.scorecard-container {
    background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
}

/* Key metrics summary at top */
.scorecard-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.scorecard-metric {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.scorecard-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.scorecard-metric.highlight {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    border: 2px solid #a68e52;
}

.metric-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    margin-bottom: 12px;
}

.metric-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-value.target {
    color: #1A3E67;
}

.metric-value.actual {
    color: #374151;
}

.metric-value.actual.positive {
    color: #10b981;
}

.metric-value.actual.negative {
    color: #ef4444;
}

.metric-value.net {
    color: #a68e52;
}

.metric-value.net.positive {
    color: #10b981;
}

.metric-value.net.negative {
    color: #ef4444;
}

.metric-subtitle {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* Golf scorecard table */
.golf-scorecard {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.scorecard-table {
    margin-bottom: 0 !important;
    background: white;
}

.scorecard-table thead .scorecard-header th {
    background: linear-gradient(135deg, #1A3E67 0%, #2a5280 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 10px 6px !important;
    border: 1px solid #164063 !important;
}

.scorecard-table .hole-col {
    min-width: 38px;
    width: 38px;
}

.scorecard-table .player-col {
    min-width: 120px;
    width: 120px;
}

.scorecard-table .metric-col {
    min-width: 65px;
    width: 65px;
}

.scorecard-table .total-col {
    min-width: 65px;
    width: 65px;
    background: rgba(166, 142, 82, 0.1) !important;
}

.hole-number {
    font-size: 12px;
    font-weight: 700;
}

/* Player name cell */
.player-name {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-right: 2px solid #a68e52 !important;
    vertical-align: middle !important;
    padding: 12px 8px !important;
}

.player-info {
    text-align: center;
}

.player-name-text {
    font-size: 13px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 4px;
}

.player-target {
    font-size: 11px;
    color: #1A3E67;
    font-weight: 600;
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
}

.player-net {
    font-size: 13px;
    font-weight: 700;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
}

.player-net.positive {
    color: #059669;
    background: #d1fae5;
    border: 1px solid #10b981;
}

.player-net.negative {
    color: #dc2626;
    background: #fee2e2;
    border: 1px solid #ef4444;
}

/* Metric label column */
.metric-label {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 8px 6px !important;
    text-align: center;
    border-right: 2px solid #d1d5db !important;
}

.points-label {
    background: linear-gradient(135deg, #fef9f3 0%, #fef3e7 100%);
    color: #a68e52;
}

/* Strokes row styling */
.golfer-row {
    background-color: white;
}

.golfer-row td {
    border-bottom: 1px solid #e5e7eb !important;
}

/* Points row styling */
.points-row {
    background: linear-gradient(135deg, #fffbf5 0%, #fff 100%);
}

.points-row td {
    border-bottom: 2px solid #d1d5db !important;
}

/* Hole score cells */
.holescore {
    font-weight: 700 !important;
    font-size: 13px;
    color: #1A3E67 !important;
    background-color: #f8fafc;
    padding: 8px 4px !important;
}

/* Hole points cells */
.holepoints {
    font-weight: 700 !important;
    font-size: 13px;
    color: #a68e52 !important;
    background-color: #fffcf7;
    padding: 6px 4px !important;
}

/* Points indicator - draws shapes around the number */
.points-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    font-weight: 700;
    font-size: 13px;
    color: #262626;
}

/* Par - no indicator */
.points-indicator.par {
    /* Clean, no border */
}

/* Birdie - single circle */
.points-indicator.birdie {
    border: 3px solid #10b981;
    border-radius: 50%;
    color: #059669;
}

/* Eagle - double circle */
.points-indicator.eagle {
    border: 3px double #059669;
    border-radius: 50%;
    color: #047857;
    font-weight: 800;
}

/* Bogey - square */
.points-indicator.bogey {
    border: 3px solid #ef4444;
    border-radius: 2px;
    color: #dc2626;
}

/* Double Bogey+ (0 points) - strikethrough */
.points-indicator.double-bogey {
    text-decoration: line-through;
    text-decoration-color: #dc2626;
    text-decoration-thickness: 2px;
    color: #b91c1c;
    font-weight: 800;
}

/* Add visual emphasis on hover */
.holepoints:hover .points-indicator {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.holepoints:hover {
    background-color: #fff8ed !important;
    cursor: help;
}

/* Total cells */
.total-cell {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%) !important;
    border-left: 2px solid #a68e52 !important;
    font-weight: 700;
}

.points-total {
    background: linear-gradient(135deg, #a68e52 0%, #8b7542 100%) !important;
}

.points-total .total-value {
    color: white !important;
}

.total-value {
    font-size: 18px;
    font-weight: 800;
    color: #262626;
}

/* Scorecard legend */
.scorecard-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 8px;
    font-size: 13px;
}

.legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.legend-label {
    font-weight: 700;
    color: #4b5563;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-value {
    color: #6b7280;
    font-size: 12px;
}

.legend-divider {
    color: #d1d5db;
    font-weight: 300;
    font-size: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .scorecard-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-value {
        font-size: 36px;
    }

    .scorecard-legend {
        flex-direction: column;
        gap: 8px;
    }

    .legend-divider {
        display: none;
    }

    .scorecard-table .hole-col {
        min-width: 35px;
        width: 35px;
        font-size: 11px;
    }

    .player-col {
        min-width: 100px;
    }
}

/* ============================================
   WEEK HEADER COMPACT LAYOUT
   ============================================ */

/* Compact week header container */
.week-header-container {
    background: white;
    border-radius: 10px;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.week-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.week-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #262626;
    display: flex;
    align-items: center;
}

.week-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.week-selector label {
    margin: 0;
    font-weight: 600;
    color: #4a5568;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .week-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .week-title {
        font-size: 20px;
    }

    .week-selector {
        width: 100%;
    }

    .week-selector .dropdown,
    .week-selector select {
        width: 100% !important;
    }
}

/* ============================================
   REGISTRATION LEAGUE STYLES
   ============================================ */

/* League Section Headers - Simple, clean */
.league-section-header {
    padding: 0 0 16px 0;
    margin-bottom: 24px;
}

.league-section-title {
    color: #262626;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Section containers */
.registration-league-section,
.active-league-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.registration-league-content {
    margin-top: 0;
}

/* League details row - for registration only */
.league-details-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    border: 1px solid #e5e7eb;
}

.league-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.detail-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 15px;
    color: #262626;
    font-weight: 700;
}

/* Registration Status Section */
.registration-status {
    margin-top: 24px;
}

.registration-success .team-info-card {
    background: linear-gradient(135deg, #d1fae5 0%, #fff 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.team-info-card h5 {
    color: #059669;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-member {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    border-left: 4px solid #10b981;
}

.team-member strong {
    color: #059669;
    margin-right: 8px;
}

/* Registration Prompt */
.registration-prompt {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.prompt-card {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    border: 2px solid #a68e52;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(166, 142, 82, 0.15);
}

.prompt-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.prompt-card h4 {
    color: #1A3E67;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 12px;
}

.prompt-card p {
    color: #4b5563;
    font-size: 16px;
    margin-bottom: 12px;
}

.start-date-highlight {
    color: #a68e52 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 24px !important;
}

.registration-button {
    font-size: 18px !important;
    padding: 14px 40px !important;
    box-shadow: 0 4px 16px rgba(166, 142, 82, 0.3) !important;
}

/* ============================================
   ACTIVE LEAGUE STYLES
   ============================================ */

/* Add padding below header before tabs */
.active-league-section .league-section-header {
    margin-bottom: 24px;
}

/* Tabs inside active league - add spacing */
.active-league-section .nav-tabs {
    margin-top: 0;
    margin-bottom: 24px;
}

.active-league-section .tab-content {
    padding: 5px;
    margin-top: 24px;
}

/* Money Leaderboards Combined Tab */
.money-leaderboards-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.money-section {
    background: white;
}

/* Playoffs Combined Tab */
.playoffs-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.playoffs-section {
    background: white;
}

/* Section headers within tabs */
.section-header {
    color: #262626;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid #a68e52;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .money-leaderboards-container,
    .playoffs-container {
        gap: 40px;
    }
    
    .section-header {
        font-size: 16px;
        padding: 12px 16px;
    }
}

/* Mobile responsive for league sections */
@media (max-width: 768px) {
    .league-details-row {
        flex-direction: column;
        gap: 16px;
    }

    .prompt-card {
        padding: 30px 20px;
    }

    .prompt-icon {
        font-size: 48px;
    }
}

/* ============================================
   LEAGUE HISTORY STYLES
   ============================================ */

.league-history-cta {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 3px solid #e5e7eb;
}

.league-history-cta .card {
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
    transition: all 0.3s ease;
}

.league-history-cta .card:hover {
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
    transform: translateY(-2px);
}

.league-history-wrapper {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 3px solid #e5e7eb;
}

.league-selector-container .card {
    border: 2px solid #a68e52;
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    box-shadow: 0 2px 8px rgba(166, 142, 82, 0.1);
}

.league-selector-container .card-body {
    padding: 20px;
}

.league-history-section .league-section-header {
    margin-bottom: 24px;
}

/* ============================================
   YOUR TEAM & PROFILE STYLES
   ============================================ */

/* Your Team Summary Card - appears at top of leaderboards */
.my-team-summary {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    border: 2px solid #a68e52;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(166, 142, 82, 0.15);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #a68e52;
}

.summary-icon {
    font-size: 24px;
}

.summary-title {
    color: #a68e52;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-team-name {
    font-size: 20px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 16px;
}

.summary-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.summary-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #262626;
}

.stat-value.position-value {
    color: #a68e52;
}

.stat-value.movement-up {
    color: #059669;
}

.stat-value.movement-down {
    color: #dc2626;
}

.summary-additional {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #4b5563;
}

@media (max-width: 768px) {
    .summary-stats {
        gap: 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

.my-team-profile-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.section-heading {
    color: #262626;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.edit-link {
    font-size: 14px;
    font-weight: 600;
}

.profile-content {
    display: flex;
    gap: 24px;
    align-items: center;
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #a68e52;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
}

.profile-name {
    color: #262626;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b5563;
    font-size: 15px;
}

.detail-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Team Card */
.team-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.team-name {
    color: #a68e52;
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0 0 0;
}

/* Team Members Table */
.team-members-section {
    margin-bottom: 24px;
}

.team-members-table {
    margin-bottom: 0 !important;
}

.team-members-table thead th {
    background: #f9fafb;
    color: #6b7280;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.team-members-table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
}

.golfer-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #262626;
}

.golfer-icon {
    font-size: 18px;
}

.target-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #1A3E67;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
}

/* Team Stats */
.team-stats {
    margin-top: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.stat-card.position-card {
    background: linear-gradient(135deg, #fef9f3 0%, #fff 100%);
    border-color: #a68e52;
}

.stat-card.playoff-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
    border-color: #10b981;
}

.stat-card.playoff-card.not-qualified {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-color: #ef4444;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.movement-indicator {
    font-size: 14px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.movement-indicator.up {
    background: #d1fae5;
    color: #059669;
}

.movement-indicator.down {
    background: #fee2e2;
    color: #dc2626;
}

.playoff-status {
    font-size: 18px;
    font-weight: 700;
}

/* No Team Card */
.no-team-card {
    background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
}

.no-team-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.no-team-card h4 {
    color: #262626;
    font-weight: 700;
    margin-bottom: 8px;
}

.no-team-card p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-details {
        align-items: center;
    }

    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 24px;
    }
}










