/* ========================================
   COMMON STYLES - SHARED ACROSS ALL PAGES
   ======================================== */

:root {
    --primary-blue: #336666;
    --primary-hover: #264d4d;
    --menu-text: #336666;
    --menu-bg: #ffffff;
    --bg-light: #f5f5f5;
    --new-badge: #FF0000;
    --updated-badge: #0066cc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.top-div-page
{
    background: #f5f5f5;
    color: #333;
}
/* Top Bar Header */
.top-bar-header {
    background-color: #ccffff;        
    color: #000000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.top-bar-header-component
{
    padding:5px 0px;
}
.top-bar-header-component p
{
    margin:0px;
    font-size: 1.3rem;
    font-weight: 500;
}
.main-logo-wrapper
{
    display:flex;
    align-items: center;
}
.cec-main-logo
{
   height:60px;
}
.cec-logo-text-mg
{
    margin-left:10px;
}
.cec-logo-text {
  font-size: 24px;
  font-weight: bold !important;
  font-family: Arial, sans-serif;
  background: linear-gradient(90deg, 
    #4db8a8 0%,      /* Xanh lục nhạt */
    #3da9c6 25%,     /* Xanh dương nhạt */
    #4a8ec2 50%,     /* Xanh dương */
    #5b7ec4 75%,     /* Xanh dương đậm */
    #7f6fc9 100%     /* Xanh tím */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent; 
}
@media (max-width: 576px) {
    .top-bar-header-component
    {
        flex-direction: column;
        gap:10px;
        text-align: center;
    }
    .main-logo-wrapper
    {
        flex-direction: column;
        gap:10px;
        justify-content: center;
        align-items: center;
    }
    .cec-logo-text-mg
    {
        margin-left:0px;
    }
}
/* Header Menu / Navigation */
.top-navbar {
    background-color: var(--menu-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    color: var(--menu-text) !important;
    font-weight: 700;
    font-size: 1.3rem;
}

.nav-link {
    color: var(--menu-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: var(--menu-text);
}

.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='%23336666' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* search icon wrapper */
.search-icon-wrapper
{
    list-style-type: none;
}
/* end search */

/* Common Content Card */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Common Section Title */
.section-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-blue);
}

/* Footer */
.footer {
    background-color: #ccffff;
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 0.95rem;    
}

.footer p {
    margin: 0 !important;
    color: #000000;
}

/* Common Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   INDEX PAGE SPECIFIC STYLES
   ======================================== */

/* Header Section - Index */

.header-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-blue);
}

.main-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;

}


/* Testimonial Box - Index */
.testimonial-box {
    background: var(--primary-blue);
    color: white;
    padding: 10px 30px;
    border-radius: 8px;
    font-style: italic;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-box::before {
    content: '"';
    font-size: 100px;
    position: absolute;
    top: -20px;
    left: 10px;
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    text-align: right;
    font-size: 0.95rem;
    opacity: 0.95;
    font-style: normal;
}

/* Intro Text - Index */
.intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.intro-text a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.intro-text a:hover {
    border-bottom-color: var(--primary-blue);
}

/* Steps Section - Index */
.hero-section
{
    padding: 15px 30px;  
    margin-bottom:10px;
}
.hero-header
{
    padding: 10px 30px;
    margin-top:10px;
    margin-bottom: 10px;
}
.steps-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 30px;
    margin: 10px 0;
    border-left: 4px solid var(--primary-blue);
}

.steps-list-wrapper
{
    display: flex;
    gap: 10px; /* Khoảng cách giữa các ô */
    justify-content: space-between; /* Trải đều các ô */
    align-items: stretch; 
}

.step-item {
    background: white;
    padding: 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* margin-bottom: 20px; */
    cursor: pointer;
    /* Chìa khóa ở đây: */
    flex: 1;          /* Chia đều không gian cho tất cả các item */
    min-width: 0;     /* Cho phép nội dung bên trong co lại để tránh bị tràn */
    display: flex;    /* Để căn giữa số và chữ bên trong ô */
    align-items: center; 
    word-wrap: break-word; /* Tự động xuống dòng nếu từ quá dài */
}

