* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f7f9;
    font-family: "Almarai", sans-serif !important;
    overflow-x: hidden;
}

/* commom css */

.gbsc_btn {
    background-color: #002f86;
    color: #fff;
    font-size: 15px;
    padding: 10px 0px;
}

.gbsc_btn:hover {
    background-color: #002f86;
    color: #fff;
    font-size: 15px;
    padding: 10px 0px;
}

/* #addDivision{
	padding: 5px 10px !important;
} */

.form-label {
    color: rgb(0 0 0);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 0px !important;
}

.form-input-custom {
    border: 1px solid #d1d1d1;
}

.form-control::placeholder {
    font-size: 13px;
    color: #999;
}

.full-page {
    min-height: 100vh;
}

body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-thumb {
    background: rgba(61, 59, 59, 0.3);
    border-radius: 10px;
}

.page-heading {
    /* font-size: 30px; */
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
	color:black;
	text-transform:capitalize;
}

/* .page-heading::after{
    content:'';
    display:block;
    width:50px;
    height:3px;
    background:#2563eb;
    border-radius:20px;
    margin-top:10px;
} */

/* Custom Table */

.table-border-custom {
    border: 1px solid #dfdfdf;
    border-radius: 10px;
    box-shadow: #f1f1f1 10px 10px 10px;
}

/* Card Container */
.custom-table-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-table thead {
    background-color: #f8f9fb;
}

.custom-table thead th {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #4b5563;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e6ed;
}

.custom-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
    color: #2d3748;
    font-weight: 500;
    font-size: 14px;
    /* border-bottom: 1px solid #f1f3f5; */
}

.card-table-footer-custom {
    padding: 15px 20px;
    background-color: #f8f9fb;
    border-top: 1px solid #e0e6ed;
}

/* Custom Table End */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.76); /* gray overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.img-loader img {
    width: 60px;
    height: 60px;
    animation: rotateLoader 1s linear infinite;
}

@keyframes rotateLoader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error_text {
    margin-bottom: 0px;
    margin-top: 1px;
    color: red;
    font-size: 14px;
}

/* Full Popup Background */
.delete_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Dark Background */
.del_popup_bk {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Popup Box */
.delete_modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: popupShow 0.25s ease;
}

/* Close button */
.del_close_btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 18px;
    color: #aab0bb;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.del_close_btn:hover {
    color: #555;
}

/* Warning Icon */
.delete_icon {
    width: 72px;
    height: 72px;
    background: #fff0f0;
    color: #e53935;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 6px solid #ffe5e5;
}

/* Title */
.delete_modal h2 {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
}

/* Message */
.delete_modal p {
    color: #8a94a6;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Buttons */
.delete_btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Keep Record Button */
.keep_btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #f0f2f5;
    color: #3d3d3d;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.keep_btn:hover {
    background: #e2e5ea;
}

/* Yes Delete Button */
.delete_btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #e53935;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s;
}

.delete_btn:hover {
    background: #c62828;
}

/* Animation */
@keyframes popupShow {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Login Page */

.login_image {
    width: auto;
    height: 60px;
}

.password_box {
    position: relative;
}

.password_box .toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    font-size: 18px;
}

/* ============================================================
   FORM CARDS  (create / edit pages)
   ============================================================ */
.form-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 28px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.section-title {
    font-size: 15px;
    font-weight: 700;
    color: #002f86;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf5;
    margin-bottom: 20px;
    margin-top: 0;
}

/* ── Uniform input height ── */
.form-control,
.form-select {
    height: 48px;
    border-radius: 8px !important;
    border: 1px solid #d1d1d1 !important;
    font-size: 14px;
    color: #2d3748;
    padding: 0 14px;
}

textarea.form-control {
    height: auto;
    padding: 12px 14px;
}

input[type="file"].form-control {
    padding-top: 11px;
}

input[type="color"].form-control {
    padding: 4px 6px;
    height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: #002f86 !important;
    box-shadow: 0 0 0 3px rgba(0, 47, 134, 0.1) !important;
    outline: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
}

/* ============================================================
   SELECT2  — match the form-control style
   ============================================================ */
.select2-container {
    width: 100% !important;
}

/* single */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d1d1 !important;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 14px;
    color: #2d3748;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding: 0;
    color: #2d3748;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 10px;
}

/* multiple */
.select2-container--default .select2-selection--multiple {
    min-height: 48px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d1d1 !important;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #002f86 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 13px;
    margin: 2px;
}

