/* Wide Container for Analysis Page */

.container-wide {

    max-width: 1600px;

    margin: 0 auto;

    padding: 0 1.5rem;

    width: 100%;

}



/* Analysis Page Styles */

.analysis-header {

    background: #1a2332;

    border-bottom: 1px solid #2d3748;

    padding: 1rem 0;

}



.analysis-header-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

}



.analysis-title-section {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.header-select-wrapper {

    min-width: 240px;

}



.header-select-wrapper .custom-select-trigger {

    padding: 0.75rem 1rem;

    background: #0f172a;

    border: 1px solid #2d3748;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 600;

}



.header-select-wrapper .custom-select-trigger:hover {

    border-color: #475569;

}



.header-date-wrapper {

    min-width: 150px;

}



.header-date-input {

    width: 100%;

    padding: 0.75rem 1rem;

    background: #0f172a;

    border: 1px solid #2d3748;

    border-radius: 8px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;

}



.header-date-input:hover {

    border-color: #475569;

}



.header-date-input:focus {

    outline: none;

    border-color: #3b82f6;

}



/* Date input calendar icon color */

.header-date-input::-webkit-calendar-picker-indicator {

    filter: invert(1);

    cursor: pointer;

}



.analysis-match-info {

    display: flex;

    align-items: center;

    gap: 1rem;

    flex: 1;

    justify-content: center;

}



.match-select-wrapper {

    min-width: 300px;

    max-width: 600px;

    width: 600px;

}



.match-select-wrapper .custom-select-trigger {

    padding: 0.75rem 1rem;

    background: #0f172a;

    border: 1px solid #2d3748;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 500;

    justify-content: space-between;

}



.match-select-wrapper .custom-select-trigger:hover {

    border-color: #475569;

}



.match-nav-btn {

    width: 32px;

    height: 32px;

    background: #2d3748;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #94a3b8;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

    flex-shrink: 0;

}



.match-nav-btn:hover {

    background: #475569;

    color: #ffffff;

}



.analysis-actions {

    display: flex;

    gap: 0.75rem;

}



.action-btn {

    padding: 0.5rem 1rem;

    background: #2d3748;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #94a3b8;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.action-btn:hover {

    background: #475569;

    color: #ffffff;

}



/* Analysis Table */

.analysis-table-wrapper {

    overflow: auto;

    margin: 1.5rem 0;

    background: #1a2332;

    border: 1px solid #2d3748;

    border-radius: 8px;

    max-height: calc(100vh - 200px);

    min-height: 600px; /* Minimum yükseklik */

    position: relative;

    cursor: grab;

    user-select: none;

}



.analysis-table-wrapper:active {

    cursor: grabbing;

}



.analysis-table {

    width: max-content;

    min-width: 100%;

    border-collapse: collapse;

    font-size: 12px;

    position: relative;

    isolation: isolate; /* yeni stacking context oluştur */

}



.analysis-table thead {

    background: #0f172a;

    position: sticky;

    top: 0;

    z-index: 100; /* tooltip için alan bırak */

}



.analysis-table th {

    padding: 0.5rem 0.5rem;

    text-align: center;

    color: #94a3b8;

    font-weight: 600;

    font-size: 10px;

    border-bottom: 1px solid #2d3748;

    border-right: 1px solid #2d3748;

    white-space: nowrap;

    height: 40px;

    vertical-align: middle;

    min-width: 60px;

}



.analysis-table th:last-child {

    border-right: none;

}



/* Vurgulu sütun (aktif filtre) */
.analysis-table th.highlighted-column {
    background-color: rgba(234, 179, 8, 0.2); /* Açık sarı */
    border-left: 2px solid #eab308;
    border-right: 2px solid #eab308;
}



.analysis-table tbody tr {

    border-bottom: 1px solid #2d3748;

    transition: background 0.2s ease;

    height: 45px;

    position: relative;

}



.analysis-table tbody tr:hover {

    background: rgba(255, 255, 255, 0.02);

    z-index: 200; /* hover'da thead'in (z-index: 100) üzerine çık */

}



.analysis-table tbody tr.selected-match-row {

    background: rgba(239, 68, 68, 0.15);

    position: relative;

    border-left: 4px solid #ef4444;

    box-shadow: inset 4px 0 8px rgba(239, 68, 68, 0.3);

}



.analysis-table tbody tr.selected-match-row:hover {

    background: rgba(239, 68, 68, 0.2);

}



.analysis-table tbody tr:last-child {

    border-bottom: none;

}



.analysis-table td {

    padding: 0.4rem 0.5rem;

    text-align: center;

    color: #ffffff;

    border-right: 1px solid #2d3748;

    white-space: nowrap;

    height: 45px;

    vertical-align: middle;

    position: relative;

    min-width: 60px;

    font-size: 11px;

    overflow: visible; /* tooltip görünebilsin */

}



.analysis-table td:last-child {

    border-right: none;

}



/* Vurgulu sütun (aktif filtre) - tbody */
.analysis-table td.highlighted-column {
    background-color: rgba(234, 179, 8, 0.08); /* Daha açık sarı */
    border-left: 2px solid rgba(234, 179, 8, 0.3);
    border-right: 2px solid rgba(234, 179, 8, 0.3);
}



/* Badge Styles */

.badge {

    display: inline-block;

    padding: 0.25rem 0.5rem;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    white-space: nowrap;

}



.badge-gray {

    background: #475569;

    color: #ffffff;

}



.badge-green {

    background: #10b981;

    color: #ffffff;

}



.badge-blue {

    background: #3b82f6;

    color: #ffffff;

}



.badge-orange {

    background: #f97316;

    color: #ffffff;

}



.badge-red {

    background: #ef4444;

    color: #ffffff;

}



/* Stats Value Styles */

.stats-value {

    display: inline-block;

    padding: 0.25rem 0.5rem;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    white-space: nowrap;

}



.stats-gray {

    background: #475569;

    color: #ffffff;

}



.stats-green {

    background: #10b981;

    color: #ffffff;

}



.stats-blue {

    background: #3b82f6;

    color: #ffffff;

}



.stats-orange {

    background: #f97316;

    color: #ffffff;

}



.stats-red {

    background: #ef4444;

    color: #ffffff;

}



.stats-purple {

    background: #8b5cf6;

    color: #ffffff;

}



.stats-cyan {

    background: #06b6d4;

    color: #ffffff;

}



.stats-yellow {

    background: #eab308;

    color: #ffffff;

}



/* Maç Sonucu Tahminleri (İlk Yarı / Maç Sonu) */

.stats-result-11 {

    background: #059669;

    color: #ffffff;

}



.stats-result-1x {

    background: #0891b2;

    color: #ffffff;

}



.stats-result-12 {

    background: #7c3aed;

    color: #ffffff;

}



.stats-result-x1 {

    background: #2563eb;

    color: #ffffff;

}



.stats-result-xx {

    background: #f59e0b;

    color: #ffffff;

}



.stats-result-x2 {

    background: #dc2626;

    color: #ffffff;

}



.stats-result-21 {

    background: #db2777;

    color: #ffffff;

}



.stats-result-2x {

    background: #ea580c;

    color: #ffffff;

}



.stats-result-22 {

    background: #b91c1c;

    color: #ffffff;

}



/* Odds Cell Styles */

.odds-value {

    color: #ffffff;

    font-weight: 600;

    font-size: 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    white-space: nowrap;

    vertical-align: middle;

    position: relative;

    cursor: help;

    z-index: 1;

}

/* Odds arrow spacer - ok olmadığında aynı genişliği koru */
.odds-arrow-spacer {
    display: inline-block;
    width: 10px; /* .odds-arrow ile aynı genişlik */
    font-size: 10px;
}

/* Odds Tooltip - sadece title attribute varsa göster */
.odds-value[title]:not([title=""]):hover::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 300; /* tbody hover z-index: 200, tooltip daha yüksek olmalı */
    margin-bottom: 5px;
    pointer-events: none;
}

.odds-value[title]:not([title=""]):hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 300; /* tbody hover z-index: 200, tooltip daha yüksek olmalı */
    pointer-events: none;
}

.odds-arrow {

    font-size: 10px;

    animation: pulse 2s ease-in-out infinite;

}



.odds-arrow.down {

    color: #10b981;

}



.odds-arrow.up {

    color: #ef4444;

}



@keyframes pulse {

    0%, 100% {

        opacity: 1;

        transform: translateY(0);

    }

    50% {

        opacity: 0.6;

        transform: translateY(-2px);

    }

}



.odds-arrow.down {

    animation: pulseDown 2s ease-in-out infinite;

}



@keyframes pulseDown {

    0%, 100% {

        opacity: 1;

        transform: translateY(0);

    }

    50% {

        opacity: 0.6;

        transform: translateY(2px);

    }

}



/* Responsive Analysis */

@media (max-width: 1400px) {

    .container-wide {

        max-width: 100%;

    }

}



@media (max-width: 1024px) {

    .analysis-header-content {

        flex-direction: column;

        gap: 1rem;

    }

    

    .analysis-title-section {

        width: 100%;

        justify-content: space-between;

    }

    

    .header-select-wrapper,

    .header-date-wrapper {

        min-width: auto;

        flex: 1;

    }

    

    .analysis-match-info {

        width: 100%;

    }

    

    .match-select-wrapper {

        flex: 1;

        min-width: auto;

    }

    

    .analysis-actions {

        width: 100%;

        justify-content: center;

    }

}



