/**
 * Tutor preview page styles.
 *
 * @package    local_lat_findtutors
 * @copyright  2026 Zunyr Haiyydr <zunyrhaiyydr@gmail.com>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");


.lat-tutor-preview {
    margin: 0 auto;
    max-width: 1093px;
    font-family: "Poppins", sans-serif;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Header Section */
.lat-preview-header {
    margin-bottom: 40px;
}

.lat-preview-avatar-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.lat-preview-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.lat-preview-avatar {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #1211170F;
    border-radius: 4px;
}

.lat-preview-info {
    flex: 1;
}

.lat-preview-name {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.lat-preview-flag {
    font-size: 1.25rem;
}

.lat-preview-headline {
    font-size: 16px;
    color: #121117;
    margin: 0 0 0.75rem;
    font-weight: 400;
}

strong {
    color: var(--text);
}

.lat-preview-languages {
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
}

/* Content Layout */

/* Main Content */
.lat-preview-main {
    min-width: 0;
}

.lat-preview-section {
    margin-bottom: 2rem;
}

.lat-preview-section h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text);
}

.lat-tutor-preview .lat-reviews-section {
    all: unset;
}

.lat-preview-video-section {
    grid-column: 1 / -1;
    margin-bottom: 3rem;
}

.lat-preview-text {
    line-height: 1.7;
    color: var(--text);
    white-space: pre-wrap;
}

/* Video */
.lat-preview-video-section {
    margin-bottom: 3rem;
}

.lat-preview-video-container {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lat-preview-video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1f2937;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lat-preview-video-play-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ef4444 !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
}

.lat-preview-video-play-btn:hover {
    background: #dc2626 !important;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.7);
}

/* Resume Section */
.lat-resume-section {
    margin-bottom: 2rem;
}

.lat-resume-heading {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text);
}

.lat-resume-tabs {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.lat-resume-tabs .nav-item {
    margin-bottom: -1px;
}

.lat-resume-tabs .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 0;
    margin-right: 24px;
    background: transparent;
    border-radius: 0;
}

.lat-resume-tabs .nav-link:hover,
.nav-tabs .nav-link.active:hover,
.lat-resume-tabs .nav-link:focus {
    color: var(--text);
    background: transparent;
}

.lat-resume-tabs .nav-link.active {
    color: var(--text);
    border-bottom: 2px solid var(--accent);
    background: transparent;
}

.lat-resume-tab-content {
    padding-top: 0;
}

.lat-resume-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.lat-resume-item:last-child {
    border-bottom: none;
}

.lat-resume-year {
    font-size: 16px;
    color: #4D4C5C;
    white-space: nowrap;
    min-width: 110px;
    padding-top: 2px;
    font-weight: 300;
}

.lat-resume-details {
    flex: 1;
}

.lat-resume-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 2px;
}

.lat-resume-subtitle {
    font-size: 16px;
    color: #4D4C5C;
    margin: 0;
    font-weight: 300;
}

/* My Specialties Accordion */
#lat-myspec-section {
    margin-top: 40px;
}

.lat-specialties-heading {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text);
}

.lat-myspec-item {
    border-radius: 8px;
    overflow: hidden;
}

.lat-myspec-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}

.lat-myspec-header:focus {
    outline: none;
    box-shadow: none;
}

.lat-myspec-header[aria-expanded="true"] {
    background: #f2f4f7;
}

.spec-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--text);
}

.lat-myspec-header[aria-expanded="true"] .spec-chevron {
    transform: rotate(180deg);
}

.lat-myspec-content {
    padding: 16px
}

.lat-myspec-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    font-weight: 400;
}

