﻿/*.navbar*/
.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    transition: color 0.3s;
}

.navbar-brand:hover {
    color: #0d6efd;
    text-decoration: none;
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    margin-right: 1rem;
    font-size: 1rem;
    transition: color 0.3s;
}
.navbar .dropdown-toggle img {
    border: 2px solid #fff;
}

.learner-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-size: 14px;
    line-height: 1;
}

.navbar .dropdown-menu {
    min-width: 180px;
}

.navbar .nav-link.btn {
    font-weight: 500;
}

@media (max-width: 767px) {
    #btn-login {
        margin-top: 10px;
    }
}

/*video*/
.navbar-nav .nav-link:hover {
    color: #0d6efd;
}


.video-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    background: #fff;
}

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.video-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-body {
    padding: 12px;
}

    .video-body h5 {
        margin: 0 0 5px 0;
        font-size: 18px;
    }

    .video-body .course {
        color: #777;
        display: block;
        margin-bottom: 5px;
    }

    .video-body .stats {
        font-size: 14px;
        color: #555;
        margin-bottom: 8px;
    }

        .video-body .stats span {
            margin-right: 10px;
        }

    .video-body p {
        font-size: 14px;
        color: #444;
    }
    .video-body h5 a {
        text-decoration: none;
        color: #333;
    }

        .video-body h5 a:hover {
            color: #007bff;
            text-decoration: none;
        }
.video-card h5,
.video-card p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*search*/
.form-inline .form-control {
    border-radius: 2rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 1rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

    .form-inline .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
        outline: none;
    }

