/* 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;

}



.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;

}



/* Stats Bar */

.stats-bar {

    display: flex;

    gap: 0.75rem;

    align-items: center;

}



.stat-card {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.5rem 0.75rem;

    background: #0f172a;

    border: 1px solid #2d3748;

    border-radius: 6px;

    transition: all 0.3s ease;

}



.stat-card:hover {

    border-color: #475569;

    transform: translateY(-2px);

}



.stat-icon {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    font-size: 14px;

}



.stat-total .stat-icon {

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

    color: #3b82f6;

}



.stat-success .stat-icon {

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

    color: #10b981;

}



.stat-failed .stat-icon {

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

    color: #ef4444;

}



.stat-pending .stat-icon {

    background: rgba(245, 158, 11, 0.1);

    color: #f59e0b;

}



.stat-content {

    display: flex;

    flex-direction: column;

    gap: 0.125rem;

}



.stat-value {

    font-size: 16px;

    font-weight: 700;

    color: #ffffff;

    line-height: 1;

}



.stat-label {

    font-size: 10px;

    font-weight: 500;

    color: #94a3b8;

    text-transform: uppercase;

    letter-spacing: 0.3px;

}



.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);

    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;

}



.analysis-table thead {

    background: #0f172a;

    position: sticky;

    top: 0;

    z-index: 10;

}



.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;

}



.analysis-table tbody tr {

    border-bottom: 1px solid #2d3748;

    transition: background 0.2s ease;

    height: 45px;

}



.analysis-table tbody tr:hover {

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

}



.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;

}



.analysis-table td:last-child {

    border-right: none;

}



/* 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 {

    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;

}



/* Selected Items Container */

.selected-items-container {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

    margin-top: 0.75rem;

    min-height: 40px;

}



.selected-item-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.5rem 0.75rem;

    background: #3b82f6;

    border-radius: 6px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 500;

}



.selected-item-badge span {

    color: #ffffff;

}



.selected-item-badge button {

    width: 20px;

    height: 20px;

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

    border: none;

    border-radius: 4px;

    color: #ffffff;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

    padding: 0;

}



.selected-item-badge button:hover {

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

}



.selected-item-badge button i {

    font-size: 10px;

}



.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;

}



.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;

}



.remove-filter-btn {

    width: 32px;

    height: 32px;

    background: #ef4444;

    border: none;

    border-radius: 6px;

    color: white;

    font-size: 13px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

    flex-shrink: 0;

}



.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;

}



.import-export-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.75rem;

}



.export-filter-btn,

.import-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: #f59e0b;

}



.import-filter-btn:hover {

    background: #d97706;

}



.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;

    }

}





/* Oto Analiz Specific Styles */

.start-btn {

    background: #10b981 !important;

    color: white !important;

    font-weight: 600;

}



.start-btn:hover {

    background: #059669 !important;

}



/* Table Badges */

.prediction-badge {

    display: inline-block;

    padding: 0.375rem 0.75rem;

    background: #3b82f6;

    color: #ffffff;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 600;

}



.odds-badge {

    display: inline-block;

    padding: 0.375rem 0.75rem;

    background: #8b5cf6;

    color: #ffffff;

    border-radius: 6px;

    font-size: 13px;

    font-weight: 700;

}



.success-badge {

    display: inline-block;

    padding: 0.375rem 0.75rem;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

}



.success-high {

    background: #10b981;

    color: #ffffff;

}



.success-medium {

    background: #f59e0b;

    color: #ffffff;

}



.success-low {

    background: #ef4444;

    color: #ffffff;

}



.match-count-badge {

    display: inline-block;

    padding: 0.375rem 0.75rem;

    background: #64748b;

    color: #ffffff;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 600;

}



.status-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    font-size: 14px;

}



.status-success {

    background: #10b981;

    color: #ffffff;

}



.status-failed {

    background: #ef4444;

    color: #ffffff;

}



.status-pending {

    background: #3b82f6;

    color: #ffffff;

}



.result-badge {

    display: inline-block;

    padding: 0.375rem 0.75rem;

    background: #475569;

    color: #ffffff;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 600;

}



/* View Matches Button */

