/* 
Theme Name:		 Astra Child
Theme URI:		 http://childtheme-generator.com/
Description:	 Astra Child is a child theme of Astra, created by ChildTheme-Generator.com
Author:			 Tarikul
Author URI:		 http://childtheme-generator.com/
Template:		 astra
Version:		 1.0.0
Text Domain:	 astra-child
*/


/*
    Add your custom styles here
*/

/*Student Assignment Instructor Noted*/
.tutor-instructor-note ul {
    margin-bottom: 0;
}

.tutor-instructor-note > span {
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

/*Tutor LMS >> single >> assignment >> resubmit button input hide*/
input#tutor-resubmit-assignment-file-uploads {
    display: none;
}

/*Course complete buttonm hide on Single course view when student login */
button[name="complete_course_btn"] {
    display: none;
}

/*Enrolled course view "Resource tab" CSS */
#tutor-course-details-tab-resources .tutor-card {
    height: auto !important;
    overflow: auto;
}

#trustpilot-widget-trustbox-1-wrapper {
    margin-left: 360px !important; /* Default for desktops */
}

/* When student complete a course all lesson and last stage he can see the button and will hide it */
.tutor-topbar-mark-btn {
    display: none;
}

/*Assignment resubmit spinner csss */

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

/*Dashboard student view card CSS*/

/* Grid spacing */
.student-grid {
    gap: 24px;
}

/* Card */
.student-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.student-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

/* Card body */
.student-card-body {
    padding: 20px;
}

/* Name */
.student-name {
    font-size: 18px;
    margin-bottom: 4px;
}

.student-name a {
    text-decoration: none;
    color: #111827;
}

.student-name a:hover {
    color: #3b82f6;
}

/* Email */
.student-email {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

/* Course header */
.course-header {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-count {
    background: #FF6B6B;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Course scroll area */
.student-courses {
    max-height: 130px;
    overflow-y: auto;
    padding-right: 6px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

/* Course list */
.student-courses ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.student-courses li {
    margin-bottom: 6px;
}

.student-courses a {
    font-size: 14px;
    text-decoration: none;
    color: #374151;
}

.student-courses a:hover {
    color: #3b82f6;
}

/* Thin scrollbar */
.student-courses::-webkit-scrollbar {
    width: 4px;
}

.student-courses::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.student-actions {
    display: flex;
    margin-top: 15px;
    gap: 5px;
}

.student-btn.submission-btn {
    color: #000;
    border: 1px solid #7477;
    margin: 20px 0px;
}

.student-btn {
    display: inline-block;
    padding: 1px 5px;
    font-size: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Submission Button Style */
.submission-btn {
    background: transparent;
    color: #fff;
}

.submission-btn:hover {
    background: #059669;
    color: #ffffff;
}


/*Dashboard student view card CSS*/

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




/* Tablets (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) { 
    #trustpilot-widget-trustbox-1-wrapper {
        margin-left: 122px !important;
    }
}

/* Mobile (Up to 600px) */
@media (max-width: 600px) { 
    #trustpilot-widget-trustbox-1-wrapper {
        margin-left: -60px !important;
    }
}


@media (min-width: 300px) and (max-width: 550px) { 
    #trustpilot-widget-trustbox-1-wrapper {
        margin-left: -60px !important;
    }
}