.form-inline .btn {
    border-radius: 2rem;
    padding: 0.375rem 1.2rem;
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .form-inline .btn:hover {
        background-color: #0056b3;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
.search-sticky.sticky-active {
    background: #000 !important;
    color: #fff;
}

    .search-sticky.sticky-active .form-control {
        background: #fff;
        color: #000;
    }

.search-sticky.sticky-active .btn {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.course-search-bar {
    border-bottom: 1px solid #dce8f6;
    box-shadow: 0 4px 14px rgba(24, 44, 75, 0.06);
}

.course-list-search-sticky {
    z-index: 900;
    top: 0;
}

.course-search-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 8px;
    align-items: center;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.course-search-form .form-control {
    border-radius: 10px;
    border: 1px solid #c9d8ea;
    min-height: 44px;
}

.course-search-form .btn {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
    padding: 0 16px;
    white-space: nowrap;
}

.course-icon-btn {
    width: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.course-icon-btn i {
    font-size: 15px;
}

.course-list-page {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.course-list-header {
    gap: 10px;
}

.course-list-title {
    color: #17314d;
    font-weight: 700;
}

.course-list-result-count {
    font-weight: 500;
}

.course-list-empty-alert {
    border-radius: 10px;
    border: 1px solid #f0d8a8;
    background: #fff8ea;
    color: #7f6120;
}

.course-list-pagination .page-link {
    color: #1b3a5b;
    border-color: #d6e4f3;
    border-radius: 8px;
    margin: 0 4px;
    min-width: 46px;
    text-align: center;
}

.course-list-pagination .page-item.disabled .page-link {
    color: #5f7391;
    background: #eef4fb;
    border-color: #d6e4f3;
}

.course-list-pagination .page-item:not(.disabled) .page-link:hover {
    background: #eaf3fd;
    border-color: #bcd3ed;
    color: #0a5fc4;
}

.course-list-pagination .page-item.active .page-link {
    background: var(--learner-primary);
    border-color: var(--learner-primary);
    color: #ffffff;
}


.course-meta-item {
    margin-bottom: 3px;
}

/*thông tin khóa học*/
/* ====== CHI TIẾT KHÓA HỌC ====== */
.course-detail-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-detail-meta {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.course-detail-image {
    border-radius: 8px;
}

.course-detail-sidebox {
    border-radius: 8px;
    background: #f8f9fa;
}

    .course-detail-sidebox h5 {
        margin-bottom: 1rem;
    }
     
/* Ảnh đại diện khóa học */
.course-detail-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Hashtag */
.course-hashtags .badge {
    margin-right: 5px;
    font-size: 0.85rem;
    cursor: pointer;
}

    .course-hashtags .badge:hover {
        background: #343a40;
        color: #fff;
    }

/* === HỖ TRỢ KHÁCH HÀNG === */
.support-section {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Trung tâm hỗ trợ */
.support-contact h5,
.support-articles h5,
.support-form h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.support-contact ul li {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

    .support-contact ul li strong {
        min-width: 120px;
        color: #222;
    }

/* Danh sách bài viết */
.support-article-list {
    margin-top: 10px;
}

    .support-article-list .list-group-item {
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 10px 15px;
        margin-bottom: 10px;
        background-color: #fff;
        transition: background-color 0.2s ease-in-out;
    }

        .support-article-list .list-group-item a {
            color: #333;
            text-decoration: none;
            font-weight: 500;
        }

        .support-article-list .list-group-item:hover {
            background-color: #f0f8ff;
        }

            .support-article-list .list-group-item:hover a {
                color: #007bff;
            }

/* Form gửi hỗ trợ */
.support-form {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

    .support-form label {
        font-weight: 500;
        color: #444;
    }

    .support-form .form-control {
        border-radius: 8px;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .support-form .form-control::placeholder {
        color: rgba(0, 0, 0, 0.24);
        opacity: 1;
    }

    .support-form .form-control::-webkit-input-placeholder {
        color: rgba(0, 0, 0, 0.24);
    }

    .support-form .form-control::-moz-placeholder {
        color: rgba(0, 0, 0, 0.24);
        opacity: 1;
    }

    .support-form .form-control:-ms-input-placeholder {
        color: rgba(0, 0, 0, 0.24);
    }

        .support-form .form-control:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.25);
        }

    .support-form button {
        border-radius: 8px;
        padding: 10px 24px;
        font-weight: 600;
    }


@media (max-width: 767.98px) {
    .support-section {
        padding: 20px 15px;
    }

    .support-form {
        padding: 20px 15px;
    }

        .support-contact h5,
        .support-articles h5,
        .support-form h5 {
            font-size: 18px;
        }

    .support-contact ul li {
        font-size: 14px;
    }

    .support-article-list .list-group-item {
        padding: 8px 12px;
    }

    .support-form .form-control {
        font-size: 14px;
    }

    .support-form button {
        width: 100%;
        padding: 10px;
    }
}

.support-article-page {
    padding: 20px 15px;
}

.support-article {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .support-article .article-title {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .support-article .article-meta {
        font-size: 14px;
        color: #777;
    }

    .support-article .article-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .support-article .article-content ol {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .support-article .tags {
        margin-top: 20px;
    }

.related-articles .list-group-item {
    border: none;
    padding: 10px 15px;
}

    .related-articles .list-group-item a {
        text-decoration: none;
        color: #333;
        font-size: 15px;
    }

    .related-articles .list-group-item:hover {
        background-color: #f8f9fa;
    }


.login-page {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    font-family: 'Segoe UI', sans-serif;
}

.login-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
}

.login-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.login-title {
    font-weight: 700;
    color: #343a40;
}

.login-card .form-control {
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
}

.login-card .btn {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
}

.login-card a {
    text-decoration: none;
}

    .login-card a:hover {
        text-decoration: underline;
    }

@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }
}

/*trang login*/

.login-container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    padding: 60px 15px;
}

.login-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
}

.login-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.slogan {
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .login-box {
        padding: 20px;
    }

    .btn {
        font-size: 0.9rem;
    }

    .login-logo {
        width: 50px;
        height: 50px;
    }
}

/*Đăng ký*/
.register-container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #f3f4f6, #dee2e6);
    padding: 60px 15px;
}

.register-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
}

.register-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.slogan {
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .register-box {
        padding: 20px;
    }

    .btn {
        font-size: 0.9rem;
    }

    .register-logo {
        width: 50px;
        height: 50px;
    }
}

/* ===== Learner Refresh ===== */
:root {
    --learner-bg: #f2f6fb;
    --learner-ink: #1f2f45;
    --learner-muted: #6e7e95;
    --learner-primary: #0a6ad8;
    --learner-primary-dark: #084f9f;
    --learner-card-border: #e4ecf6;
}

.learner-body {
    font-family: "Be Vietnam Pro", "Segoe UI", Tahoma, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, var(--learner-bg) 100%);
    color: var(--learner-ink);
}

.learner-topbar {
    background: #e8f1fb;
    color: #35506f;
    border-bottom: 1px solid #d4e3f3;
}

.learner-navbar {
    background: linear-gradient(90deg, #0f2238, #163456);
    box-shadow: 0 8px 20px rgba(11, 28, 48, 0.28);
    position: relative;
    z-index: 1030;
}

.learner-navbar .dropdown-menu {
    z-index: 1040;
}

.learner-navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.learner-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.learner-navbar .navbar-brand {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #4bc5ff;
    box-shadow: 0 0 8px rgba(75, 197, 255, 0.8);
}

.learner-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 4px;
}

.learner-navbar .navbar-nav .nav-item.active .nav-link,
.learner-navbar .navbar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.hero-learner {
    background: radial-gradient(900px 350px at 15% 20%, rgba(79, 173, 255, 0.22), transparent 60%), linear-gradient(120deg, #0f2846, #1d4d79);
    color: #fff;
    padding: 52px 0;
}

.hero-learner .hero-inner {
    max-width: 760px;
}

.hero-kicker {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a9d6ff;
    margin-bottom: 8px;
    font-weight: 700;
}

.hero-learner h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.hero-learner p {
    margin-bottom: 0;
    color: #d7e9fb;
    font-size: 17px;
}

.home-slider-wrap {
    background: #f4f8fd;
    border-bottom: 1px solid #dbe8f7;
}


.home-hero-slider {
    position: relative;
    overflow: hidden;
}

.home-hero-item {
    position: relative;
    min-height: 430px;
}

.home-hero-btn {
    border-radius: 10px;
    background: #35b187;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-hero-btn:hover {
    color: #fff;
    background: #2ea078;
}

.home-slide-image {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, rgba(5, 25, 46, 0.25) 0%, rgba(5, 25, 46, 0.58) 100%);*/
}

.home-slide-caption-desktop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: min(880px, 92%);
    color: #fff;
}

.home-slide-caption-desktop h2 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-slide-caption-desktop p {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 22px;
    color: rgba(240, 247, 255, 0.95);
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.home-slide-nav {
    width: 9%;
}

.home-slide-nav .carousel-control-prev-icon,
.home-slide-nav .carousel-control-next-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: rgba(20, 37, 58, 0.55);
    background-size: 52% 52%;
}

.home-slider-wrap .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.72);
}

