/* ==========================================================================
   Buttons and Actions
   ========================================================================== */


.search-area,
.attnReport_header {
    align-items: center;
    margin-bottom: 20px;
}

.search-filters {
    margin-right: 10px;
}

.filter-dropdown {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-input {
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-button {
    padding: 5px 10px;
    margin-right: 10px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.add-button {
    padding: 5px 10px;
    background-color: rgb(34, 37, 82);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.delete-button {
    padding: 5px 10px;
    background-color: #e0e0e0;
    color: black;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.pagination-info {
    align-items: center;
    margin-left: auto;
}

.pagination-info span {
    margin-right: 10px;
}

.pagination-info button {
    padding: 5px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.red-bgcol {
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.no-results-message {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}


/* ==========================================================================
   Icons and Buttons
   ========================================================================== */

.subIconArea {
    display: flex;
    align-items: center;
}

.subIconArea label {
    padding-right: 10px;
}

.lessonSubmission,
.canvasLaunch {
    display: inline-flex;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 1.2em;
    cursor: pointer;
}

.lessonSubmission img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.canvasLaunch {
    margin-right: 25px;
}

.iconBesideText {
    width: 34px;
    height: 34px;
    margin-bottom: -9px;
}

.attnReport_refreshIconButton {
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.arrowExpandImg img {
    width: 26px;
    margin-bottom: -8px;
}

.usersReportHeader {
    display: inline-grid;
}

.usersReportHeader p {
    margin: 0;
    cursor: pointer;
}

.filterItem {
    display: inline-flex;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 1.2em;
}

.filterItem img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.toggle-archived-btn {
    background-color: lightcoral;
    /* #F08080 */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin: 10px 0;
    transition: background-color 0.3s ease;
    margin-left: 10px;
    font-size: smaller;
}

.toggle-archived-btn:hover {
    background-color: #B22222;
    /* FireBrick, a darker red to match lightcoral */
}

.lesson-submission-button {
    display: inline-flex;
    /* Aligns icon and text horizontally */
    align-items: center;
    /* Centers icon and text vertically */
    padding: 8px 16px;
    /* Consistent padding with the search input */
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    /* Educational green-to-blue gradient */
    border-radius: 20px;
    /* Rounded corners for a friendly look */
    color: white;
    /* White text for contrast */
    font-size: 14px;
    /* Readable font size */
    font-weight: 500;
    /* Slightly bold for emphasis */
    cursor: pointer;
    /* Indicates interactivity */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
    transition: all 0.3s ease;
    /* Smooth transitions for hover/active states */
    text-decoration: none;
    /* Removes default underline */
    margin: 10px 0;
    /* Optional: Adds vertical spacing */
    gap: 8px;
    /* Space between icon and text */
}

/* Icon styling */
.lesson-icon {
    width: 20px;
    /* Adjust icon size to match the search icon */
    height: 20px;
    /* Consistent with the search icon */
    filter: brightness(0) invert(1);
    /* Inverts the dark gray icon to white for contrast with gradient */
}

/* Hover effect for interactivity */
.lesson-submission-button:hover {
    background: linear-gradient(45deg, #45a049, #1976D2);
    /* Darker gradient on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Larger shadow on hover */
    transform: translateY(-2px);
    /* Slight lift for a "clickable" feel */
}

/* Active (clicked) state */
.lesson-submission-button:active {
    transform: translateY(0);
    /* Returns to original position when clicked */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    /* Reduced shadow when clicked */
}

/* Ensure text doesn’t wrap or overflow */
.lesson-submission-button span {
    white-space: nowrap;
    /* Prevents text wrapping */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .lesson-submission-button {
        padding: 6px 12px;
        /* Slightly smaller padding on mobile */
        font-size: 12px;
        /* Smaller text on mobile */
        border-radius: 15px;
        /* Slightly smaller corners on mobile */
    }

    .lesson-icon {
        width: 18px;
        /* Slightly smaller icon on mobile */
        height: 18px;
    }
}