@media (max-width: 768px) {

    .analysis-title-section {

        flex-direction: column;

        gap: 0.75rem;

    }

    

    .header-select-wrapper,

    .header-date-wrapper {

        width: 100%;

    }

    

    .analysis-table {

        font-size: 10px;

    }

    

    .analysis-table th,

    .analysis-table td {

        padding: 0.5rem 0.25rem;

    }

    

    .badge {

        font-size: 9px;

        padding: 0.2rem 0.4rem;

    }

}



/* Filter Offcanvas */

.filter-offcanvas {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    z-index: 9999;

    display: none;

}



.filter-offcanvas.active {

    display: block;

}



.offcanvas-overlay {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.7);

    backdrop-filter: blur(4px);

}



.offcanvas-content {

    position: absolute;

    top: 0;

    right: 0;

    width: 600px;

    height: 100%;

    background: #2d3e50;

    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);

    overflow-y: auto;

    animation: slideIn 0.3s ease;

}



@keyframes slideIn {

    from {

        transform: translateX(100%);

    }

    to {

        transform: translateX(0);

    }

}



.offcanvas-header-new {

    padding: 1.25rem 1.5rem;

    background: #1e293b;

    border-bottom: 1px solid #475569;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.offcanvas-title {

    color: #ffffff;

    font-size: 18px;

    font-weight: 600;

    margin: 0;

}



.header-actions {

    display: flex;

    gap: 0.75rem;

    align-items: center;

}



.analyze-btn {

    padding: 0.625rem 1.25rem;

    background: #10b981;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

}



.analyze-btn:hover {

    background: #059669;

}



.offcanvas-close {

    width: 36px;

    height: 36px;

    background: transparent;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #94a3b8;

    font-size: 18px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

}



.offcanvas-close:hover {

    background: #ef4444;

    border-color: #ef4444;

    color: white;

}



.offcanvas-body {

    padding: 1.5rem;

}



.filter-section {

    margin-bottom: 1.5rem;

}



/* Custom Select */

.custom-select-container {

    position: relative;

}



.custom-select-container.flex-1 {

    flex: 1;

}



.custom-select-trigger {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    padding: 0.875rem 1rem;

    background: #1e293b;

    border: 1px solid #475569;

    border-radius: 8px;

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

    transition: all 0.3s ease;

}



.custom-select-trigger:hover {

    border-color: #64748b;

}



.custom-select-trigger i.fa-folder {

    color: #f59e0b;

    font-size: 16px;

}



.custom-select-trigger i.fa-chevron-down {

    margin-left: auto;

    color: #64748b;

    font-size: 12px;

    transition: transform 0.3s ease;

}



.custom-select-dropdown.active + .custom-select-trigger i.fa-chevron-down,

.custom-select-trigger:has(+ .custom-select-dropdown.active) i.fa-chevron-down {

    transform: rotate(180deg);

}