/* Tags */
.lat-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lat-preview-tag {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Credentials */
.lat-preview-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lat-preview-credential {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.lat-credential-type {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.lat-credential-institution {
    color: #6b7280;
}

.lat-credential-years {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Sidebar Video */
.lat-preview-sidebar-video {
    margin-bottom: 1rem;
}

.lat-preview-video-container-sidebar {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lat-preview-video-thumbnail-sidebar {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1f2937;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lat-preview-video-play-btn-sidebar {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    z-index: 10;
}

.lat-preview-video-play-btn-sidebar:hover {
    background: rgba(255, 88, 60, 1) !important;
}

/* Sidebar Card */
.lat-preview-sidebar {
    position: sticky;
    top: 1rem;
    align-self: start;
    border: 1px solid #0000001F;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0px 9.38px 21.56px 0px #00000008,
        0px 39.38px 39.38px 0px #00000008,
        0px 88.13px 52.5px 0px #00000005,
        0px 156.56px 62.81px 0px #00000000,
        0px 244.69px 68.44px 0px #00000000;
    padding: 24px;
    width: 400px;
}

.lat-preview-card {
    /* background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative; */
}

.lat-preview-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    transition: transform 0.2s;
}

.lat-preview-favorite:hover {
    transform: scale(1.1);
}

.lat-preview-favorite.active svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.lat-preview-pricing {
    margin-block: 24px;
    display: flex;
    justify-content: space-between;
}

.lat-preview-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-direction: column;
}

.lat-price-amount {
    font-size: 24px;
    font-weight: 500;
    color: #121117;
}

.lat-price-label {
    color: #4D4C5C;
    font-size: 14px;
    font-weight: 300;
}

.lat-preview-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-outline,
.lat-preview-actions .btn-primary {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text);
    font-size: 18px;
    font-weight: 600;
    background: var(--bg);
}

.lat-preview-actions .btn-primary:hover {
    background: rgba(255, 88, 60, 1) !important;
}

.btn-primary {
    background: var(--accent) !important;
    color: #fff !important;
}

.btn-outline:hover {
    background: #f2f4f7;
}

/* Video Section */
.lat-preview-video-section {
    grid-column: 1 / -1;
    margin-bottom: 3rem;
    width: 100%;
}

.lat-preview-video-container {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 480px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.lat-preview-video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1f2937;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lat-preview-video-play-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ef4444 !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
}

.lat-preview-video-play-btn:hover {
    background: #dc2626 !important;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.7);
}

/* slider */
.lat-slider-section {
    margin: 40px auto;
}

.lat-slider-section h2 {
    margin-bottom: 20px;
}

.students_say_section,
.lat-slider-section h2,
#my_lesson_tutor_profile_my_specialities h2,
#my_lesson_tutor_profile_resume h2,
.my_lessons_tutor_profile_about h2,
.my_lessons_tutor_profile_languages h2,
#my_lessons_tutor_profile_reviews_section h2,
#my_lessons_tutor_profile_schedule h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0px;
    color: var(--text);
}

.lat-slider-container {
    position: relative;
}

.lat-slider-prev {
    left: -18px;
}

.lat-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 2.38px solid var(--dark-text);
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.lat-slider-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.lat-slider-item {
    height: 315px;
    width: 160px;
}

.lat-slider-imgwrap {
    position: relative;
    width: 160px;
    height: 160px;
    /* padding-top: 100%; */
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #1211170F;
}

.lat-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lat-slider-details {
    position: absolute;
    top: 130px;
    left: 11px;
}

.lat-slider-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
}

.lat-slider-flag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lat-slider-next {
    right: -18px;
}

.lat-slider-rating svg {
    margin-bottom: 4px;
}

.lat-slider-rating-no {
    color: var(--text);
    margin-left: 2px;
    font-weight: 600;
}

.lat-slider-rating span {
    font-weight: 400;
    color: #4D4C5C;
    margin-left: 4px;
}

.lat-slider-desc {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    font-weight: 400;
    color: var(--text);
}

.lat-slider-price div {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.lat-slider-price p {
    font-size: 13px;
    font-weight: 400;
    color: #4D4C5C
}

/* slider */


/* schedule */
.lat-schedule h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0px;
    color: var(--text);
}

.lat-schedule-notice {
    background: #CCE2FF;
    border-radius: 2px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 0;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 400;
    align-items: center;
}

.lat-schedule-toggle-duration {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 24px;
    background: #F4F4F8;
}

.lat-schedule-toggle-duration button.active {
    border: 2px solid #DCDCE5;
    background: #fff;
}

.lat-schedule-toggle-duration button {
    flex: 1;
    border: none;
    /* padding: 8px; */
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    height: 36px;
    max-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lat-schedule-week-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    height: 48px;
}

.lat-schedule-week-label {
    font-weight: 600;
}

.lat-schedule-timezone-select {
    position: relative;
    margin-left: auto;
    /* border: 1px solid #ccc; */
    border-radius: 8px;
    padding: 3px 13px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 48px;
    border: 2px solid #DCDCE5;
}

.lat-schedule-timezone-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    list-style: none;
    padding: 4px 0;
    margin-top: 4px;
    width: 200px;
    display: none;
    z-index: 10;
}

.lat-schedule-timezone-dropdown li {
    padding: 6px 12px;
    cursor: pointer;
}

