﻿.toolTab {
    background-color: var(--falcon-body-bg) !important;
}

.toolTab div {
    background-color: var(--falcon-body-bg) !important;
}

#frmDetails .card-body div:not(.toolTab, .toolTab div, .diffPart, .diffPart div, .other, .other div) {
    background-color: #fff !important;
}

.check-lg {
    width: 1.2em!important;
    height: 1.2em!important;
    margin-top: 0.3rem!important;
}
.check-lg:focus {
    /*color: var(--falcon-input-color);
    background-color: var(--falcon-input-bg);
    border-color: var(--falcon-input-focus-border-color);
    box-shadow: var(--falcon-box-shadow-inset), 0 0 0 .1rem rgba(44, 123, 229, .25);*/
}
.form-check-input:focus {
    /*color: var(--falcon-input-color);*/
    outline: 0;
    -webkit-box-shadow: 0 0 0 .25rem rgba(44, 123, 229, .25);
    border-color: var(--falcon-input-focus-border-color);
    box-shadow: var(--falcon-box-shadow-inset), 0 0 0 .1rem rgba(44, 123, 229, .25);
}
.form-check-input:checked {
    background-color: #2c7be5;
    border-color: #2c7be5;
}

.table-height {
    /*max-height: 75vh;*/
    height: 75vh;
    overflow-y: auto;
}
.table-height-inside {
    height: 70vh;
    overflow-y: auto;
}
.table-height-50 {
    height: 35vh;
    overflow-y: auto;
}

.table-height thead tr,
.table-height-50 thead tr,
.table-height-inside thead tr{
    border-top: 0;
    position: relative;
}
.table-height thead #headerTitle:after,
.table-height-50 thead #headerTitle:after,
.table-height-inside thead #headerTitle:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 0;
    right: 0;
    border: none;
    border-top: 1px solid var(--falcon-500) !important;
    border-bottom: 1px solid var(--falcon-500) !important;
    padding-top: 1px;
    z-index: 2;
}


#secComp{
    /*min-height:*/
}
#frmDetails .frm-infor nav .nav-link{
    padding:0.25rem 0.5rem;
}


/*choice js*/
.choices__input {
    margin: 0 !important;
}

.choices .choices__input--cloned {
    margin: 0 !important;
    /* margin-top: 0.15rem!important; */
    font-size: 0.85rem;
}

.choices .choices__inner {
    /* min-height: 2.1rem; */
    min-height: 0;
    padding: 0.1rem;
    padding-left: 0.2rem;
    border-radius: .14rem;
    -webkit-box-shadow: none;
}

.choices__list--dropdown .choices__item {
}

.choices .choices__list--dropdown .choices__item--selectable {
    font-size: 0.8rem !important;
    padding: 0.2rem;
}

.choices .choices__list--multiple .choices__item {
    margin: 0 !important;
    margin: 0.1rem 0.3rem 0.1rem 0 !important;
    vertical-align: 0;
    border: 0.1px solid #000;
    border-color: var(--falcon-input-focus-border-color);
    line-height: 1.4;
    font-size: 0.8rem !important;
}

.choices__button {
    color: black !important;
    opacity: 1 !important;
    background-color: black !important;
}

.choices__list--multiple .choices__item.is-highlighted {
    background-color: var(--falcon-soft-success);
    /* border: 1px solid #008fa1; */
}

.is-open .choices__list--dropdown {
    border: 0.5px solid var(--falcon-input-border-color) !important;
    /* border-color: var(--falcon-input-focus-border-color); */
}

.ck-editor__editable {
    height: 200px;
}

a {
    cursor: pointer;
}

.table-fix-header thead {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}

.customer-sidebar-sticky {
    position: sticky;
    top: 10px;
    z-index: 1020;
    height: max-content;
}

.nav-pills .nav-link {
    transition: all 0.2s;
    border-radius: 8px;
    margin-bottom: 4px;
    color: #495057;
}

    .nav-pills .nav-link:hover {
        background-color: #f8f9fa;
    }

    .nav-pills .nav-link.active {
        background-color: #3498db !important;
        color: white !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

.badge {
    font-size: 0.75rem;
}

.label-info {
    background: #e8f4fd;
    color: #3498db;
}

.label-warning {
    background: #fff9db;
    color: #f39c12;
}

.label-success {
    background: #eaffea;
    color: #27ae60;
}

.label-danger {
    background: #fdeaea;
    color: #e74c3c;
}

.label-other {
    background: #f2f2f2;
    color: #7f8c8d;
}

.status-badge {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

[v-cloak] {
    display: none !important;
}

#form-customer {
    opacity: 1 !important;
}

.timeline-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
}

    .timeline-card:hover {
        border-color: #3498db !important;
        background-color: #fcfdfe !important;
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(52, 152, 219, 0.1) !important;
    }

.transition-all {
    transition: width 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-collapsed {
    width: 65px !important;
}

    /* Ẩn logo */
    .sidebar-collapsed .navbar-brand {
        display: none !important;
    }

    /* Center nút toggle */
    .sidebar-collapsed #btn-toggle-sidebar {
        margin: 0 auto;
        display: block;
    }

    /* Center cả header */
    .sidebar-collapsed .customer-sidebar-sticky > div:first-child {
        justify-content: center !important;
    }

    .sidebar-collapsed #sidebar-content span,
    .sidebar-collapsed #sidebar-content .badge {
        display: none !important;
    }

    .sidebar-collapsed .nav-link {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

        .sidebar-collapsed .nav-link i {
            margin: 0 !important;
            font-size: 1.1rem;
        }

.input {
    width: 100%;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}
.is-invalid {
    border: 1px solid red;
}
    .input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
    }

.btn-icon {
    width: auto !important;
    padding: 4px 8px;
}

.captcha-box {
    width: 120px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f4f6;
    border-radius: 6px;
    font-weight: bold;
    letter-spacing: 2px;
}

.required::after {
    content: " *";
    color: red;
}