.custom-select-trigger .selected-text {

    flex: 1;

}



.custom-select-dropdown {

    position: absolute;

    top: calc(100% + 0.5rem);

    left: 0;

    right: 0;

    background: #1e293b;

    border: 1px solid #475569;

    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);

    z-index: 100;

    display: none;

    max-height: 350px;

    overflow: hidden;

}



.custom-select-dropdown.active {

    display: block;

}



.custom-select-search-box {

    position: relative;

    padding: 0.75rem;

    border-bottom: 1px solid #475569;

}



.custom-select-search-box i {

    position: absolute;

    left: 1.25rem;

    top: 50%;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 14px;

}



.custom-select-search-input {

    width: 100%;

    padding: 0.625rem 0.75rem 0.625rem 2.25rem;

    background: #0f172a;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #ffffff;

    font-size: 13px;

}



.custom-select-search-input::placeholder {

    color: #64748b;

}



.custom-select-search-input:focus {

    outline: none;

    border-color: #3b82f6;

}



.custom-select-options-list {

    max-height: 250px;

    overflow-y: auto;

}



.custom-select-option {

    padding: 0.75rem 1rem;

    cursor: pointer;

    transition: all 0.2s ease;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}



.custom-select-option:last-child {

    border-bottom: none;

}



.custom-select-option:hover {

    background: #334155;

}



.custom-select-option.selected {

    background: #1e40af;

    position: relative;

}



.custom-select-option.selected::after {

    content: '\f00c';

    font-family: 'Font Awesome 5 Free';

    font-weight: 900;

    position: absolute;

    right: 1rem;

    color: #60a5fa;

}



.custom-select-option span {

    color: #ffffff;

    font-size: 14px;

}



.custom-select-options-list::-webkit-scrollbar {

    width: 6px;

}



.custom-select-options-list::-webkit-scrollbar-track {

    background: #0f172a;

}



.custom-select-options-list::-webkit-scrollbar-thumb {

    background: #475569;

    border-radius: 3px;

}



.custom-select-options-list::-webkit-scrollbar-thumb:hover {

    background: #64748b;

}



.saved-filters-dropdown {

    position: relative;

    display: flex;

    align-items: center;

    background: #1e293b;

    border: 1px solid #475569;

    border-radius: 8px;

    padding: 0 1rem;

}



.saved-filters-dropdown i.fa-folder {

    color: #f59e0b;

    font-size: 16px;

    margin-right: 0.75rem;

}



.saved-filters-dropdown i.dropdown-icon {

    color: #64748b;

    font-size: 12px;

    margin-left: 0.75rem;

}



.filter-select-new {

    flex: 1;

    padding: 0.875rem 0;

    background: transparent;

    border: none;

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

    outline: none;

}



.filter-select-new option {

    background: #1e293b;

    color: #ffffff;

}



.date-range-group {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1rem;

}



