/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

/* ==========================================================================
   Global Root Theme & Font Override
   ========================================================================== */
:root {
    --vz-body-font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
    --vz-heading-font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

body,
html,
p,
h1,
h2,
h3,
h4,
h5,
h6,
label,
button,
input,
select,
option,
textarea,
a,
.form-control,
.form-select,
.form-check-label {
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

/* ==========================================================================
   1. Sidebar Background & Navigation Styling
   ========================================================================== */
.navbar-menu {
    background: #3C538D !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.navbar-menu .navbar-nav .menu-title {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: 'Inter', 'IBM Plex Sans Thai', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 24px 24px 12px 24px !important;
    text-transform: none !important;
}

.navbar-menu .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Inter', 'IBM Plex Sans Thai', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    padding: 8px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.2s ease !important;
    border-radius: 100px !important;
    margin: 4px 16px !important;
}

.navbar-menu .navbar-nav .nav-link i {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px !important;
    transition: all 0.2s ease !important;
}

.navbar-menu .navbar-nav .nav-link:hover {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-menu .navbar-nav .nav-link:hover i {
    color: #FFFFFF !important;
}

.navbar-menu .navbar-nav .nav-link.active {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    font-weight: 500 !important;
}

.navbar-menu .navbar-nav .nav-link.active i {
    color: #FFFFFF !important;
}

.sidebar-user {
    display: none !important;
}

/* ==========================================================================
   2. Topbar & Business Select2 Custom Styling
   ========================================================================== */
.app-search .select2-container--bootstrap-5 {
    width: 100% !important;
}

.app-search .select2-container--bootstrap-5 .select2-selection {
    background-color: #f3f3f9;
    border: none;
    height: 38px;
    border-radius: 4px;
    padding-left: 40px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.app-search .select2-container--bootstrap-5 .select2-selection:hover {
    background-color: #ebebf5;
}

.app-search .select2-container--bootstrap-5 .select2-selection:focus-within {
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(64, 81, 137, 0.15);
    border: 1px solid #405189;
}

.app-search .select2-container--bootstrap-5 .select2-selection__rendered {
    padding-left: 0;
    color: #495057;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.app-search .select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #878a99;
}

.app-search .search-widget-icon {
    font-size: 16px !important;
    position: absolute !important;
    left: 13px !important;
    top: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    color: #878a99 !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.select2-dropdown {
    border-color: #e9ebec !important;
    box-shadow: 0 5px 10px rgba(30, 32, 37, 0.12);
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(60, 83, 141, 0.15) !important;
    color: #3C538D !important;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"] {
    background-color: #3C538D !important;
    color: #ffffff !important;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

/* ==========================================================================
   3. Shortcut / Overview Page Custom Styling
   ========================================================================== */
.overview-tabs {
    border: none;
    gap: 12px;
    background: transparent;
}

.overview-tabs .nav-link {
    background-color: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.925rem;
    border-radius: 10px;
    padding: 10px 22px;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
}

.overview-tabs .nav-link:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.overview-tabs .nav-link.active {
    background-color: #3C538D;
    color: #ffffff;
    border-color: #3C538D;
    box-shadow: 0 4px 12px rgba(60, 83, 141, 0.25);
}

.section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 12px;
}

.shortcut-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: none;
    padding: 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none !important;
    color: inherit;
    display: flex;
    align-items: center;
    position: relative;
}

.shortcut-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    margin-right: 14px;
}

.bg-icon-green {
    background-color: #22c55e;
    color: #ffffff;
}

.bg-icon-teal {
    background-color: #0d9488;
    color: #ffffff;
}

.bg-icon-blue {
    background-color: #3b82f6;
    color: #ffffff;
}

.bg-icon-orange {
    background-color: #f97316;
    color: #ffffff;
}

.bg-icon-red {
    background-color: #ef4444;
    color: #ffffff;
}

.bg-icon-indigo {
    background-color: #6366f1;
    color: #ffffff;
}

.shortcut-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.shortcut-desc {
    font-size: 0.775rem;
    color: #94a3b8;
    margin-bottom: 0;
}

.shortcut-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    font-size: 16px;
}