.step-text {
    flex: 1; /* Để text chiếm hết phần còn lại của ô */
    line-height: 1.4;
}

.step-number {
    background: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
}

.step-text {
    font-size: 1.05rem;
    color: #444;
    display: inline;
    vertical-align: middle;
}

/* Note Box - Index */
.note-box {
    background: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1.05rem;
    color: #664d00;
}

.note-box strong {
    color: #523d00;
}
.hero-note
{
    margin-top:10px;
    margin-bottom:10px;
    font-size:0.9rem;
    padding:10px 20px;
}
.hero-cta-button
{
    margin-top:10px;
    margin-bottom:10px;
}
.step-head-title
{
   font-size:1.6rem;
}
/* Rewards Section - Index */
.rewards-section {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.rewards-section h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.rewards-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.rewards-section a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    transition: border-bottom-color 0.3s ease;
}

.rewards-section a:hover {
    border-bottom-color: white;
}

/* Accreditation Items - Index */
.accreditation-item {
    background: #f8f9fa;
    padding: 5px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary-blue);    
}


.accreditation-item p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 0;    
}

.accreditation-item strong {
    color: var(--primary-blue);
}

/* Conflict Notice - Index */
.conflict-notice {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    color: #2e7d32;
    font-weight: 500;
    line-height:25px;
    font-size:16px !important;
}


/* ========================================
   COURSE LIST PAGE SPECIFIC STYLES
   ======================================== */

/* Main Title - Course List */
.main-title {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    
}

/* Intro Box - Course List */
.intro-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-blue);
}

.intro-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0;
}

.intro-box a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.intro-box a:hover {
    text-decoration: underline;
}

/* Info Banner - Course List */
.info-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5555 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(51, 102, 102, 0.3);
}