.date-input-wrapper {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.date-label {

    color: #94a3b8;

    font-size: 13px;

    font-weight: 500;

}



.date-input {

    padding: 0.75rem;

    background: #1e293b;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #ffffff;

    font-size: 14px;

}



.date-input:focus {

    outline: none;

    border-color: #3b82f6;

}



.odds-range-group {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.75rem;

    margin-bottom: 0.75rem;

}



.odds-input-wrapper {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

    min-width: 0;

}



.odds-label {

    color: #94a3b8;

    font-size: 13px;

    font-weight: 500;

}



.number-input-group {

    display: flex;

    align-items: center;

    gap: 0;

    background: #1e293b;

    border: 1px solid #475569;

    border-radius: 6px;

    overflow: hidden;

    height: 44px;

    width: 100%;

}



.number-btn {

    width: 40px;

    height: 44px;

    background: #334155;

    border: none;

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

    transition: all 0.2s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.number-btn:hover {

    background: #475569;

}



.number-btn:active {

    background: #1e293b;

}



.odds-input {

    flex: 1;

    padding: 0 0.5rem;

    background: transparent;

    border: none;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    text-align: center;

    outline: none;

    min-width: 0;

    width: 100%;

}



.odds-input::-webkit-inner-spin-button,

.odds-input::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



.odds-range-description {

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.6;

    margin: 0;

    padding: 0.75rem;

    background: rgba(59, 130, 246, 0.1);

    border-left: 3px solid #3b82f6;

    border-radius: 4px;

}



.odds-range-description i {

    color: #3b82f6;

    margin-right: 0.5rem;

}



.section-heading {

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    margin: 0;

}



.filter-select-group {

    display: flex;

    flex-direction: column; /* Alt alta gelsin */

    gap: 0.75rem;

    margin-bottom: 1rem;

}



.filter-select-main {

    flex: 1;

    padding: 0.875rem 1rem;

    background: #1e293b;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

}



.filter-select-main:focus {

    outline: none;

    border-color: #3b82f6;

}



.remove-filter-btn {

    width: 40px;

    height: 40px;

    background: #ef4444;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 16px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

}



.remove-filter-btn:hover {

    background: #dc2626;

}



.add-filter-btn {

    width: 100%;

    padding: 0.75rem;

    background: transparent;

    border: 2px dashed #475569;

    border-radius: 6px;

    color: #94a3b8;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

}



.add-filter-btn:hover {

    border-color: #10b981;

    color: #10b981;

    background: rgba(16, 185, 129, 0.1);

}



.save-filter-box,

.edit-filter-box,

.import-export-box {

    background: #1e293b;

    border: 2px dashed #475569;

    border-radius: 8px;

    padding: 1.5rem;

}



.save-filter-header,

.edit-filter-header,

.import-export-header {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    margin-bottom: 0.75rem;

}



.save-filter-header i,

.edit-filter-header i,

.import-export-header i {

    color: #3b82f6;

    font-size: 20px;

}



.save-filter-header h4,

.edit-filter-header h4,

.import-export-header h4 {

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    margin: 0;

}



.save-filter-description,

.edit-filter-description,

.import-export-description {

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 1rem;

}



.filter-name-input {

    width: 100%;

    padding: 0.875rem 1rem;

    background: #0f172a;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #ffffff;

    font-size: 14px;

    margin-bottom: 1rem;

    transition: all 0.3s ease;

}



.filter-name-input::placeholder {

    color: #64748b;

}



.filter-name-input:focus {

    outline: none;

    border-color: #3b82f6;

    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);

}



/* Edit input icin ayni stiller */

.filter-name-input-edit {

    width: 100%;

    padding: 0.875rem 1rem;

    background: #0f172a;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #ffffff;

    font-size: 14px;

    margin-bottom: 1rem;

    transition: all 0.3s ease;

}



.filter-name-input-edit::placeholder {

    color: #64748b;

}



.filter-name-input-edit:focus {

    outline: none;

    border-color: #3b82f6;

    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);

}



.save-filter-example {

    color: #64748b;

    font-size: 13px;

    font-style: italic;

    margin-bottom: 1rem;

}



.save-filter-btn {

    width: 100%;

    padding: 0.875rem;

    background: #6366f1;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

}



.save-filter-btn:hover {

    background: #4f46e5;

}



.edit-filter-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.75rem;

}



.update-filter-btn,

.delete-filter-btn {

    padding: 0.875rem;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

}



.update-filter-btn {

    background: #3b82f6;

}



.update-filter-btn:hover {

    background: #2563eb;

}



.delete-filter-btn {

    background: #ef4444;

}



.delete-filter-btn:hover {

    background: #dc2626;

}



@media (max-width: 768px) {

    .offcanvas-content {

        width: 100%;

    }

    

    .date-range-group {

        grid-template-columns: 1fr;

    }

    

    .edit-filter-actions {

        grid-template-columns: 1fr;

    }

}



/* Column Settings Offcanvas */

.column-offcanvas {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    z-index: 9999;

    display: none;

}



.column-offcanvas.active {

    display: block;

}



.column-category {

    margin-bottom: 2rem;

}



.category-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1rem;

    padding-bottom: 0.5rem;

    border-bottom: 1px solid #475569;

}



.category-title {

    color: #94a3b8;

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin: 0;

}



.select-all-btn {

    padding: 0.375rem 0.75rem;

    background: #3b82f6;

    border: none;

    border-radius: 4px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;

    display: flex;

    align-items: center;

    gap: 0.375rem;

}