.lat-schedule-timeline {
    position: relative;
    margin-bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.lat-schedule-timeline-progress {
    height: 100%;
    height: 4px;
    background: #AEB5BC;
    width: 84px;
}

.lat-schedule-timeline-progress.active {
    background: #FF2500;
}

.lat-schedule-timeline-progress {
    height: 100%;
    height: 4px;
    background: #AEB5BC;
    width: 84px;
}

.hide-slots {
    height: 380px;
    overflow: hidden;
}

.lat-schedule-slots {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.lat-schedule-day {
    text-align: center;
}

.lat-schedule-day-label {
    font-size: 16px;
    color: #384047;
    font-weight: 400;
    margin-bottom: 19px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lat-schedule-day-label span {
    font-weight: 500;
}

.view-schedule:hover {
    background: #F4F4F8;
}

.view-schedule {
    margin: 32px auto 40px auto;
    border: 3px solid #DCDCE5;
    border-radius: 10px;
    height: 44px;
    display: flex;
    padding-inline: 18px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: transparent;
}

.lat-schedule-week-nav #lat-schedule-prev-week {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #DCDCE5;
}

.lat-schedule-week-nav #lat-schedule-next-week {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0px;
}

.lat-schedule-week-nav button {
    width: 42px;
    height: 32px;
    border: 2px solid #DCDCE5;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lat-schedule-timezone-name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    margin-bottom: 0;
}

.lat-schedule-timezone-gmt {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0;
}

.lat-schedule-times a {
    display: block;
    text-decoration: underline;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Figtree', sans-serif;
    height: 42px;

}

/* schedule */
/* testimonial */
.testimonial-section {
    font-family: 'Figtree', sans-serif;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #121117;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 600;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.ratings .icon {
    width: 24px;
    height: 24px;
    fill: #ffb400;
}

.lat-prime-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}


.ratings-score {
    font-size: 20px;
    font-weight: 600;
    color: #121117;
}

.testimonial-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0;
}

.review-summary {
    font-size: 14px;
    color: var(--text-muted);
}

.mt-24 {
    margin-top: 24px;
}

/* testimonial */

#page:has(#lat-subjects-modal[aria-modal="true"]),
#page:has(#lat-resume-modal[aria-modal="true"]) {
    overflow: hidden;
    height: 100vh;
}