.home-slider-wrap .carousel-indicators .active {
    background-color: #ffffff;
}

.home-section {
    background: #ffffff;
}

.home-section-soft {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.section-heading h4 {
    color: #17314d;
}

.video-card,
.course-card {
    border: 1px solid var(--learner-card-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(33, 52, 79, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.course-card-link:hover,
.course-card-link:focus,
.course-card-link:active {
    text-decoration: none;
    color: inherit;
}

.course-card {
    display: flex;
    flex-direction: column;
}

.video-card:hover,
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(33, 52, 79, 0.15);
}

.course-card:hover .course-title,
.course-card:hover .course-title a,
.course-card:focus-within .course-title,
.course-card:focus-within .course-title a {
    color: var(--learner-primary);
    text-decoration: none;
}

.video-thumb {
    display: block;
    height: 190px;
}

.video-thumb img,
.course-image {
    width: 100%;
    object-fit: cover;
}

.course-image {
    height: 220px;
}

.video-body,
.course-body {
    padding: 14px;
}

.course-body {
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.video-body h5 a,
.course-title a {
    color: #1c304b;
    text-decoration: none;
}

.course-title {
    color: #1c304b;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.video-body h5 a:hover,
.course-title a:hover {
    color: var(--learner-primary);
    text-decoration: none;
}

.video-body p,
.course-description {
    color: #5c6d84;
}

.course-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0;
}

.course-meta {
    margin-top: 10px;
}

.hero-support {
    padding: 42px 0;
}

.course-detail-page .course-detail-image {
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(34, 55, 84, 0.18);
}

.course-detail-page .list-group-item {
    border-color: #e1e9f5;
}

.course-article-content {
    border: 1px solid #e1e9f5;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    color: #2a3d57;
    line-height: 1.7;
}

.course-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.course-article-content h1,
.course-article-content h2,
.course-article-content h3,
.course-article-content h4,
.course-article-content h5,
.course-article-content h6 {
    color: #1b3150;
    margin-top: 14px;
    margin-bottom: 10px;
}

.course-article-content p {
    margin-bottom: 12px;
}

.course-article-content ul,
.course-article-content ol {
    padding-left: 22px;
}

.news-hero {
    padding: 56px 0 52px;
}

.news-hero .hero-inner {
    max-width: 880px;
}

.news-hero-summary {
    margin-top: 10px;
    color: #d5e3f5;
    font-size: 18px;
    line-height: 1.65;
}

.news-article-page {
    padding: 44px 0 30px;
}

.news-article-card {
    border: 1px solid #e1e9f5;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(35, 63, 96, 0.08);
}

.news-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.news-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #d5e3f3;
    background: #f6faff;
    color: #305176;
    font-size: 14px;
    font-weight: 600;
}

.news-cover-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
    max-height: 460px;
    object-fit: cover;
}

.news-article-body {
    color: #233a55;
    line-height: 1.78;
    font-size: 17px;
}

.news-article-body h1,
.news-article-body h2,
.news-article-body h3,
.news-article-body h4,
.news-article-body h5,
.news-article-body h6 {
    color: #102f4f;
    line-height: 1.35;
    margin-top: 22px;
    margin-bottom: 12px;
}

.news-article-body p,
.news-article-body ul,
.news-article-body ol,
.news-article-body blockquote,
.news-article-body table,
.news-article-body pre {
    margin-bottom: 14px;
}

.news-article-body ul,
.news-article-body ol {
    padding-left: 24px;
}

.news-article-body blockquote {
    border-left: 4px solid #5b9ce8;
    background: #f4f8ff;
    color: #24466f;
    padding: 12px 14px;
    border-radius: 8px;
}

.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.news-article-body table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}

.news-article-body table th,
.news-article-body table td {
    border: 1px solid #d8e3f3;
    padding: 8px 10px;
}

.news-article-body hr {
    border: 0;
    border-top: 1px solid #d9e6f8;
    margin: 20px 0;
}

.learner-footer {
    background: #12253d;
    color: #c6d7ea;
    margin-top: 30px;
}

.learner-footer .footer-brand {
    font-weight: 700;
    color: #ffffff;
}

.learner-footer .footer-links {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
}

.learner-footer .footer-links a {
    color: #c6d7ea;
    text-decoration: none;
}

.learner-footer .footer-links a:hover {
    color: #63b8ff;
}

.learner-footer .footer-copy {
    font-size: 13px;
    color: #98afca;
}

@keyframes learner-loading {
    to {
        background-position-x: -200%;
    }
}

@media (max-width: 991px) {
    .course-search-form {
        grid-template-columns: 1fr auto;
        max-width: 100%;
    }

    .home-hero-item,
    .home-slide-image {
        height: 360px;
        min-height: 360px;
    }

    .home-slide-caption-desktop h2 {
        font-size: 38px;
    }

    .news-hero {
        padding: 42px 0 38px;
    }

    .news-hero-summary {
        font-size: 16px;
    }

    .news-article-page {
        padding-top: 30px;
    }

    .news-article-card {
        padding: 16px;
        border-radius: 12px;
    }

    .news-article-body {
        font-size: 16px;
        line-height: 1.7;
    }

    .home-slide-caption-desktop p {
        font-size: 18px;
    }

    .hero-learner h1 {
        font-size: 30px;
    }

    .course-image {
        height: 190px;
    }

    .course-list-page {
        padding-top: 1.2rem;
    }
}

@media (max-width: 576px) {
    .home-slide-image {
        height: 230px;
    }

    .home-hero-item {
        min-height: 0;
        height: auto;
    }

    .home-slide-caption-desktop {
        width: min(92%, 620px);
        padding: 0 8px;
    }

    .home-slide-caption-desktop h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .home-slide-caption-desktop p {
        font-size: 14px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .home-hero-btn {
        font-size: 14px;
        padding: 9px 16px;
    }
}

/* Account profile */
.account-profile-page {
    background:
        radial-gradient(1200px 400px at 10% -10%, rgba(10, 106, 216, 0.12), transparent 60%),
        radial-gradient(900px 350px at 100% 0, rgba(15, 34, 56, 0.08), transparent 55%);
}

.account-profile-hero {
    max-width: 760px;
}

.account-profile-kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: #2d5f91;
    background: #eaf3fc;
    border: 1px solid #d8e8f8;
    border-radius: 999px;
    padding: 6px 12px;
}

.account-profile-title {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    line-height: 1.2;
    font-weight: 800;
    color: #1a314d;
}

.account-profile-subtitle {
    color: #5c6f87;
    font-size: 1rem;
}

.account-profile-card {
    background: #ffffff;
    border: 1px solid #dbe7f4;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(12, 36, 64, 0.12);
}

.account-profile-card-body {
    padding: 28px;
}

.account-profile-alert {
    border-radius: 10px;
    border: 1px solid transparent;
}

.account-profile-section {
    border: 1px solid #e4ecf6;
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.account-profile-section-title {
    font-size: 1rem;
    color: #24486f;
    font-weight: 700;
    margin: 0;
}

.account-profile-label {
    color: #455a75;
    font-weight: 600;
    margin-bottom: 8px;
}

.account-profile-input {
    border-radius: 10px;
    min-height: 44px;
    border: 1px solid #cfe0f2;
}

.account-profile-input:focus {
    border-color: #0a6ad8;
    box-shadow: 0 0 0 0.2rem rgba(10, 106, 216, 0.18);
}

.account-profile-input-readonly {
    background: #f2f7fc;
    color: #2c4667;
    font-weight: 600;
}

.account-profile-input-wrap {
    position: relative;
}

.account-profile-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6080a3;
    pointer-events: none;
}

.account-profile-input-wrap .account-profile-input {
    padding-left: 40px;
}

.account-profile-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.account-profile-btn-change-password {
    min-width: 170px;
    border-radius: 10px;
    border: 1px solid #a9c4e4;
    background: #f3f8ff;
    color: #23588f;
    font-weight: 700;
    padding: 11px 18px;
}

.account-profile-btn-change-password:hover {
    background: #e7f1fd;
    color: #1e4d7f;
}

.account-profile-btn-save {
    min-width: 170px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #0a6ad8 0%, #0d5eb8 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 11px 18px;
    box-shadow: 0 10px 22px rgba(10, 106, 216, 0.3);
}

.account-profile-btn-save:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(10, 106, 216, 0.34);
}

