
.module_card {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 
            0 8px 24px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 15px;
}

.module_card_body {
    padding: 14px;
}

.module_heading {
    height: 90px;
    font-size: 20px;
    font-weight: 600;
}

.yt-btn {
    text-decoration: none;
    color: red;
    background-color: rgba(255,0,0,0.2);
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 8px;
}

.module_image {
    border-radius: 12px 12px 0px 0px;
}


input[name="modulename"] {

    padding: 6px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

input[name="modulename"]:focus {
    border-color: rgba(0, 123, 255, 0.8); /* Highlight color */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

select {

    padding: 6px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

}

select:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

select option {
    font-size: 16px;
    padding: 10px;
}



.thumbnail-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px 12px 0px 0px;
}

.thumbnail-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0px 0px;
}

.overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.4s ease-in-out;
}

.thumbnail-container:hover .overlay {
    left: 0;
    cursor: pointer;
}

.eye-icon {
    font-size: 2rem;
    color: white;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.thumbnail-container:hover .eye-icon {
    opacity: 1;
}

.thumbnail-container:hover {
    cursor: pointer;
}


    /* Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        max-width: 80%;
        max-height: 80%;
        border-radius: 10px;
        display: block;
        margin-top: 90px;
    }
    
    .close {
        position: absolute;
        top: 100px;
        right: 30px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }

    /* Animation */
    @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.9); }
        to { opacity: 1; transform: scale(1); }
    }







    .pagination {
        margin-top: 20px;
        margin-bottom: 60px;
    }

    /* Default page link styles */
    .pagination .page-item .page-link {
        color: #044f60;
        border-radius: 8px;
        margin: 0 5px;
        padding: 10px 15px;
        transition: all 0.3s ease;
        border: 1px solid #044f60;
        background-color: white;
    }

    /* Active page style */
   /* Active page style */
   .pagination .page-item.active .page-link {
    background-color: #044f60 !important;
    color: white !important;
    border-color: #044f60 !important;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 123, 255, 0.3);
}
    /* Hover effect */
    .pagination .page-item .page-link:hover {
        background-color: #044f60;
        color: white;
        border-color: #044f60;
    }

    /* Disabled buttons (Previous/Next when unavailable) */
    .pagination .page-item.disabled .page-link {
        color: #6c757d;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }