/* 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: #94a3b8;
    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;
}

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

.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-x: auto;
    margin: 1.5rem 0;
    background: #1a2332;
    border: 1px solid #2d3748;
    border-radius: 8px;
}

.analysis-table {
    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.75rem 0.5rem;
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
    font-size: 11px;
    border-bottom: 1px solid #2d3748;
    border-right: 1px solid #2d3748;
    white-space: nowrap;
}

.analysis-table th:last-child {
    border-right: none;
}

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

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

.analysis-table tbody tr:last-child {
    border-bottom: none;
}

.analysis-table td {
    padding: 0.5rem;
    text-align: center;
    color: #ffffff;
    border-right: 1px solid #2d3748;
}

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

/* Odds Tooltip */
.odds-value[data-previous]::before {
    content: 'İlk: ' attr(data-previous) ' → Son: ' attr(data-current);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    border: 1px solid #475569;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.odds-value[data-previous]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e293b;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.odds-value[data-previous]:hover::before,
.odds-value[data-previous]:hover::after {
    opacity: 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: 460px;
    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 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;
}

.section-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.filter-select-group {
    display: flex;
    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 {
    background: #1e293b;
    border: 2px dashed #475569;
    border-radius: 8px;
    padding: 1.5rem;
}

.save-filter-header,
.edit-filter-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.save-filter-header i,
.edit-filter-header i {
    color: #3b82f6;
    font-size: 20px;
}

.save-filter-header h4,
.edit-filter-header h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.save-filter-description,
.edit-filter-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);
}

.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-title {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #475569;
}

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