/* style.css */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f172a; /* Gece mavisi/siyah tonu */
    color: #f8fafc;
    margin: 0;
}

header {
    background: #1e293b;
    padding: 1rem 2rem; /* Yanlardan biraz boşluk verdik */
    border-bottom: 2px solid #38bdf8;
    display: flex; /* Logo ve yazıyı yan yana getirmek için */
    align-items: center; /* Dikeyde ortalar */
    justify-content: flex-start; /* Sola yaslar */
    gap: 20px; /* Logo ile yazı arasındaki mesafe */
}

.logo-img {
    height: 50px; /* Logonun yüksekliği */
    width: auto;
    border-radius: 8px; /* İstersen köşeleri yuvarlatabilirsin */
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

nav {
    background: #1e293b;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

.main-container {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    gap: 25px;
    padding: 0 20px;
}

.content {
    flex: 3;
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.news-sidebar {
    flex: 1;
    background: #1e293b;
    padding: 20px;
    border-radius: 15px;
}

.news-card {
    background: #334155;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid #38bdf8;
}
/* Ceza Sonuç Kartı */
.result-card {
    display: none; /* Başlangıçta gizli */
    margin-top: 30px;
    background: #450a0a; /* Koyu kırmızı */
    border: 2px solid #ef4444;
    padding: 20px;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-in-out;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ef4444;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.penalty-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fca5a5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 { color: #38bdf8; }
input { background: #0f172a; border: 1px solid #334155; color: white; padding: 10px; border-radius: 5px; width: 70%; }
button { background: #38bdf8; border: none; padding: 10px 20px; border-radius: 5px; color: #0f172a; font-weight: bold; cursor: pointer; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { padding: 12px; border-bottom: 1px solid #334155; text-align: left; }