.account-profile-modal {
    border: 1px solid #dbe7f4;
    border-radius: 14px;
}

.account-profile-modal .modal-header {
    border-bottom: 1px solid #e5eef8;
    background: #f8fbff;
}

.account-profile-modal .modal-title {
    color: #21456d;
    font-weight: 700;
}

.account-profile-modal .modal-footer {
    border-top: 1px solid #e5eef8;
}

@media (max-width: 767.98px) {
    .account-profile-card-body {
        padding: 18px;
    }

    .account-profile-section {
        padding: 14px;
    }

    .account-profile-actions {
        justify-content: stretch;
    }

    .account-profile-btn-save {
        width: 100%;
    }

    .account-profile-btn-change-password {
        width: 100%;
    }
}

.ui-gap-8 {
    gap: 8px;
}

.ui-gap-10 {
    gap: 10px;
}

.course-locked-item {
    opacity: 0.85;
}

.course-video-player {
    width: 100%;
    max-height: 480px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.course-video-locked-shell {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.course-video-locked-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.course-video-locked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 46, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.course-video-locked-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-video-locked-message {
    color: #e5edf7;
    margin-bottom: 0;
}

.course-video-share-actions {
    gap: 8px;
}

.course-video-share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.course-video-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #3a4c63;
}

.course-video-share-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #c7d5e6;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #27496d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.course-video-share-icon:hover {
    border-color: #0a6ad8;
    color: #0a6ad8;
    text-decoration: none;
    transform: translateY(-1px);
}

.course-video-share-icon-facebook {
    color: #1b74e4;
}

.course-video-share-icon-facebook:hover {
    border-color: #1b74e4;
    color: #1b74e4;
}

.course-video-list {
    max-height: 70vh;
    overflow: auto;
}