.info-banner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Course Categories - Course List */
.category-section {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.category-header {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.course-list {
    padding: 0;
}

.course-item {
    padding: 10px 30px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-item:last-child {
    border-bottom: none;
}

.course-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

/* Course Badges - Course List */
.course-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 20px;    
    text-transform: capitalize;
}

.badge-new {
    background: var(--new-badge);
    color: white;
}

.badge-updated {
    background: var(--updated-badge);
    color: white;
}

.badge-expanded {
    background: #ff9800;
    color: white;
}

/* Course Title - Course List */
.course-title-list {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
    text-decoration: underline;
}

.course-title-list:hover {
    color: #2d5555;
    text-decoration: underline;
}

/* Course Meta - Course List */
.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.course-author-list {
    color: #666;
    font-size: 0.95rem;
}

.course-author-list a {
    color: #666;
    text-decoration: underline;
}

.course-author-list a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.course-price {
    font-weight: 600;
    color: #000000;
    font-size: 1rem;
}


/* ========================================
   COURSE DETAIL PAGE SPECIFIC STYLES
   ======================================== */

/* Course Header - Course Detail */
.course-header {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-blue);
}

.course-title {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.course-author {
    text-align: center;
    font-size: 1.1rem;
    color: #666;   
}

.course-author a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.course-author a:hover {
    border-bottom-color: var(--primary-blue);
}

/* Course Info Box - Course Detail */
.course-info-box {
    background: var(--primary-blue);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(51, 102, 102, 0.2);
}

.course-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.course-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Author Image - Course Detail */
.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

   .author-image-course-detail {
       width: 120px;
          height: 120px;
          border-radius: 50%;
          object-fit: cover;
          border: 4px solid var(--primary-blue);
         /* margin: 0 auto 20px; */
          display: block;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        .instructor-images-course-detail
        {
            display: flex;
            justify-content:center;
            align-items: center;            
            gap: 30px;
            
        }
@media screen and (max-width: 480px) {
    .instructor-images-course-detail
    {
        flex-wrap: wrap;
    }
}

/* Action Buttons - Course Detail */
.action-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px 0;
}
.single-course-copyright
{
    text-align: center; 
    font-size: 0.9rem; 
    color: #666; 
    margin-top: 10px;
    margin-bottom:5px;
}
.btn-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(51, 102, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align:center;
}

.btn-custom:hover {
    background-color: #2a5555;
    border-color: #2a5555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 102, 102, 0.4);
    color: white;
}

.btn-custom:focus
{
     background-color: #2a5555;
    border-color: #2a5555;
     color: white;
}

/* Accreditation Section - Course Detail */
.accreditation-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 10px 0;
}


.accreditation-logo {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.accreditation-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Learning Objectives - Course Detail */
.learning-objectives {
    background: #f8f9fa;
    padding: 0px 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.learning-objectives ul {
    margin: 0;
    padding-left: 25px;
}

.learning-objectives li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Course Outline - Course Detail */
.course-outline {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.course-outline ul {    
    column-gap: 15px;
    margin: 0; 
    padding-left: 25px;
}

.course-outline li {
    margin-bottom: 10px;
    break-inside: avoid;
    line-height: 1.6;
}


/* Warning Box - Course Detail */
.warning-box {
    background: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-style: italic;
    color: #664d00;
}

/* Content Text - Course Detail */
.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.content-text h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-text p {
    margin-bottom: 20px;
}

/* References Section - Course Detail */
.references-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.references-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
    text-indent: -20px;
}


/* ========================================
   CONTACT PAGE SPECIFIC STYLES
   ======================================== */

/* Section Heading - Contact */
.section-heading {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;    
    border-bottom: 1px solid var(--primary-blue);       
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Contact Info Items - Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-icon {
    background-color: #e6fcfc;
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Highlight Box - Contact */
.highlight-box-wrapper
{
    display:flex;
    justify-content: space-between;
    align-items: stretch; 
}
.highlight-box {
    flex:1;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-blue);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.highlight-title {
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 5px;
}

/* Accordion Customization - Contact */
.accordion-button {
    color: var(--primary-blue);
    font-weight: 600;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: #e6fcfc;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #ccffff;
    box-shadow: 0 0 0 0.25rem rgba(51, 102, 102, 0.15);
}

/* Form Styles - Contact */
.form-control, .form-select {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(51, 102, 102, 0.15);
}

.btn-submit {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 102, 102, 0.2);
    color: white;
}


/* ========================================
   AUTHOR PAGE SPECIFIC STYLES
   ======================================== */

/* Page Title Section - Author */
.page-title-section {
    background: white;
    border-radius: 12px;
    padding: 30px 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-blue);
}

.page-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Author Card - Author */
.authors-list-section
{
    margin-top:10px;
}
.author-card {
    background: white;    
    border-radius: 12px;
    padding: 20px 30px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);   
}

.author-name {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-blue);
}

.author-image {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    height: auto;
}

.author-image-list {
    border:0px !important;
}

.author-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.author-content p {
    margin-bottom: 15px;
}

.author-content a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;    
}

.author-content a:hover {
    border-bottom-color: var(--primary-blue);
}

.author-content em {
    font-style: italic;
}

.website-link {
    display: inline-block;
    margin-top: 5px;
    padding: 8px 20px;
    background: var(--primary-blue);
    color: white !important;
    border-radius: 6px;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.website-link:hover {
    background: #2d5555;
    transform: translateX(5px);
}

/* Author Divider - Author */
.author-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--primary-blue), transparent);
    margin: 40px 0;
}

