/* Ana Stiller */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; background-color: #f8f9fa; color: #343a40; margin: 0; padding: 100px 10px 20px 10px; }
.container { max-width: 1200px; margin: auto; background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
h1, h2, h3 { text-align: center; color: #2c3e50; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.team-section { padding: 20px; border: 1px solid #dee2e6; border-radius: 8px; background-color: #fdfdfd; }
.team-section h3 { margin-top: 0; color: #007bff; border-bottom: 2px solid #007bff; padding-bottom: 10px; margin-bottom: 20px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
input[type="text"], input[type="number"], select { width: 100%; padding: 10px; margin-bottom: 15px; border-radius: 5px; border: 1px solid #ced4da; box-sizing: border-box; background-color: #f8f9fa; }
.form-group-inline { display: flex; gap: 10px; }
.submit-btn { display: block; width: 100%; padding: 15px; color: white; border: none; border-radius: 8px; font-size: 20px; font-weight: bold; cursor: pointer; margin-top: 25px; transition: all 0.3s ease; }
.save-btn { background: linear-gradient(45deg, #007bff, #0056b3); }
.predict-btn { background: linear-gradient(45deg, #28a745, #218838); }
.results, .prediction-section, .add-match-section { margin-top: 40px; padding: 25px; background: #f8f9fa; border-top: 4px solid #6c757d; border-radius: 8px; }
.prediction-section { border-top-color: #28a745; }
.add-match-section { border-top-color: #007bff; }
.prediction { text-align: center; font-size: 24px; font-weight: bold; margin: 20px 0; }
.prediction-box { padding: 20px; border-radius: 8px; color: white; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.home-win { background: linear-gradient(45deg, #007bff, #0056b3); }
.draw { background: linear-gradient(45deg, #ffc107, #d39e00); }
.away-win { background: linear-gradient(45deg, #dc3545, #c82333); }
.recommendation { text-align: center; font-size: 18px; margin-top: 15px; }
.table-responsive-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 20px; border-radius: 5px; }
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table th, .summary-table td { border: 1px solid #dee2e6; padding: 12px; text-align: center; vertical-align: middle;}
.summary-table th { background-color: #e9ecef; }
.summary-table td:first-child { text-align: left; font-weight: bold; }
.winner { color: #218838; font-weight: bold; background-color: #eafaf1; }
.highest-prob { color: #218838; font-weight: bold; }
.form-circles-container { display: flex; justify-content: center; align-items: center; }
.form-circle { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; color: white; align-items: center; justify-content: center; font-weight: bold; margin: 0 2px; font-size: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.win { background-color: #28a745; } .draw { background-color: #6c757d; } .loss { background-color: #dc3545; }
.bulletin-management { background-color: #343a40; color: white; padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.bulletin-management label { color: #ffc107; }
.bulletin-management .submit-btn { margin-top: 10px; background: #ffc107; color: #343a40; }
.current-bulletin { text-align: center; background-color: #e9ecef; padding: 10px; border-radius: 5px; margin-bottom: 20px; border: 1px solid #ccc; }
.match-checkbox-list { list-style-type: none; padding: 0; }
.match-checkbox-list li { background: #fff; border: 1px solid #ddd; padding: 10px 15px; margin-bottom: 8px; border-radius: 5px; display: flex; align-items: center; }
.match-checkbox-list input[type="checkbox"] { width: 20px; height: 20px; margin-right: 15px; flex-shrink: 0;}
.match-checkbox-list label { margin-bottom: 0; }
.page-nav { text-align: center; margin-bottom: 20px; }
.page-nav a { display: inline-block; padding: 10px 20px; background-color: #6c757d; color: white; text-decoration: none; border-radius: 5px; font-weight: bold; }
.main-nav { background-color: #343a40; padding: 10px 20px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.2); display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; }
.logo { color: #ffc107; font-weight: bold; font-size: 24px; text-decoration: none; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; background-color: #343a40; position: absolute; top: 60px; left: 0; width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.nav-links.active { max-height: 500px; }
.nav-links li { width: 100%; text-align: center; }
.nav-links a { color: white; text-decoration: none; padding: 15px 0; display: block; width: 100%; border-bottom: 1px solid #495057; }
.nav-links a:hover { background-color: #495057; }
.nav-links a .danger-icon { color: #ffc107; margin-right: 5px; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: white; margin: 4px 0; transition: 0.4s; }
.analysis-list { list-style-type: none; padding: 0 10px; margin-top: 20px; }
.analysis-list li { padding: 10px 0; border-bottom: 1px solid #e9ecef; line-height: 1.5; }
.analysis-list li:last-child { border-bottom: none; }
.analysis-list strong { color: #0056b3; }
.prediction-cell span { display: inline-block; padding: 4px 10px; border-radius: 5px; color: white; font-weight: bold; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); }
.bar-chart-container { padding: 10px; margin-top: 20px; }
.bar-chart-row { display: flex; align-items: center; margin-bottom: 8px; }
.bar-label { width: 30%; font-size: 14px; text-align: right; padding-right: 10px; flex-shrink: 0;}
.bar-wrapper { width: 70%; background-color: #e9ecef; border-radius: 5px; }
.bar { height: 24px; line-height: 24px; color: white; font-weight: bold; text-align: right; padding-right: 8px; border-radius: 5px; white-space: nowrap; box-sizing: border-box; transition: width 0.6s ease-in-out; }
.bar.home { background-color: #007bff; }
.bar.draw { background-color: #6c757d; }
.bar.away { background-color: #dc3545; }
.multi-results-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 20px; overflow-x: auto; padding: 10px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.multi-result-card { background: #fff; border: 1px solid #dee2e6; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; width: 100%; scroll-snap-align: center; }
.multi-result-card h2 { font-size: 1.1em; background-color: #343a40; color: white; padding: 10px; margin: 0; }
.multi-result-card .prediction { font-size: 1.4em; }
.multi-result-card .prediction-box { border-radius: 0; }
.multi-result-card .recommendation { font-size: 1em; padding: 0 15px 15px 15px; }
.multi-result-card .bar-chart-container { padding: 15px; }
.multi-result-card .comparison-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 15px; border-top: 1px solid #dee2e6; margin-top: auto; }
.comparison-col { text-align: center; }
.comparison-col h4 { margin: 0 0 10px 0; font-size: 1em; }
.comparison-item { margin-bottom: 10px; }
.comparison-item .label { font-size: 12px; color: #6c757d; display: block; }
.comparison-item .value { font-size: 18px; font-weight: bold; }
.vs-col { font-size: 24px; font-weight: bold; color: #6c757d; }
.danger-card { border-left: 5px solid #dc3545; margin-bottom: 20px; padding: 15px; background-color: #fff; border-radius: 0 5px 5px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.danger-card h4 { margin: 0 0 10px 0; color: #343a40; text-align: left; }
.danger-card p { margin: 0 0 5px 0; color: #6c757d; text-align: left;}
.danger-card strong { color: #c82333; }

@media screen and (max-width: 768px) {
    .menu-toggle { display: flex; }
    .table-responsive-wrapper { border: none; overflow-x: hidden; }
    .summary-table { border: none; }
    .summary-table thead { display: none; }
    .summary-table tr { display: block; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
    .summary-table td { display: flex; justify-content: space-between; align-items: center; text-align: right !important; border-bottom: 1px solid #eee; position: relative; padding: 10px; min-height: 24px; }
    .summary-table td:before { content: attr(data-label); font-weight: bold; text-align: left !important; padding-right: 10px; }
    .summary-table td:first-child { display: block; background-color: #343a40; color: white; font-weight: bold; text-align: center !important; border-radius: 5px 5px 0 0; }
    .summary-table td:first-child:before { display: none; }
    .summary-table td:last-child { border-bottom: none; }
    .summary-table .form-circles-container { justify-content: flex-end; }
    .ozet-table td.desktop-only { display: none; }
    .ozet-table td:first-child { display: block; background-color: #6c757d; font-size: 1.1em; text-align: center !important; }
    .ozet-table td.match-teams-cell { display: none; }
    .multi-results-grid { grid-auto-columns: 90%; }
}
@media (min-width: 768px) {
    body { padding-top: 0; }
    .main-nav { position: static; }
    .nav-links { position: static; flex-direction: row; background: none; max-height: none; width: auto; }
    .nav-links.active { max-height: none; }
    .nav-links li { width: auto; }
    .nav-links a { border: none; padding: 10px 15px; border-radius: 5px; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .prediction { font-size: 28px; }
    .multi-results-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
}
/* Menü İkonları İçin Güncellenmiş Stiller */

/* Canlı Maç İkonu Stili (Yeşil) - RENK DEĞİŞTİ */
.live-icon {
  color: #28a745; /* Canlı yeşili */
  margin-right: 8px; /* İkon ile yazı arasına boşluk */
  font-size: 1.1em; /* İkonu biraz büyütür */
  vertical-align: middle; /* İkonu metinle dikeyde ortalar */
}

/* Noter İkonu Stili (Mavi - Çark ikonu) */
.noter-icon {
  color: #007bff; /* Profesyonel mavi */
  margin-right: 8px;
  font-size: 1.3em; /* Çark ikonu biraz daha büyük ve belirgin olabilir */
  vertical-align: middle;
}

/* Forum İkonu Stili (Mor - Canlıdan ayrışması için) */
.forum-icon {
  color: #6f42c1; /* Canlı sohbet/topluluk moru */
  margin-right: 8px;
  font-size: 1.1em;
  vertical-align: middle;
}

/* Danger Zone ikonu için stil */
.danger-icon {
  color: #ffc107; /* Sarı uyarı rengi */
  margin-right: 8px;
  vertical-align: middle;
}