/*
 LMS-specific companion styles for the Escul theme.
 Used by the redesigned Blade pages (home, about, courses, cart, checkout, student panel).
*/

/* ---------- hero slider (multi-slide hero-2) ---------- */
.lms-hero-slider .hero-inner {
    min-height: 620px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 140px 0 80px;
    position: relative;
}

.lms-hero-slider .hero-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 22, 43, 0.82) 0%,
        rgba(15, 22, 43, 0.45) 60%,
        rgba(15, 22, 43, 0.1) 100%
    );
}

.lms-hero-slider .hero-style2 {
    position: relative;
    z-index: 2;
    padding: 0;
}

.lms-hero-slider .hero-title,
.lms-hero-slider .hero-title .title1,
.lms-hero-slider .hero-title .title2 {
    color: #fff;
}

.lms-hero-slider .hero-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

.lms-hero-slider .sub-title {
    color: var(--theme-color2, #ffbf00);
}

.hero-search-form {
    display: flex;
    max-width: 520px;
    background: #fff;
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-search-form input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 15px;
    color: #222;
}

/* ---------- course / bundle / meeting cards ---------- */
.course-card {
    position: relative;
}

.course-card .advance-badge {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 3;
}

.course-card .advance-badge .badge {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.course-card .card-actions {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.course-card .card-actions li {
    list-style: none;
}

.course-card .card-actions a,
.course-card .card-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #1b1f2e;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.course-card .card-actions a:hover,
.course-card .card-actions button:hover {
    background: var(--theme-color, #1cb098);
    color: #fff;
}

.course-card .card-actions svg {
    width: 16px;
    height: 16px;
}

.course-card .card-actions .heart-fill,
.course-card .card-actions .protip-wish-btn-two button {
    color: #e8092e;
}

.course-card .card-actions .heart-fill svg {
    fill: #e8092e;
}

.course-card .box-price del {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 6px;
}

.course-card .price-tag ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.course-card .price-tag ul li a,
.course-card .price-tag ul li b {
    color: var(--theme-color, #1cb098);
    font-weight: 700;
}

.course-card .price-tag ul li strike,
.course-card .price-tag ul li s {
    color: #8b919d;
    font-weight: 500;
    font-size: 0.85em;
}

.course-card .meeting-icon {
    position: absolute;
    bottom: 12px;
    right: 26px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.course-card .meeting-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* hidden hover-description blocks carried over from the old design */
.prime-description-block {
    display: none !important;
}

/* ---------- category cards ---------- */
.category-card2 .box-icon i {
    font-size: 42px;
    color: var(--theme-color, #1cb098);
    line-height: 1;
}

/* featured category grid card */
.lms-cat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(10, 18, 43, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 24px;
    display: block;
}

.lms-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(10, 18, 43, 0.14);
}

.lms-cat-card .cat-img {
    height: 120px;
    overflow: hidden;
}

.lms-cat-card .cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lms-cat-card .cat-dtl {
    padding: 14px 16px;
    text-align: center;
}

.lms-cat-card .cat-name {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--title-color, #0f162b);
}

.lms-cat-card .cat-img-count {
    font-size: 13px;
    color: var(--theme-color, #1cb098);
    font-weight: 600;
}

/* ---------- counters / facts ---------- */
.counter-card2 .box-icon i {
    font-size: 38px;
    color: #fff;
    line-height: 1;
}

.counter-card2 .box-content .box-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* ---------- team (instructor) cards ---------- */
.team-card2 .team-meta ul {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    font-size: 13px;
    color: var(--body-color, #4d5765);
}

.team-card2 .team-meta ul li:not(:last-child) {
    border-right: 1px solid #e3e6ef;
    padding-right: 12px;
}

/* ---------- services / features ---------- */
.lms-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(10, 18, 43, 0.08);
    height: 100%;
    transition: all 0.4s ease;
}

.lms-service-card:hover {
    transform: translateY(-6px);
}

.lms-service-card .service-img img {
    height: 64px;
    object-fit: contain;
    margin-bottom: 14px;
}

.lms-service-card .service-heading {
    font-size: 17px;
    margin-bottom: 8px;
}

.lms-side-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.lms-feature-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--smoke-color, #f4f6fb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.lms-feature-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* ---------- video / cta ---------- */
.lms-video-area {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-video-area .overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 35, 0.6);
}

.lms-video-area .video-dtl {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 15px;
}

.lms-video-area .play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--theme-color, #1cb098);
    color: #fff;
    font-size: 26px;
    margin-bottom: 24px;
    animation: lms-pulse 2s infinite;
}

.lms-video-area .play-btn:hover {
    background: var(--theme-color2, #ffbf00);
    color: #0f162b;
}

@keyframes lms-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
    }

    70% {
        box-shadow: 0 0 0 22px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.lms-cta-area {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-cta-area .overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 35, 0.65);
}

.lms-cta-area .get-started-dtl {
    position: relative;
    z-index: 2;
    padding: 60px 15px;
}

/* ---------- recommendation / app download circles ---------- */
.lms-app-circle {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 10px;
    text-align: center;
    padding: 10px;
}

.lms-app-circle .circle-text1 {
    font-size: 22px;
    font-weight: 800;
    display: block;
}

.lms-app-circle .circle-text2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.lms-app-download .mobile-btn a img {
    height: 48px;
    margin: 6px 4px 0;
}

/* ---------- breadcrumb fallback ---------- */
.breadcumb-wrapper {
    background-size: cover;
    background-position: center;
}

/* ---------- misc ---------- */
.whiteColor {
    color: inherit;
}

.section-slider-arrows {
    position: relative;
}

/* ---------- student panel ---------- */
.student-panel-area {
    padding: 60px 0 80px;
    background: var(--smoke-color, #f4f6fb);
}

.student-main-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(10, 18, 43, 0.08);
    padding: 26px;
    min-height: 40vh;
}

.student-page-title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f6;
}

.student-page-title h4 {
    margin: 0;
    font-size: 22px;
    position: relative;
    padding-left: 14px;
}

.student-page-title h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: var(--theme-color, #1cb098);
}

.student-info-pill {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 16px;
}

.student-info-pill.pill-success {
    background: rgba(28, 176, 152, 0.12);
    color: #0e7a68;
    border: 1px solid rgba(28, 176, 152, 0.3);
}

.student-info-pill.pill-info {
    background: rgba(24, 130, 255, 0.1);
    color: #155ec2;
    border: 1px solid rgba(24, 130, 255, 0.25);
}

.student-info-pill.pill-danger {
    background: rgba(232, 9, 46, 0.08);
    color: #b3132f;
    border: 1px solid rgba(232, 9, 46, 0.25);
}

.student-info-pill.pill-muted {
    background: #f2f3f7;
    color: #5a6270;
    border: 1px solid #e3e6ef;
}

.student-item-card {
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(10, 18, 43, 0.05);
    transition: all 0.3s ease;
}

.student-item-card:hover {
    box-shadow: 0 10px 26px rgba(10, 18, 43, 0.1);
    transform: translateY(-2px);
}

.student-item-card .card-header {
    background: var(--theme-color, #1cb098);
    color: #fff;
    padding: 14px 18px;
    border: 0;
}

.student-item-card .card-header h5 {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.student-item-card .list-group-item {
    border: 0;
    padding: 16px 18px;
}

.student-item-card .badge-online {
    background: rgba(28, 176, 152, 0.15);
    color: var(--theme-color, #1cb098);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

.student-empty-state {
    text-align: center;
    padding: 60px 15px;
}

.student-empty-state i {
    font-size: 48px;
    color: var(--theme-color, #1cb098);
    margin-bottom: 14px;
    display: block;
}

.student-empty-state .empty-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--body-color, #4d5765);
}

.student-table-wrap {
    overflow-x: auto;
}

.student-table-wrap table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.student-table-wrap table thead th {
    background: var(--theme-color, #1cb098);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 13px 16px;
    white-space: nowrap;
}

.student-table-wrap table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.student-table-wrap table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.student-table-wrap table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #edf0f6;
    font-size: 14px;
    vertical-align: middle;
}

.student-table-wrap table tbody tr:hover td {
    background: var(--smoke-color, #f4f6fb);
}

@media (max-width: 768px) {
    .student-panel-area {
        padding: 30px 0 50px;
    }

    .student-main-card {
        padding: 18px;
        margin-top: 20px;
    }
}

/* widget_course_info used as list-item card (messages / notifications) */
.widget_course_info > .card-header {
    background: var(--theme-color, #1cb098);
    color: #fff;
    padding: 14px 18px;
    border: 0;
}

.widget_course_info > .card-header h5 {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.badge-online {
    background: rgba(28, 176, 152, 0.15);
    color: var(--theme-color, #1cb098);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

/* Interactive file-upload dropzone (checkout receipt upload). Replaces the
   raw browser file input with a clickable/drag-and-drop card that reacts to
   hover, drag-over and file selection via .is-dragover / .is-filled toggled
   in checkout.blade.php's script. */
.upload-dropzone {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 12px 20px;
    border: 1.5px dashed var(--th-border-color, #d3dbe2);
    border-radius: 16px;
    background-color: var(--smoke-color, #f3f5f4);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover {
    border-color: var(--theme-color, #012261);
    background-color: rgba(1, 34, 97, 0.05);
}

.upload-dropzone.is-filled {
    border-style: solid;
    border-color: var(--theme-color, #012261);
}

.upload-dropzone__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-dropzone__icon {
    flex: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(1, 34, 97, 0.08);
    color: var(--theme-color, #012261);
    font-size: 18px;
    transition: 0.3s ease-in-out;
}

.upload-dropzone.is-filled .upload-dropzone__icon {
    background-color: var(--theme-color, #012261);
    color: #fff;
}

.upload-dropzone__body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.upload-dropzone__text {
    font-size: 14px;
    color: var(--body-color, #556377);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-dropzone__text strong {
    color: var(--title-color, #1e1e1e);
    font-weight: 600;
}

.upload-dropzone__hint {
    font-size: 12px;
    color: #97a0af;
    margin-top: 2px;
}

/* testimonial quote icon tinted with theme color */
.quote-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: var(--theme-color, #1cb098);
    -webkit-mask-image: url("../img/icon/quote2.svg");
    mask-image: url("../img/icon/quote2.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}
