/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Table Styles */
table {
    width: 95%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

table caption {
    font-size: 1.8em;
    font-weight: 600;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    letter-spacing: 1px;
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    word-wrap: break-word;
}

table th {
    background-color: #34495e;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

/* Link Styles */
a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    /* Tablet Styles */
    table {
        width: 100%;
        font-size: 0.9em;
    }

    table caption {
        font-size: 1.6em;
    }

    table th, table td {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    /* Small Tablet Styles */
    table {
        font-size: 0.85em;
    }

    table caption {
        font-size: 1.5em;
    }

    table th, table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    /* Mobile Styles */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    table caption {
        font-size: 1.3em;
    }

    table th, table td {
        padding: 8px;
        font-size: 0.8em;
    }
}

/* Additional Professional Touches */
table td[rowspan] {
    background-color: #ecf0f1;
    font-weight: 500;
}

table td[rowspan]:hover {
    background-color: #dfe6e9;
}

a[href="#"] {
    pointer-events: none;
    color: black;
}