/**
 * Learner Table Widget Styles
 * File: assets/css/learner-table-widget.css
 */

.learner-table-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.learner-table {
    width: 100%;
    border-collapse: collapse;
}

.learner-table th {
    background-color: #b4c7e7;
    color: #000;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #8b9dc3;
}

.learner-table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
}

.learner-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.learner-table tbody tr:hover {
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.learner-table .sno {
    text-align: center;
    width: 80px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .learner-table-container {
        padding: 15px;
        overflow-x: auto;
    }

    .learner-table {
        font-size: 14px;
    }

    .learner-table th,
    .learner-table td {
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .learner-table {
        font-size: 12px;
    }

    .learner-table th,
    .learner-table td {
        padding: 6px;
    }

    .learner-table .sno {
        width: 50px;
    }
}