.elementor-754 .elementor-element.elementor-element-aa01f30{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-924b382 *//* Container and Typography */
.assignment-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
}

.assignment-header {
    margin-bottom: 30px;
    border-left: 5px solid #3498db;
    padding: 10px 20px;
    background: #fcfcfc;
}

/* Table Wrapper */
.assignment-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.assignment-table {
    width: 100%;
    border-collapse: collapse;
}

.assignment-table th {
    background-color: #f4f7f6;
    color: #444;
    padding: 18px;
    text-align: right;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.assignment-table td {
    padding: 18px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* Badge Styles */
.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
}
.math { background: #e67e22; }
.science { background: #27ae60; }
.english { background: #9b59b6; }
.history { background: #e74c3c; }

/* Download Button */
.action-link {
    display: inline-block;
    background: #3498db;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}

.action-link:hover {
    background: #2980b9;
    transform: scale(1.03);
}

/* --- MOBILE RESPONSIVE MAGIC --- */
@media screen and (max-width: 768px) {
    /* Hide the original table headers */
    .assignment-table thead {
        display: none;
    }

    .assignment-table, 
    .assignment-table tbody, 
    .assignment-table tr, 
    .assignment-table td {
        display: block;
        width: 100%;
    }

    .assignment-table tr {
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 10px;
    }

    .assignment-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #f9f9f9;
    }

    /* Add labels before the data using the 'data-label' concept or manual labels */
    .assignment-table td::before {
        content: attr(data-label); /* This pulls text from the HTML */
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: 700;
        color: #7f8c8d;
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .assignment-table td:last-child {
        border-bottom: 0;
        text-align: center;
        padding-left: 15px;
    }
}/* End custom CSS */