

/* sidebar menu color */
.sidebar .nav-link {
    color: #03bd89 !important;  
}

/* breadcrumb color */
.breadcrumb a {
    color: #03bd89 !important;  
    font-weight: bold;
}

.breadcrumb a:hover {
    color: #ffff   !important;  /* สีอ่อนเมื่อ hover */
     text-decoration: none;
}

/* tabs menu color */
.nav-tabs > li > a {
    color: #ffff !important;  
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.nav-tabs .nav-link.active {
    color: #03bd89 !important;   
    text-decoration: none;
}

/* change list color table header */
.change-list table th a {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}


.change-list table th a:hover {
    color: #3feeca !important;
    text-decoration: none;
}

/* select color */
select option {
    color: #ffffff;
    background-color: #2a2f32;
}

.select2-results__option {
    color: #ffffff !important;
    background-color: #2a2f32 !important;
}


/* change list preview color */
.change-list td a {
    color: #03bd89 !important; 
    font-weight: bold;
    text-decoration: none;
}


.change-list td a:hover {
    color: #3feeca !important;
    text-decoration: none;
}

/* Dashboard color */
td a[href^="/admin/email_sender/"] {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}

td a[href^="/admin/email_sender/"]:hover {
    color: #03bd89 !important;
    text-decoration: none;
}

td a[href^="/admin/investor_news/"] {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}

td a[href^="/admin/investor_news/"]:hover {
    color: #03bd89 !important;
    text-decoration: none;
}

td a[href^="/admin/auth/"] {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}

td a[href^="/admin/auth/"]:hover {
    color: #03bd89 !important;
    text-decoration: none;
}

td a[href^="/admin/django_celery_results/"] {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}

td a[href^="/admin/django_celery_results/"]:hover {
    color: #03bd89 !important;
    text-decoration: none;
}

td a[href^="/email_sender/dashboard/"] {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}

td a[href^="/email_sender/dashboard/"]:hover {
    color: #03bd89 !important;
    text-decoration: none;
}

/* recent action color */
#recent-actions-module a {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
}

#recent-actions-module a:hover {
    color: #03bd89 !important;
    text-decoration: none;
}

/* tiny mce editor */


.field-body .col-sm-3 {
    display: none !important;
}


.field-body .col-sm-7 {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}


.field-body .col-sm-9 {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}


.mce-tinymce {
    width: 100% !important;
}

.mce-edit-area iframe {
    width: 100% !important;
    height: 500px !important;
}

/* indentation sub menu */

/* ul.nav.nav-treeview li.nav-item a.nav-link {
    margin-left: 1rem !important;
    font-size: 14px !important;
} */

/* ✅ เมนูย่อย - ย่อเข้า + เส้นคั่น */
ul.nav.nav-treeview li.nav-item a.nav-link {
    margin-left: 1rem !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

/* ✅ เมนูย่อย - active สวย พร้อมตัวอักษรสีขาว */
ul.nav.nav-treeview li.nav-item a.nav-link.active {
    background-color: #1e2d3d !important;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: bold;
}

/* ✅ ลบจุดหน้าข้อความ */
ul.nav.nav-treeview li.nav-item a.nav-link::before {
    content: none !important;
}

/* ✅ ขยายช่อง Subject ให้เต็มความกว้าง */


.field-subject .col-sm-7 {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}