.status-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    margin-right: 14px;
}

.status-icon-green {
    background-color: #22c55e;
    color: #ffffff;
}

.status-icon-teal {
    background-color: #0d9488;
    color: #ffffff;
}

.status-icon-circle-soft-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.status-icon-circle-soft-teal {
    background-color: #ccfbf1;
    color: #0d9488;
}

.status-icon-circle-soft-blue {
    background-color: rgba(60, 83, 141, 0.12);
    color: #3C538D;
}

.status-icon-circle-soft-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.status-icon-circle-soft-orange {
    background-color: #ffedd5;
    color: #ea580c;
}

.status-info .name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.status-info .sub {
    font-size: 0.775rem;
    color: #94a3b8;
    margin-bottom: 0;
}

.status-count {
    text-align: right;
}

.status-count .num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.status-count .unit {
    font-size: 0.725rem;
    color: #94a3b8;
    margin-top: 4px;
}

.docs-banner-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.docs-banner-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(60, 83, 141, 0.12);
    color: #3C538D;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.docs-illustration-box {
    position: relative;
    width: 130px;
    height: 80px;
    background: linear-gradient(135deg, #e0e7ff 0%, #eff6ff 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(60, 83, 141, 0.12);
    transition: transform 0.2s ease;
}

.docs-illustration-box:hover {
    transform: scale(1.03);
}

.docs-illustration-box i.folder-icon {
    font-size: 44px;
    color: #3C538D;
    filter: drop-shadow(0 4px 6px rgba(60, 83, 141, 0.2));
}

.docs-illustration-box .cloud-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 15px;
    color: #3C538D;
    background: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cloud-btn-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3C538D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cloud-btn-circle:hover {
    background: #3C538D;
    color: #ffffff;
    border-color: #3C538D;
    transform: translateY(-2px);
}

.docs-main-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: none;
    margin-top: 20px;
}

.search-doc-input {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    font-size: 0.875rem;
    background-color: #ffffff;
}