.select-all-btn:hover {

    background: #2563eb;

}



.select-all-btn i {

    font-size: 10px;

}



.column-buttons-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));

    gap: 0.5rem;

}



.column-toggle-btn {

    padding: 0.625rem 0.75rem;

    background: #475569;

    border: 1px solid #64748b;

    border-radius: 6px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    text-align: center;

    white-space: nowrap;

}



.column-toggle-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

}



.column-toggle-btn.active {

    background: #10b981;

    border-color: #059669;

}



.save-columns-btn {

    padding: 0.625rem 1.25rem;

    background: #f59e0b;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

}



.save-columns-btn:hover {

    background: #d97706;

}



@media (max-width: 768px) {

    .column-buttons-grid {

        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));

    }

    

    .column-toggle-btn {

        font-size: 11px;

        padding: 0.5rem 0.5rem;

    }

}



/* AI Analysis Section */

.ai-analysis-section {

    margin: 2rem 0;

    background: #1a2332;

    border: 1px solid #2d3748;

    border-radius: 12px;

    overflow: hidden;

}



.ai-analysis-content {

    padding: 2rem;

}



.ai-section {

    margin-bottom: 2rem;

}



.ai-section:last-child {

    margin-bottom: 0;

}



.ai-section-header {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    margin-bottom: 1rem;

    padding-bottom: 0.75rem;

    border-bottom: 2px solid #2d3748;

}



.ai-section-header i {

    font-size: 20px;

    color: #6366f1;

}



.ai-section-header h3 {

    color: #ffffff;

    font-size: 18px;

    font-weight: 600;

    margin: 0;

}



.ai-section-body {

    color: #cbd5e1;

    font-size: 15px;

    line-height: 1.8;

}



.ai-section-body p {

    margin-bottom: 1rem;

}



.ai-section-body p:last-child {

    margin-bottom: 0;

}



/* Team Cards */

.ai-teams-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1.5rem;

    margin-bottom: 2rem;

}



.ai-team-card {

    background: #0f172a;

    border: 1px solid #2d3748;

    border-radius: 10px;

    padding: 1.5rem;

}



.ai-team-header {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    margin-bottom: 1.5rem;

    padding-bottom: 1rem;

    border-bottom: 1px solid #2d3748;

}



.ai-team-header i {

    font-size: 18px;

    color: #10b981;

}



.ai-team-header h4 {

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    margin: 0;

}



.ai-team-stats {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.ai-stat-item {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.stat-label {

    color: #94a3b8;

    font-size: 13px;

    font-weight: 500;

}



.stat-value {

    display: flex;

    gap: 0.5rem;

}



.form-badge {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

}



.form-badge.win {

    background: #10b981;

    color: #ffffff;

}



.form-badge.draw {

    background: #f59e0b;

    color: #ffffff;

}



.form-badge.loss {

    background: #ef4444;

    color: #ffffff;

}



.stat-value-text {

    color: #ffffff;

    font-size: 14px;

    font-weight: 500;

}



/* Recommendations */

.ai-recommendations {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.5rem;

}



.ai-recommendation-card {

    background: #0f172a;

    border: 2px solid;

    border-radius: 10px;

    padding: 1.5rem;

    transition: all 0.3s ease;

}



.ai-recommendation-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);

}



.ai-recommendation-card.high {

    border-color: #10b981;

}



.ai-recommendation-card.medium {

    border-color: #f59e0b;

}



.ai-recommendation-card.low {

    border-color: #ef4444;

}



.recommendation-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1rem;

}



.recommendation-badge {

    padding: 0.375rem 0.75rem;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

}



.ai-recommendation-card.high .recommendation-badge {

    background: #10b981;

    color: #ffffff;

}



.ai-recommendation-card.medium .recommendation-badge {

    background: #f59e0b;

    color: #ffffff;

}



.ai-recommendation-card.low .recommendation-badge {

    background: #ef4444;

    color: #ffffff;

}



.recommendation-percentage {

    color: #ffffff;

    font-size: 18px;

    font-weight: 700;

}



.ai-recommendation-card h5 {

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    margin: 0 0 0.75rem 0;

}