/* Clearfix for floated images - Author */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (min-width: 992px) {
    .sticky-column {
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 768px) {
    /* Index Page Responsive */
    .main-title {
        font-size: 2rem;
    }

    .header-section,
    .content-card,
    .rewards-section {
        padding: 25px;
    }

    .step-item {
        text-align: center;
    }

    .step-number {
        display: block;
        margin: 0 auto 15px;
    }

    .step-text {
        display: block;
    }

    .step-item:hover {
        transform: translateY(-5px);
    }

    /* Course List Page Responsive */
    .category-header {
        font-size: 1.2rem;
        padding: 15px 20px;
    }

    .course-item {
        padding: 20px;
    }

    .course-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-box {
        padding: 20px;
    }

    /* Course Detail Page Responsive */
    .course-title {
        font-size: 1.5rem;
    }

    .course-header,
    .content-card {
        padding: 25px;
    }

    .course-details {
        gap: 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-custom {
        width: 100%;
    }

    .course-outline ul {
        columns: 1;
    }

    .accreditation-item {
        flex-direction: column;
        text-align: center;
    }

    .accreditation-logo {
        margin: 0 auto;
    }

    /* Author Page Responsive */
    .page-title {
        font-size: 2rem;
    }

    .author-card {
        padding: 25px;
    }

    .author-name {
        font-size: 1.5rem;
    }

    .author-image {
        float: none;
        display: block;
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .author-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-title-section {
        padding: 20px 25px;
    }

}

@media(max-width: 480px)
{
    .step-number
    {
        display:flex;
    }
}

/* ========================================
   LOGIN PAGE SPECIFIC STYLES
   ======================================== */

.login-section {
    padding: 40px 0;
    min-height: 80vh; /* Giúp form nằm giữa màn hình hơn nếu trang ít nội dung */
}

/* Tinh chỉnh lại thẻ h3 cho giống section-title nhưng nằm trong card */
.login-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    text-align: center;
}

/* Style cho dấu sao bắt buộc */
.required {
    color: var(--new-badge); /* Màu đỏ lấy từ biến --new-badge */
    font-weight: bold;
    margin-left: 3px;
}

/* Style cho label form */
.form-label {
    font-weight: 500;
    color: var(--menu-text);
    margin-bottom: 8px;
}

/* Override nhẹ cho note-box để link bên trong nổi bật hơn */
.note-box a {
    color: #664d00;
    text-decoration: underline;
    font-weight: 700;
}

/* Checkbox style */
.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Link quên mật khẩu */
.forgot-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed transparent;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

/* Phần trợ giúp nhỏ bên dưới */
.small-help {
    font-size: 0.9rem;
    background: #f8f9fa; /* Màu nền nhẹ nhàng hơn màu xanh lá của conflict-notice gốc */
    border-left-color: var(--primary-blue); /* Đổi sang màu xanh chủ đạo */
    padding: 15px;
}

.small-help a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.small-help a:hover {
    text-decoration: underline;
}

/* Responsive cho mobile */
@media (max-width: 576px) {
    .login-card-wrapper {
        padding: 25px; /* Giảm padding trên mobile */
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}

/* note section */
.note-section
{
    background: #fff3cd;   
    padding:20px;
    border-radius:10px;
    margin-bottom: 30px;
}
.note-section p
{
    margin-bottom: 0; 
    color: #856404;
}
/* end note */

/* search modal */
.search-result-item
{
    margin-bottom:10px;
}
/* end search modal */
/* hide notification of lms */
.llms-notification
{
    display:none !important;
}
/* end */

/* scroll to top button */
#ast-scroll-top {
        background-color: var(--primary-blue) !important;
        font-size:18px;
}
/*end */

/* ========================================
   DROPDOWN MENU STYLES
   ======================================== */

.navbar-nav .dropdown-menu {
    background-color: var(--menu-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
    color: var(--menu-text);
    padding: 0.5rem 1.5rem;
    font-weight: 500;   
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-blue);  
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Mobile dropdown styles */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        background-color: transparent;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.5rem 1rem;
    }
}