.btn-filter-custom {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-add-doc-custom {
    background-color: #3b5998;
    color: #ffffff;
    border: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-add-doc-custom:hover {
    background-color: #2d4373;
    color: #ffffff;
}

.empty-doc-illustration {
    position: relative;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, #e0e7ff 0%, #edf2fe 100%);
    border-radius: 50%;
    margin: 40px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-box-icon {
    width: 60px;
    height: 50px;
    background: #475569;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-box-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 32px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
}

.star-sparkle {
    position: absolute;
    color: #fbbf24;
    font-size: 14px;
}

.btn-usage-guide {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-usage-guide:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

/* ==========================================================================
   4. Profile Page Custom Styling
   ========================================================================== */
.profile-card,
.profile-card div,
.profile-card p,
.profile-card h1,
.profile-card h2,
.profile-card h3,
.profile-card h4,
.profile-card h5,
.profile-card h6,
.profile-card label,
.profile-card span,
.profile-card a,
.profile-card button,
.profile-card input,
.profile-card select,
.profile-card option,
.profile-nav-tabs,
.profile-nav-tabs .nav-link,
.tab-content,
.tab-content div,
.tab-content p,
.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6,
.tab-content label,
.tab-content span,
.tab-content a,
.tab-content button,
.tab-content input,
.tab-content select,
.tab-content option,
.other-info-card,
.other-info-card div,
.other-info-card p,
.other-info-card h1,
.other-info-card h2,
.other-info-card h3,
.other-info-card h4,
.other-info-card h5,
.other-info-card h6,
.other-info-card label,
.other-info-card button,
.custom-label,
.custom-form-control,
.custom-form-select,
.btn-save-custom,
.btn-sig-reset,
.btn-sig-dark,
.btn-soft-action,
.info-list-content,
.info-list-content label,
.info-list-content p,
.info-alert-box,
.info-alert-box .title,
.info-alert-box .desc,
.profile-email-title,
.profile-name-subtitle,
.form-check-label {
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

i,
i *,
[class^="ri-"],
[class*=" ri-"] {
    font-family: remixicon !important;
}

i[class^="mdi-"],
[class*=" mdi-"] {
    font-family: "Material Design Icons" !important;
}

.profile-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: none;
}

.profile-card .tab-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.profile-card .tab-pane:not(#other-info) {
    height: 100%;
}

.profile-card .tab-pane:not(#other-info) form,
.profile-card .tab-pane:not(#other-info)>.d-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
}

.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.avatar-container {
    width: 140px;
    height: 140px;
    background-color: rgba(60, 83, 141, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-container i {
    font-size: 70px;
    color: #3C538D;
}

.avatar-camera-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #475569;
    transition: all 0.2s;
}

.avatar-camera-btn:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

.profile-email-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    word-break: break-all;
}

.profile-name-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.info-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-list-icon {
    width: 24px;
    height: 24px;
    color: #3C538D;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-list-content label {
    font-size: 0.825rem;
    color: #64748b;
    margin-bottom: 2px;
    display: block;
}

.info-list-content p {
    font-size: 0.925rem;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.4;
}

.info-alert-box {
    background-color: rgba(60, 83, 141, 0.06);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-alert-box i {
    color: #3C538D;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-alert-box .title {
    color: #3C538D;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-alert-box .desc {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.profile-nav-tabs {
    border-bottom: 1px solid #e2e8f0;
    gap: 8px;
}

.profile-nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 12px 16px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-nav-tabs .nav-link:hover {
    color: #3C538D;
}

.profile-nav-tabs .nav-link.active {
    color: #3C538D;
    background: transparent;
    border-bottom-color: #3C538D;
    font-weight: 600;
}

.custom-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.custom-label span.text-danger {
    color: #ef4444 !important;
}

.custom-input-group {
    position: relative;
}

.custom-input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    z-index: 4;
}

/* ==========================================================================
   Profile Form Controls & Inputs
   ========================================================================== */
.custom-form-control,
.custom-form-select,
.form-control,
.form-select,
select,
option {
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

.custom-form-control,
.custom-form-select {
    background-color: #f8fafc;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #1e293b;
    transition: all 0.2s;
}

.has-icon .custom-form-control,
.has-icon .custom-form-select {
    padding-left: 42px;
}

.custom-form-control:focus,
.custom-form-select:focus,
.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: #3C538D !important;
    box-shadow: 0 0 0 3px rgba(60, 83, 141, 0.15) !important;
}

/* Native Option Base Style */
.form-select option,
.custom-form-select option,
select option {
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
    padding: 10px 14px;
    background-color: #ffffff;
    color: #1e293b;
}

/* ==========================================================================
   Custom Dropdown (Choices.js) Styling
   ========================================================================== */
/* Container Reset */
div.choices.custom-form-select,
div.choices.form-select,
.choices {
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    background-image: none !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

/* Input Box (.choices__inner) */
.choices .choices__inner,
.choices__inner {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.choices.is-focused .choices__inner {
    background-color: #ffffff !important;
    border-color: #3C538D !important;
    box-shadow: 0 0 0 3px rgba(60, 83, 141, 0.15) !important;
}

.choices.is-open .choices__inner {
    border-radius: 8px 8px 0 0 !important;
    border-bottom-color: transparent !important;
}

/* Arrow Icon: Dead-Center Vertical Alignment */
.choices[data-type*="select-one"]:after {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    border-color: #475569 transparent transparent transparent !important;
    border-width: 5px 5px 0 5px !important;
    pointer-events: none !important;
}

.choices[data-type*="select-one"].is-open:after {
    transform: translateY(-50%) rotate(180deg) !important;
    margin-top: 0 !important;
}

/* Single Selected Display Item */
.choices__list--single {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.choices__list--single .choices__item {
    color: #1e293b !important;
    font-weight: 500 !important;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Dropdown Menu Box (.choices__list--dropdown) */
.choices__list--dropdown,
.choices__list[aria-expanded] {
    border-radius: 0 0 8px 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-top: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    z-index: 100 !important;
    word-break: normal !important;
    padding: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] .choices__list {
    padding: 0 !important;
    margin: 0 !important;
}

/* Dropdown Choice Item Base */
.choices[data-type*="select-one"] .choices__list--dropdown .choices__item,
.choices__list--dropdown .choices__item--choice,
.choices__list--dropdown .choices__item--selectable,
.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item--choice,
.choices__list[aria-expanded] .choices__item--selectable,
.choices__list[aria-expanded] .choices__item {
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
    padding: 10px 24px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

/* Selected State: Theme Dark Blue #3C538D */
.form-select option:checked,
.custom-form-select option:checked,
select option:checked,
.choices__list--dropdown .choices__item--selectable.is-selected,
.choices__list[aria-expanded] .choices__item--selectable.is-selected {
    background-color: #3C538D !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

/* Hovered / Highlighted State: Light Theme Blue rgba(60, 83, 141, 0.15) */
.form-select option:hover,
.form-select option:focus,
.form-select option:active,
.custom-form-select option:hover,
.custom-form-select option:focus,
.custom-form-select option:active,
select option:hover,
select option:focus,
select option:active,
.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted,
.choices__list--dropdown .choices__item--selectable:hover,
.choices__list[aria-expanded] .choices__item--selectable:hover {
    background-color: rgba(60, 83, 141, 0.15) !important;
    background: rgba(60, 83, 141, 0.15) !important;
    color: #3C538D !important;
    font-weight: 500 !important;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif !important;
}

/* ==========================================================================
   Form Checks, Buttons & Signatures
   ========================================================================== */
.form-check-input:checked {
    background-color: #3C538D !important;
    border-color: #3C538D !important;
}

.form-check-input:focus {
    border-color: #3C538D !important;
    box-shadow: 0 0 0 0.25rem rgba(60, 83, 141, 0.25) !important;
}

.btn-save-custom {
    background-color: #00c853;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.btn-save-custom:hover {
    background-color: #00b248;
    color: #ffffff;
}

.signature-upload-box {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #a0aec0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin: 20px auto 30px auto;
    max-width: 520px;
}

.btn-sig-reset {
    background-color: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-sig-reset:hover {
    background-color: #cbd5e1;
    color: #1e293b;
}

.btn-sig-dark {
    background-color: #334155;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-sig-dark:hover {
    background-color: #1e293b;
    color: #ffffff;
}

/* ==========================================================================
   "ข้อมูลอื่นๆ" (Other Info) Grid Cards
   ========================================================================== */
.other-info-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.other-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.other-info-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.other-info-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.other-info-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 42px;
}

.btn-soft-action {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.icon-green-soft,
.btn-green-soft {
    background-color: #dcfce7;
    color: #16a34a;
}

.btn-green-soft:hover {
    background-color: #bbf7d0;
    color: #15803d;
}

.icon-blue-soft,
.btn-blue-soft {
    background-color: rgba(60, 83, 141, 0.12);
    color: #3C538D;
}

.btn-blue-soft:hover {
    background-color: rgba(60, 83, 141, 0.2);
    color: #3C538D;
}

.icon-amber-soft,
.btn-amber-soft {
    background-color: #fef3c7;
    color: #d97706;
}

.btn-amber-soft:hover {
    background-color: #fde68a;
    color: #b45309;
}

.icon-purple-soft,
.btn-purple-soft {
    background-color: #f3e8ff;
    color: #9333ea;
}

.btn-purple-soft:hover {
    background-color: #e9d5ff;
    color: #7e22ce;
}

.icon-teal-soft,
.btn-teal-soft {
    background-color: #ccfbf1;
    color: #0d9488;
}

.btn-teal-soft:hover {
    background-color: #99f6e4;
    color: #0f766e;
}

.icon-pink-soft,
.btn-pink-soft {
    background-color: #fce7f3;
    color: #db2777;
}

.btn-pink-soft:hover {
    background-color: #fbcfe8;
    color: #be185d;
}