/* ===== Body و استایل پایه ===== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #181818;
    color: #fff;

}

.section {
    background: #181818;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0004;
    padding: 48px 32px;
    margin: 48px auto;
    max-width: 1100px;
}

.section h2 {
    color: #e63946;
    text-align: center;
    font-size: 2em;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.license-card {
    background: #181818;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px #0002;
}

.license-card img {
    width: 100%;
    max-width: 160px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.back-link {
    text-align: left;
    margin: 20px 0 0 0;
    display: block;
    color: #e63946;
    text-decoration: none;
    font-weight: bold;
}

/* ===== Table ریسپانسیو و زیبا ===== */
.table-responsive {
    max-width: 900px;
    margin: 20px auto;
    overflow-x: auto;
    border-radius: 8px;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.table th,
.table td {
    padding: 12px 20px;
    text-align: left;
}

.table th {
    background: #333;
    color: #e63946;
    font-weight: bold;
    position: sticky;
    top: 0;
}

.table tr {
    background: #222;
    transition: background 0.3s;
}

.table tr:nth-child(even) {
    background: #2a2a2a;
}

.table tr:hover {
    background: #3a3a3a;
}

.table td {
    border-bottom: 1px solid #444;
}

/* ===== Media Queries برای موبایل ===== */
@media (max-width: 700px) {
    
    .table th,
    .table td {
        padding: 10px 12px;
        font-size: 0.9em;
    }
}