/* Login Page */
.login-input .form-control {
    height:54px;
    border:none;
    background:rgba(255,255,255,.75);
    border-radius:16px;
    padding:0 18px;
    box-shadow:
        inset 0 0 0 1px rgba(255,183,0,.15);
    transition:.3s;
}

.login-input .input-group button.hx-button.btn {
    height:54px;
    border:none;
    background:rgba(255,255,255,.75);
    border-radius:16px;
    padding:0 18px;
    box-shadow:
        inset 0 0 0 1px rgba(255,183,0,.15);
    transition:.3s;
}

.login-input .form-control:focus,
.login-input .input-group button.hx-button.btn:focus{
    outline:none;
    background:white;
    box-shadow:
        0 0 0 4px rgba(255,180,0,.15);
}

.login-button{
    width:100%;
    height:58px;
    border:none;
    border-radius:18px;
    color:white;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    background:linear-gradient(135deg,#FFD54F,#FB8C00);
    transition:.3s;
    box-shadow:
        0 15px 35px rgba(255,174,0,.35);
}

button.hx-button.btn.login-button{
    width:100%;
    height:58px;
    border:none;
    border-radius:18px;
    color:white;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    background:linear-gradient(135deg,#FFD54F,#FB8C00);
    transition:.3s;
    box-shadow:
        0 15px 35px rgba(255,174,0,.35);
}

button.hx-button.btn.login-button:hover{
    transform:translateY(-2px);
    box-shadow:
        0 22px 45px rgba(255,174,0,.45);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .1rem;
    font-size: .7em;
    padding-left: .8rem;
    color: var(--bs-form-invalid-color);
    padding-top: .3rem;
}

/* Navmenu */
a.nav-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: .75rem;

    border-radius: 14px;

    color: #4B5563;

    transition: all .25s ease;
}

a.nav-link .hx-sidebar-item-icon,
a.nav-link .bi {
    color: #9CA3AF;
    transition: color .25s ease;
}

a.nav-link:hover {
    background: linear-gradient(
        135deg,
        #FFF8E8,
        #FFF2D6
    ) !important;

    color: #F59E0B !important;

    box-shadow:
        0 6px 18px rgba(245,158,11,.12);

    transform: translateX(2px);
}

a.nav-link:hover .hx-sidebar-item-icon,
a.nav-link:hover .bi {
    color: #F59E0B !important;
}

a.nav-link.active {
    background: linear-gradient(
        135deg,
        #FFF8E8,
        #FFEBC6
    ) !important;

    color: #F59E0B !important;

    border: 1px solid rgba(245,158,11,.15);

    box-shadow:
        0 8px 20px rgba(245,158,11,.15);
}

a.nav-link.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    border-radius: 999px;

    background: linear-gradient(
        180deg,
        #FFD54F,
        #FB8C00
    );
}

a.nav-link.active .hx-sidebar-item-icon,
a.nav-link.active .bi {
    color: #F59E0B !important;
}

div.hx-sidebar-header {
    padding: 0 !important;
    display: block !important;
}

div.hx-sidebar-body {
    overflow: auto;
}

@media (max-width: 768px) {
    div.hx-sidebar-header {
        padding: 0 !important;
        display: flex !important;
    }
}

.hx-tab-panel .nav-tabs {
    display: flex;
    gap: .35rem;

    padding: .4rem;

    border: none;
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.95),
            rgba(255,250,240,.85));

    box-shadow:
        inset 0 0 0 1px rgba(245,158,11,.08);

    margin-bottom: 1.5rem;
}


/* ===== Tab Item ===== */

.hx-tab-panel .nav-link {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: .5rem;

    padding: .85rem 1.3rem;

    border: none;
    border-radius: 14px;

    background: transparent;

    color: #7C6A53;

    font-weight: 500;

    transition:
        background .25s ease,
        color .25s ease,
        transform .2s ease,
        box-shadow .25s ease;
}


/* ===== Hover ===== */

.hx-tab-panel .nav-link:hover {

    color: #B45309;

    background:
        rgba(251,191,36,.08);

}