/* Select2 v4.1 wraps text in this span */
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-right: 5px;
    border: none;
    background: transparent;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff !important;
    background: transparent;
}

/* focus ring */
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #002f86 !important;
    box-shadow: 0 0 0 3px rgba(0, 47, 134, 0.1) !important;
    outline: none;
}

/* dropdown */
.select2-dropdown {
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #002f86 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e8eef8 !important;
    color: #002f86 !important;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 6px;
    border: 1px solid #d1d1d1;
    padding: 7px 10px;
    font-size: 13px;
}

.select2-results__option {
    padding: 9px 14px;
}

/* ============================================================
   CUSTOM FILE INPUT
   ============================================================ */
.file-upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.file-upload-wrapper:focus-within {
    border-color: #002f86;
    box-shadow: 0 0 0 3px rgba(0, 47, 134, 0.1);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.file-upload-btn {
    flex-shrink: 0;
    height: 100%;
    padding: 0 18px;
    background: #002f86;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.file-upload-label {
    flex: 1;
    padding: 0 14px;
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    z-index: 1;
}

.file-upload-label.has-file {
    color: #2d3748;
}

/* ============================================================
   SELECT2 — placeholder colour fix
   ============================================================ */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__placeholder {
    color: #999;
    font-size: 14px;
    line-height: 36px;
    padding-left: 4px;
}

/* make the inner search input invisible so placeholder shows cleanly */
.select2-container--default
    .select2-selection--multiple
    .select2-search__field {
    margin: 0;
    padding: 0 4px;
    font-size: 14px;
    color: #2d3748;
}

.select2-container--default
    .select2-selection--multiple
    .select2-search__field::placeholder {
    color: #999;
}

.select2-container .select2-search--inline .select2-search__field{
	height:23px;
}

/* ============================================================
   JQUERY VALIDATION — error messages & field states
   ============================================================ */
.field-error-msg {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* color_red used in slot validation errors */
.color_red {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* Custom file upload button */
.custom-file-upload {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    width: 100%;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f7fa;
    height: 48px;
}
.custom-file-upload input[type="file"] {
    display: none;
}
.custom-file-upload .upload-btn {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    height: 100%;
    background: #002f86;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.custom-file-upload .upload-filename {
    padding: 0 14px;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-control.input-error,
.form-select.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.form-control.input-valid,
.form-select.input-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1) !important;
}

/* Select2 error border — targets the rendered selection box */
.select2-error .select2-selection--multiple,
.select2-error .select2-selection--single,
.select2-error-border {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* File upload wrapper error state */
.file-upload-wrapper.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Remove underline from action icon links in tables */
.custom-table td a {
    text-decoration: none;
}

/* ==========================================
   Pagination Container
   ========================================== */
.custom-pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 20px 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
    gap: 15px;
    overflow: hidden;
}

/* Bootstrap generated wrapper */
.pagination-links .d-sm-flex {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

/* Result text */
.pagination-links p {
    margin: 0;
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

/* Pagination nav */
.pagination-links nav {
    margin-left: auto;
    overflow-x: auto;
    max-width: 100%;
}

/* Pagination list */
.pagination-links .pagination {
    margin: 0;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap; /* IMPORTANT */
}

/* Pagination buttons */
.pagination-links .page-item .page-link {
    min-width: 42px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none;
}

/* Hover */
.pagination-links .page-item .page-link:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

/* Active */
.pagination-links .page-item.active .page-link {
    background: #0b3a8d;
    border-color: #0b3a8d;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(11, 58, 141, 0.15);
}

/* Disabled */
.pagination-links .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #9ca3af;
    border-color: #d1d5db;
    cursor: not-allowed;
    opacity: 1;
}

/* Remove focus */
.pagination-links .page-link:focus {
    box-shadow: none;
    outline: none;
}

.pagination-links .pagination {
    flex-wrap: wrap;
}


/* ==========================================
   Responsive
   ========================================== */
/* ==========================================
   Mobile Responsive
   ========================================== */
@media (max-width: 768px) {

    .custom-pagination-wrapper {
        padding: 14px;
    }

    .pagination-links .d-sm-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pagination-links p {
        font-size: 13px;
        white-space: normal;
    }

    /* Navigation wrapper */
    .pagination-links nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pagination-links nav::-webkit-scrollbar {
        display: none;
    }

    /* Keep pagination in single row */
    .pagination-links .pagination {
        flex-wrap: nowrap;
        width: max-content;
        gap: 6px;
    }

    /* Smaller buttons */
    .pagination-links .page-item .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 5px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {

    .pagination-links .pagination {
        gap: 5px;
    }

    .pagination-links .page-item .page-link {
        min-width: 34px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
        border-radius: 5px;
    }

    .pagination-links p {
        font-size: 13px;
    }
}

/* ============================================================
   PAGE HEADER BAR  (breadcrumb + back arrow + title)
   ============================================================ */
.page-header-bar {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 16px 24px;
}

.breadcrumb-trail {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #002f86;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.breadcrumb-trail a {
    color: #002f86;
    text-decoration: none;
}

.breadcrumb-trail a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 6px;
    color: #aab0bb;
}

.back-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f3f8;
    color: #002f86;
    text-decoration: none;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.back-arrow-btn:hover {
    background: #dce3f0;
    color: #002f86;
}

/* ============================================================
   MODERN FORM CARD
   ============================================================ */
.form-card-modern {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 14px;
    padding: 30px 30px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.section-title-modern {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    margin-top: 0;
}

/* Uppercase small labels */
.field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Light grey background input */
.field-input {
    background: #f5f7fa !important;
    border: 1px solid #e8ecf0 !important;
    border-radius: 8px !important;
    height: 48px;
    font-size: 14px;
    color: #2d3748;
    padding: 0 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input:focus {
    background: #fff !important;
    border-color: #002f86 !important;
    box-shadow: 0 0 0 3px rgba(0, 47, 134, 0.08) !important;
    outline: none;
}

.field-input::placeholder {
    color: #b0b8c4;
    font-size: 13px;
}

/* ============================================================
   FIXED BOTTOM SAVE BAR
   ============================================================ */
.save-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 260px; /* matches sidebar width */
    background: #fff;
    border-top: 1px solid #e0e6ed;
    padding: 14px 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.save-bar-btn {
    background:#002f86;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 8px;
    border: none;
    transition: background 0.2s;
}

.save-bar-btn:hover {
    background: #002f86;
    color: #fff;
}

/* ============================================================
   MODERN TABLE  (sports listing style)
   ============================================================ */
.modern-table-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-table thead th {
    background: #f8f9fb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #6b7280;
    text-transform: uppercase;
    padding: 14px 20px;
    border-bottom: 1px solid #e0e6ed;
}

.modern-table tbody tr {
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.15s;
}

.modern-table tbody tr:last-child {
    border-bottom: none;
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.modern-table tbody tr:hover {
    background: #fafbfc;
}

.modern-table tbody td {
    /* padding: 16px 20px; */
    padding: 11px 20px;
    vertical-align: middle;
    font-size: 14px;
    color: #1a1a2e;
}

/* Status pill */
.status-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-pill.active {
    background: #e6f9f0;
    color: #1a9e5c;
}

.status-pill.inactive {
    background: #f1f3f5;
    color: #6b7280;
}

.status-pill.pending {
    background: #fffbeb;
    color: #d97706;
}
}

/* Action icons */
.action-icon {
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.action-icon:hover {
    opacity: 0.75;
}

/* .action-icon.edit-icon {
    color: #f59e0b;
} */

.action-icon.delete-icon {
    color: #e53935;
}

/* Pagination footer */
.modern-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fb;
    border-top: 1px solid #e0e6ed;
}

.showing-text {
    font-size: 13px;
    color: #6b7280;
}

.pagination-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-nav-btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s;
}

.page-nav-btn:hover:not(:disabled) {
    background: #f3f4f6;
}

.page-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.page-info {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* ============================================================
   ADMIN FOOTER
   ============================================================ */
.admin-footer {
    background: #f4f7f9;
    border-top: 1px solid #e0e6ed;
    margin-top: 20px;
}

.admin-footer-inner {
    text-align: center;
    padding: 14px 20px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
	background:#ffffff;
}

/* ============================================================
   DETAIL VALUE  (show/view pages)
   ============================================================ */
.detail-value {
    background: #f5f7fa;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
    min-height: 48px;
    display: flex;
    align-items: center;
}

/* Detail view plain text */
.detail-text {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 500;
    margin: 0;
}

/* ============================================================
   SPORTS LISTING  — new design
   ============================================================ */

/* Sport icon avatar */
.sport-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #002f86;
    flex-shrink: 0;
}

/* Green dot Active badge */
.sport-status-badge {
    display: inline-flex;
    align-items: center;
    gap:0px;
    background: #e6f9f0;
    color: #1a9e5c;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.sport-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a9e5c;
    flex-shrink: 0;
}

/* Icon action buttons — boxed style */
.sport-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 36px;
    height: 36px; */
	width: 32px;
    height: 32px;
    border-radius: 8px;
    /* font-size: 14px */
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sport-action-btn:hover {
    opacity: 0.8;
}

.sport-edit-btn {
    background: #eef2ff;
    color: #002f86;
    border: 1px solid #dde4f8;
}

.sport-delete-btn {
    background: #fff0f0;
    color: #e53935;
    border: 1px solid #fdd;
}

.sport-view-btn {
    background: #e8f8fb;
    color: #0891b2;
    border: 1px solid #b9e9f3;
}

.sport-user-btn {
    background: #f0f4ff;
    color: #4f46e5;
    border: 1px solid #d4d8f8;
}

.sport-csv-btn {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.sport-approve-btn {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Pagination buttons */
.sport-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e0e6ed;
    background: #fff;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s;
}

.sport-page-btn:hover:not(.disabled):not(.active) {
    background: #f3f4f6;
    color: #374151;
}

.sport-page-btn.active {
    background: #002f86;
    color: #fff;
    border-color: #002f86;
}

.sport-page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Header profile name + chevron ── */
.profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
}

.profile-chevron {
    font-size: 11px;
    color: #6b7280;
}

/* ============================================================
   SIDEBAR COLLAPSIBLE GROUPS
   ============================================================ */

/* Group container */
.sidebar-group {
    margin-bottom: 4px;
}

/* Group header button */
.sidebar-group-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.sidebar-group-btn:hover,
.sidebar-group-btn.open {
    background: rgba(255, 255, 255, 0.15);
}

.sidebar-group-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Chevron rotation when open */
.sidebar-chevron {
    font-size: 11px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sidebar-group-btn.open .sidebar-chevron {
    transform: rotate(180deg);
}

/* Collapsible items wrapper */
.sidebar-group-items {
    display: none;
    padding-left: 12px;
    overflow: hidden;
}

.sidebar-group-items.show {
    display: block;
}

/* Child links — inherit existing sidebar link style */
.sidebar-group-items a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 15px;
    border-radius: 10px;
    margin-bottom: 2px;
    transition: 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-group-items a:hover,
.sidebar-group-items a.active {
    background: #fff;
    color: #002F86;
    font-weight: 600;
}


/* ============================================================
   CLUB MODAL OVERLAY  (gbfc_clus)
   ============================================================ */
.gbfc_clus_modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.gbfc_clus_modal-overlay.gbfc_clus_show {
    opacity: 1;
}
.gbfc_clus_modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.25s ease;
}
.gbfc_clus_modal-overlay.gbfc_clus_show .gbfc_clus_modal-box {
    transform: translateY(0);
}
.gbfc_clus_modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e8ecf0;
    background: #f8fafc;
}
.gbfc_clus_modal-header h5 {
    font-size: 15px;
    color: #1a1a2e;
}
.gbfc_clus_close-btn {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}
.gbfc_clus_close-btn:hover {
    color: #e53935;
}
.gbfc_clus_modal-body {
    padding: 24px;
}
.gbfc_clus_modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #e8ecf0;
    background: #f8fafc;
}


/* ============================================================
   TEAM VIEW — pill tab buttons
   ============================================================ */
.team-tab-pill {
    border: none;
    border-radius: 14px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background: #f1f5f9;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}
.team-tab-pill:hover:not(.active) {
    background: #e2e8f0;
    color: #374151;
}
.team-tab-pill.active {
    background: linear-gradient(135deg, #002d72, #0056d6);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 86, 214, 0.25);
}

/* Tab pane visibility (no Bootstrap fade dependency) */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.error-border,
.choices__inner.error-border {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Choices.js — match field-input style */
.choices__inner {
    border-radius: 8px !important;
    background: #f5f7fa !important;
    border: 1px solid #e8ecf0 !important;
    min-height: 48px;
    font-size: 14px;
    padding: 4px 8px;
}
.choices.is-focused .choices__inner {
    border-color: #002f86 !important;
    background: #fff !important;
}