.ai-recommendation-card p {

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.6;

    margin: 0;

}



/* Disclaimer */

.ai-disclaimer {

    display: flex;

    gap: 1rem;

    padding: 1.25rem 1.5rem;

    background: rgba(239, 68, 68, 0.1);

    border: 1px solid #ef4444;

    border-radius: 8px;

    margin-top: 2rem;

}



.ai-disclaimer i {

    font-size: 20px;

    color: #ef4444;

    flex-shrink: 0;

    margin-top: 2px;

}



.ai-disclaimer p {

    color: #cbd5e1;

    font-size: 13px;

    line-height: 1.6;

    margin: 0;

}



.ai-disclaimer strong {

    color: #ffffff;

    font-weight: 600;

}



/* Responsive AI Analysis */

@media (max-width: 1024px) {

    .ai-recommendations {

        grid-template-columns: 1fr;

    }

    

    .ai-teams-grid {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 768px) {

    .ai-analysis-content {

        padding: 1.5rem;

    }

    

    .ai-disclaimer {

        flex-direction: column;

        text-align: center;

    }

}



/* Selected Item Badge */

.selected-item-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.5rem 0.75rem;

    background: #334155;

    border: 1px solid #475569;

    border-radius: 6px;

    margin: 0.25rem;

}



.selected-item-badge span {

    color: #ffffff;

    font-size: 13px;

    font-weight: 500;

}



.selected-item-badge button {

    width: 20px;

    height: 20px;

    background: transparent;

    border: none;

    color: #ef4444;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

    padding: 0;

}



.selected-item-badge button:hover {

    color: #dc2626;

    transform: scale(1.2);

}



.selected-item-badge button i {

    font-size: 12px;

}



/* Filter Row Styles */

.filter-row {

    margin-bottom: 1rem;

}



.filter-row-content {

    display: grid;

    grid-template-columns: 1fr auto auto;

    gap: 0.5rem;

    align-items: center;

}



.filter-column-select {

    min-width: 0;

}



.filter-odds-inputs {

    display: flex;

    gap: 0.5rem;

    align-items: center;

}



.filter-odds-input-wrapper {

    display: flex;

    flex-direction: column;

    gap: 0.25rem;

    align-items: center;

}



.filter-odds-input-wrapper label {

    font-size: 9px;

    color: #94a3b8;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.3px;

    white-space: nowrap;

}



.filter-number-input-group {

    display: flex;

    align-items: center;

    gap: 0.25rem;

    background: #0f172a;

    border: 1px solid #475569;

    border-radius: 6px;

    padding: 0.25rem;

}



.filter-number-btn {

    width: 22px;

    height: 22px;

    background: #2d3748;

    border: none;

    border-radius: 4px;

    color: #94a3b8;

    font-size: 9px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

    flex-shrink: 0;

}



.filter-number-btn:hover {

    background: #475569;

    color: #ffffff;

}



.filter-odds-input {

    width: 45px;

    background: transparent;

    border: none;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    text-align: center;

    padding: 0;

}



.filter-odds-input:focus {

    outline: none;

}



.filter-odds-input::-webkit-inner-spin-button,

.filter-odds-input::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



/* Import/Export Buttons */

.import-export-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.75rem;

}



.import-filter-btn,

.export-filter-btn {

    padding: 0.875rem;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

}



.export-filter-btn {

    background: #10b981;

}



.export-filter-btn:hover {

    background: #059669;

}



.import-filter-btn {

    background: #3b82f6;

}



.import-filter-btn:hover {

    background: #2563eb;

}



.import-filter-btn input[type="file"] {

    display: none;

}




/* Mobile Filter Row Responsive */
@media (max-width: 768px) {
    .filter-row {
        padding: 0.75rem;
    }
    
    .filter-row-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }
    
    .filter-column-select {
        width: 100%;
        padding-right: 50px;
    }
    
    .filter-row .remove-filter-btn {
        position: absolute;
        top: 0;
        right: 0;
        width: 36px;
        height: 36px;
    }
    
    .filter-odds-inputs {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
    }
    
    .filter-odds-input-wrapper {
        flex: 1;
    }
}