.view-matches-btn {

    padding: 0.5rem 1rem;

    background: #3b82f6;

    border: none;

    border-radius: 6px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.view-matches-btn:hover {

    background: #2563eb;

    transform: translateY(-2px);

}



/* OLD MATCHES MODAL REMOVED - Using match-detail-modal instead */



/* Modern Notification System */

.modern-notification {

    position: fixed;

    top: 20px;

    right: 20px;

    min-width: 320px;

    max-width: 450px;

    background: #1e293b;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1.25rem 1.5rem;

    z-index: 10001;

    opacity: 0;

    transform: translateX(400px);

    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

}



.modern-notification.show {

    opacity: 1;

    transform: translateX(0);

}



.modern-notification.success {

    border-left: 4px solid #10b981;

}



.modern-notification.error {

    border-left: 4px solid #ef4444;

}



.modern-notification.info {

    border-left: 4px solid #3b82f6;

}



.notification-icon {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.modern-notification.success .notification-icon {

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

    color: #10b981;

}



.modern-notification.error .notification-icon {

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

    color: #ef4444;

}



.modern-notification.info .notification-icon {

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

    color: #3b82f6;

}



.notification-icon i {

    font-size: 20px;

}



.notification-content {

    flex: 1;

}



.notification-message {

    color: #ffffff;

    font-size: 15px;

    font-weight: 500;

    margin: 0;

    line-height: 1.5;

}



.notification-close {

    width: 32px;

    height: 32px;

    background: transparent;

    border: 1px solid #475569;

    border-radius: 6px;

    color: #94a3b8;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

    flex-shrink: 0;

}



.notification-close:hover {

    background: #475569;

    color: #ffffff;

}



.notification-close i {

    font-size: 14px;

}



/* Responsive Notification */

@media (max-width: 768px) {

    .modern-notification {

        top: 10px;

        right: 10px;

        left: 10px;

        min-width: auto;

        max-width: none;

    }

}



/* Modal Odds Value with Tooltip */

.odds-value-modal {

    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;

}



.odds-value-modal .odds-arrow {

    font-size: 10px;

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

}



.odds-value-modal .odds-arrow.down {

    color: #10b981;

}



.odds-value-modal .odds-arrow.up {

    color: #ef4444;

}



.odds-value-modal .odds-arrow.down {

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

}



/* Modal Odds Tooltip */

.modal-odds-tooltip {

    position: fixed;

    background: #0f172a;

    color: #ffffff;

    padding: 0.5rem 0.75rem;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 500;

    white-space: nowrap;

    z-index: 10002;

    pointer-events: none;

    opacity: 0;

    transform: translateY(4px);

    transition: all 0.2s ease;

    border: 1px solid #475569;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);

}



.modal-odds-tooltip.show {

    opacity: 1;

    transform: translateY(0);

}



.modal-odds-tooltip::after {

    content: '';

    position: absolute;

    bottom: -6px;

    left: 50%;

    transform: translateX(-50%);

    width: 0;

    height: 0;

    border-left: 6px solid transparent;

    border-right: 6px solid transparent;

    border-top: 6px solid #0f172a;

}



/* Analyzed Match Row in Modal */

.modal-table tbody tr.analyzed-match-row {

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

    border-left: 4px solid #3b82f6;

    box-shadow: inset 4px 0 8px rgba(59, 130, 246, 0.3);

}



.modal-table tbody tr.analyzed-match-row:hover {

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

}



.analyzed-badge {

    display: inline-block;

    padding: 0.25rem 0.5rem;

    background: #3b82f6;

    color: #ffffff;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    margin-left: 0.5rem;

    vertical-align: middle;

}



.column-toggle-btn {
    padding: 0.5rem 0.75rem;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.column-toggle-btn:hover {
    background: #475569;
    border-color: #64748b;
    color: #ffffff;
}

.column-toggle-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.column-toggle-btn.active:hover {
    background: #2563eb;
    border-color: #2563eb;
}


/* Header Number Inputs */
.header-number-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 120px;
}

.header-number-label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-number-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: #0f172a;
    border: 1px solid #2d3748;
    border-radius: 6px;
    overflow: hidden;
    height: 36px;
}

.header-number-btn {
    width: 32px;
    height: 36px;
    background: #1e293b;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-number-btn:hover {
    background: #2d3748;
    color: #ffffff;
}

.header-number-btn:active {
    background: #0f172a;
}

.header-number-input {
    flex: 1;
    padding: 0 0.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    outline: none;
    min-width: 0;
}

.header-number-input::-webkit-inner-spin-button,
.header-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Stat Cards - Smaller */
.stat-card {
    padding: 0.375rem 0.625rem;
}

.stat-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.stat-value {
    font-size: 14px;
}

.stat-label {
    font-size: 9px;
}


/* Match Detail Modal */
.match-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 1rem;
    display: none; /* Varsayılan gizli */
}

.match-detail-modal.show {
    display: flex !important; /* Açıldığında flex */
    align-items: center !important;
    justify-content: center !important;
}

.match-detail-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(505px);
    z-index: 1;
}

.match-detail-modal .modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #1a2332;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

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

.match-detail-modal .modal-header {
    padding: 1.5rem;
    background: #0f172a;
    border-bottom: 1px solid #2d3748;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-detail-modal .modal-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.match-detail-modal .modal-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.match-detail-modal .modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.match-detail-modal .modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.match-detail-modal .modal-loading {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-size: 16px;
}

.match-detail-modal .modal-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.match-detail-modal .modal-table-wrapper {
    overflow-x: auto;
}

.match-detail-modal .modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.match-detail-modal .modal-table thead {
    background: #0f172a;
    position: sticky;
    top: 0;
    z-index: 10;
}

.match-detail-modal .modal-table th {
    padding: 0.75rem;
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 2px solid #2d3748;
    white-space: nowrap;
}

.match-detail-modal .modal-table tbody tr {
    border-bottom: 1px solid #2d3748;
    transition: background 0.2s ease;
}

.match-detail-modal .modal-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.match-detail-modal .modal-table tbody tr.selected-match {
    background: rgba(59, 130, 246, 0.15);
    border-left: 4px solid #3b82f6;
    font-weight: 600;
}

.match-detail-modal .modal-table tbody tr.selected-match td {
    color: #60a5fa;
}

.match-detail-modal .modal-table td {
    padding: 0.75rem;
    color: #ffffff;
    white-space: nowrap;
}

.match-detail-modal .modal-table tbody tr:last-child {
    border-bottom: none;
}