.limit-four {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lat-speak-section {
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    margin-block: 40px;
}

.lat-stats-box {
    margin-block: 24px;
    gap: 24px;
}

.lat-stat-value {
    font-size: 21px;
    font-weight: 500;
    color: var(--text);
}

.lat-stat-label {
    font-size: 14px;
    font-weight: 300;
    color: #4D4C5C;
}

/* Tablet */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left-content {
        order: -1;
        position: static;
    }

    .lat-preview-sidebar {
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .lat-mobile-nav {
        position: sticky;
        top: 0;
        background: var(--bg);
        z-index: 999;
        margin-left: -16px;
        padding-inline: 16px;
        width: calc(100vw);
        border-bottom: 1px solid var(--border);
    }

    .lat-back-arrow-box {
        height: 40px;
        min-width: 40px;
        border: 1px solid var(--border);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .editmode-switch-form {
        display: none;
    }

    .main-grid {
        display: flex;
        flex-direction: column;
        gap: 0px;
        margin-bottom: 60px;
    }

    .btn-outline.dark {
        border: 2px solid #121117;
    }

    .btn-outline:hover {
        background: #F4F4F8;
    }

    .btn-outline {
        border: 2px solid #1211171F;
        border-radius: 8px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        width: 100%;
        font-weight: 600;
        font-size: 16px;
        color: #121117;
    }

    #read-more-about.btn-outline {
        margin-bottom: 24px;
    }

    .line-marker {
        border-bottom: 1px solid var(--border);
        border-top: 0;
    }

    .lat-preview-languages {
        font-size: 14px;
    }

    .lat-preview-section {
        margin-bottom: 0;
    }

    .lat-save-listing-btn path {
        fill: none;
        transition: 0.3s;
    }

    .lat-save-listing-btn.active path {
        fill: #121117;
    }

    .tutor-video-iframe {
        margin-left: -16px;
        width: 100vw !important;
        border-radius: 0 !important;
        margin-bottom: 24px !important;
    }

    .lat-preview-sidebar {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0;
        order: -2;
        margin-left: -16px;
        width: calc(100% + 32px) !important;
        border-radius: 0;
        display: none;
    }

    .lat-review-card-header {
        gap: 12px !important;
        ;
    }

    .lat-preview-video-thumbnail-sidebar,
    .lat-preview-video-container-sidebar {
        border-radius: 0;
    }

    .lat-preview-video-play-btn-sidebar {
        bottom: 16px;
        right: 16px;
        border: 2px solid #000000;
    }

    .lat-preview-avatar {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        border: 0.75px solid #1211170F;
    }

    .lat-specialties-heading,
    .lat-preview-section h2 {
        font-size: 20px;
        font-weight: 700;
    }

    .lat-preview-avatar-section {
        gap: 12px;
    }

    .lat-preview-name {
        font-size: 24px;
        font-weight: 700;
    }

    .lat-preview-sidebar-video {
        margin-bottom: 20px;
    }

    .lat-reviews-section .lat-review-summary,
    .lat-reviews-section h3,
    .lat-preview-headline,
    .testimonial-section,
    .lat-slider-section,
    .lat-schedule,
    #page.drawers>div:nth-child(2),
    .rui-topbar-wrapper.moodle-has-zindex,
    .lat-preview-actions {
        display: none;
    }

    .lat-preview-header {
        margin-bottom: 0px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .lat-sub-text {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 400;
        margin-bottom: 0;
    }

    .lat-info-slider {
        overflow-x: auto;
        padding-block: 24px;
        border-bottom: 1px solid var(--border);
        scrollbar-width: none;
    }

    .lat-additional-info {
        padding-block: 24px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 24px;
    }

    #page-wrapper #page {
        padding: 0;
    }

    .wrapper-course {
        padding: 0px 16px;
    }

    .lat-sub-info>div {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 auto;
        text-align: center;
        margin-right: 9%;
    }

    .h-30 {
        height: 30px;
    }

    .lat-primary-btn:hover {
        background: rgba(255, 88, 60, 1) !important;
    }

    .lat-primary-btn {
        background: var(--accent);
        border: 2px solid var(--text);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        color: var(--bg);
    }

    .lat-sub-info {
        justify-content: space-between;
        align-items: center;
    }

    .lat-info-slider {
        max-width: calc(100vw - 32px);
    }

    .lat-info-slider .lat-prime-heading,
    .lat-info-slider .lat-sub-text {
        white-space: nowrap;
    }

    .lat-subjects-teach:hover,
    .lat-resume-heading:hover {
        background: #F4F4F8;
    }

    .lat-subjects-teach,
    .lat-resume-heading {
        font-weight: 400 !important;
        font-size: 14px !important;
        color: #000 !important;
        height: 57px;
        cursor: pointer;
    }

    .lat-resume-section {
        margin: 0;
    }

    /* resume modal */
    .modal {
        left: 0 !important;
        top: 0 !important;
        padding: 0 !important;
        max-height: none !important;
        width: 100% !important;
        transform: none !important;
    }

    .modal-body {
        border: none;
        max-height: 100vh !important;
    }

    .modal-body .lat-primary-btn {
        width: calc(100vw - 96px);
    }

    .modal-dialog {
        max-width: none !important;
        margin: 0 !important;
    }

    .modal-content {
        border: none;
    }

    .back-box {
        height: 47px;
        min-width: 47px;
        border: 1px solid #0000001F !important;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        margin: 0 !important;
        background: transparent;
        left: 17px;
        top: -12px;

    }

    .lat-subjects-modal .close:hover,
    .lat-resume-modal .close:hover {
        background-color: transparent !important;
    }

    .lat-subjects-modal .close:before,
    .lat-resume-modal .close:before {
        display: none;
    }

    .lat-subjects-modal ul li,
    .lat-resume-modal ul li {
        text-decoration: none;
        list-style: none;
    }

    .lat-subjects-modal-title,
    .lat-resume-modal-title {
        font-weight: 600;
        font-size: 18px;
        color: #000;
        display: flex;
        align-items: center;
    }

    .lat-teaching-year {
        color: #4D4C5C;
        font-weight: 500;
        font-size: 12px;
    }

    .lat-to-students {
        color: var(--text);
        font-size: 16px;
        font-weight: 500;
    }

    .lat-school-name {
        font-size: 16px;
        font-weight: 400;
        color: #4D4C5C;
    }

    .lat-section-listings {
        height: calc(100vh - 194px);
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
        width: 100%;
    }

    .lat-subjects-modal .modal-body ul li,
    .lat-resume-modal .modal-body ul li {
        border-bottom: 1px solid var(--border);
    }

    .lat-trigger-actions {
        position: fixed;
        bottom: 0;
        height: 86px;
        display: flex;
        align-items: center;
        gap: 16px;
        border-top: 1px solid var(--border);
        background: var(--bg);
        z-index: 1050;
    }

    .lat-tutor-preview .lat-trigger-actions {
        margin-left: -16px;
        width: 100vw;
        padding-inline: 16px;
    }

    .modal .lat-trigger-actions {
        margin-left: -16px;
        width: calc(100vw + 32px);
        padding-inline: 16px;
    }

    .lat-message-action {
        height: 48px;
        min-width: 48px;
        border-radius: 8px;
        border: 2px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    /* resume modal */

}


@media (min-width: 993px) and (max-width: 1200px) {
    .lat-left-section {
        max-width: 497px !important;
    }
}