* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Mobilde çift tık yakınlaşmasını engeller ve tıklama gecikmesini sıfırlar */
    touch-action: manipulation;
}

html, body {
    /* Ekranın sabit ölçekte durmasını sağlar */
    touch-action: manipulation;
}

body {
    background-color: #0f1015;
    color: #e1e1e6;
    padding: 15px;
}

a {
    color: #3498db;
    text-decoration: none;
    touch-action: manipulation;
}

a:hover {
    text-decoration: underline;
}

/* Genel Buton Tasarımları */
.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #252535;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #3d3d5c;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: center;
    touch-action: manipulation;
}

.btn:hover {
    background: #323248;
    text-decoration: none;
}

.btn-success {
    background: #27ae60;
    border-color: #2ecc71;
    color: #fff;
}

.btn-success:hover {
    background: #219150;
}

.btn-danger {
    background: #c0392b;
    border-color: #e74c3c;
    color: #fff;
}

.btn-danger:hover {
    background: #a93226;
}

/* Ana Düzen (Layout) */
.main-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.col-left {
    flex: 1;
    min-width: 280px;
}

.col-center {
    flex: 2;
    min-width: 300px;
    overflow-x: auto; /* Mobilde tablonun taşmasını engeller */
}

.col-right {
    flex: 1.2;
    min-width: 280px;
}

/* Kart Yapıları */
.card {
    background: #181920;
    border: 1px solid #282a36;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.card h3, .card h4 {
    margin-bottom: 15px;
}

/* Stat Listesi */
.stats-list p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #20222c;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.stats-list button {
    background: #4CAF50;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    touch-action: manipulation;
}

.stats-list button:hover {
    background: #45a049;
}

/* Tablo Stilleri */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    background: #20222c;
    color: #8b8d9b;
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px 6px;
}

td {
    padding: 10px 6px;
    font-size: 13px;
    color: #d0d0d8;
}

tr:hover {
    background-color: #1f212d !important;
}

/* Fikstür / Maç Satırları */
.match-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #20222c;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    border-left: 3px solid #3498db;
    touch-action: manipulation;
}

.match-box strong {
    background: #111217;
    padding: 3px 8px;
    border-radius: 4px;
    color: #f1c40f;
}

/* Mobile Responsive Medya Sorguları */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .main-container {
        flex-direction: column;
        gap: 15px;
    }

    .col-left, .col-center, .col-right {
        width: 100%;
        flex: none;
    }

    .top-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .top-bar-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #teamModal {
        padding: 10px !important;
    }

    #teamModal > div {
        padding: 15px !important;
        max-width: 100% !important;
    }
}