/* ==========================================
   BOLACENTRAL - CSS ADDITIONS (FIXED)
   Form dots dan H2H styles
   ========================================== */

/* Form Dots */
.form-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85em;
    color: white;
    margin-right: 4px;
    text-transform: uppercase;
}

.form-dot.W { 
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%); 
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.form-dot.D { 
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%); 
    color: #333; 
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.form-dot.L { 
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); 
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* H2H Items */
.h2h-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    transition: background 0.2s;
}

.h2h-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

.h2h-item:last-child {
    border-bottom: none;
}

.h2h-score {
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    min-width: 60px;
    text-align: center;
}

.h2h-score.home-win {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.h2h-score.draw {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.h2h-score.away-win {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.05) 100%);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Selected prediction button */
.pred-btn.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pred-btn.selected .odds {
    color: rgba(255,255,255,0.9) !important;
}

/* Stored badge */
#storedBadge {
    display: none;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 0.7em;
    padding: 4px 12px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

#storedBadge.visible {
    display: inline-block;
}

/* Form section */
.form-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.form-title {
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-dots-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Analysis section */
.ai-analysis-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary);
    line-height: 1.8;
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    z-index: 9999;
    font-size: 0.9em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Prediction Modal Improvements */
.prediction-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 25px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.prediction-result {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.prediction-confidence {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Teams section */
.teams-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 25px;
    background: white;
}

.team-info {
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.team-name {
    font-weight: 600;
    font-size: 0.95em;
    color: #333;
}

.vs-section {
    text-align: center;
}

.vs-score {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary);
}

.vs-status {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

/* Odds section */
.odds-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
}

.pred-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pred-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.pred-btn .label {
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.pred-btn .odds {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary);
}

/* H2H Section */
.h2h-section {
    padding: 20px;
    background: white;
}

.h2h-title {
    font-weight: 600;
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.h2h-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

/* Analysis section */
.analysis-section {
    padding: 20px;
    background: white;
}

.analysis-title {
    font-weight: 600;
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}