/* ===== Active ===== */

.hx-tab-panel .nav-link.active {

    color: #B45309;

    font-weight: 600;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.98),
            rgba(255,248,232,.96));

    box-shadow:
        0 6px 18px rgba(245,158,11,.12);

}


/* ===== Bottom Indicator ===== */

.hx-tab-panel .nav-link::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 6px;

    width: 0;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 999px;

    transition: width .25s ease;

    background:
        linear-gradient(
            90deg,
            #FBBF24,
            #F59E0B,
            #EA580C);

}

.hx-tab-panel .nav-link.active::after {
    width: 48px;
}

.hx-tab-panel .nav-link:hover::after {
    width: 24px;
}

.hx-tab-panel .nav-link:focus,
.hx-tab-panel .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

/* custom input */
.custom-input label.form-label,
.custom-input label.form-check-label
{
    margin-bottom: .5rem;
    font-size: 10pt;
    font-weight: 600;
    color: #777777;
    line-height: normal;
}

/* Grid */
.grid-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.grid-table-card table,
.grid-card table{
    margin:0;
}

.grid-table-card thead th,
.grid-card thead th{
    font-size: 14px;
    font-weight: 700;
    color: #8d6849 !important;
    padding: 15px 20px;
    text-transform: uppercase;
    align-content: center;
}

.grid-table-card tbody td,
.grid-card tbody td{
    padding:18px 20px;
    vertical-align:middle;
}

.grid-table-card tbody tr,
.grid-card tbody tr{
    transition:.2s;
}

.grid-table-card tbody tr:hover,
.grid-card tbody tr:hover{
    background:#FFFBEB;
}

td.grid-item {
    font-size: 11pt;
    color: #643d24;
}

td.grid-item-company {
    font-size: 11pt;
    color: #25273b;
}

td.grid-item__last-logged-in {
    font-size: 12px;
    color: gray;
}

.grid-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

td .grid-cell .grid-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff6de;
    border-radius: 50%;
    color: #b7791f;
    font-size: 1.2rem;
    font-weight: 700;
}

td .grid-cell .item {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
}

td .grid-cell .subitem {
    color: #6b7280;
    font-size: .92rem;
}

/* Filter Input */
.filter-input input.form-control,
.filter-input select.form-select,
.filter-input input.hx-multi-select-input {
    border: var(--bs-border-width) solid #ffffff;
}

.filter-input select.form-select,
.filter-input input.hx-multi-select-input {
    padding-right: 3rem;
    text-align: end;
}

.reset-password-btn {
    color: #8c4a1e;
    border: 1px solid;
}

.required::after {
    content: " *";
    color: #ef4444;
}

.btn-reset-custom {
    min-width: 80px;
    height: 40px;
    border-radius: 13px !important;
    border: 1.5px solid #D8B98A !important;
    background: #ffffff !important;
    color: #6B5A47 !important;
    font-weight: 600;
    font-size: 11pt;
    transition: all .25s ease;
}

.btn-reset-custom:hover {
    background: #FFF8EE !important;
    border-color: #C9973A !important;
    color: #A16207 !important;

    transform: translateY(-1px);
}

.btn-save-custom {
    min-width: 150px;
    height: 40px;

    border: none !important;
    border-radius: 10px !important;

    background: #F59E0B !important;
    color: var(--text-on-warning) !important;

    font-size: .95rem;
    font-weight: 600;

    box-shadow: 0 2px 8px rgba(245, 158, 11, .18);

    transition: background-color .2s ease,
                transform .15s ease,
                box-shadow .2s ease;
}

.btn-save-custom:hover:not(:disabled) {
    background: #D97706 !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .25);
}

.btn-save-custom:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(245, 158, 11, .18);
}

.btn-save-custom:disabled {
    background: #E5E7EB !important;
    color: #9CA3AF !important;
    box-shadow: none;
    cursor: not-allowed;
}

.custom-checkbox label.form-check-label {
    font-size: 10pt;
}

.btn-warning,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning:disabled,
.btn-warning .bi,
.btn-warning i {
    color: var(--text-on-warning) !important;
}