* {
    font-family: "Google Sans", sans-serif;
}

.form-control,
.form-select,
.ts-control {
    box-shadow: none !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

.system-border {
    border-color: #dee2e6 !important;
}


.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInOut 4s ease forwards;
}

.success-toast {
    background-color: #333;
}

.error-toast {
    background-color: #d9534f;
    animation: fadeInOut 10s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
        display: none;
    }

    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        display: block;
    }

    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        display: block;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        display: none;
    }
}

a {
    text-decoration: none !important;
    color: inherit;
}


.logo-upload-wrapper,
.profile-upload-wrapper {
    width: 150px;
    height: 150px;
}

.logo-preview,
.profile-preview {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-image: url(../profile.png);
}

.upload-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    transition: background 0.3s;
}

.upload-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

.form-control-color {
    display: block;
}

.rounded-input {
    background: #fff;
    width: 100%;
    border-radius: 1rem !important;
    position: relative;
    border: none;
}

.td-sidebar {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 0;
}

.td-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.td-sidebar-menu li {
    margin: 2px 0;
}

.td-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.td-sidebar-menu li a i {
    font-size: 18px;
    color: #6c757d;
}

.td-sidebar-menu li a:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.td-sidebar-menu li a.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    border-left-color: #0d6efd;
}

.td-sidebar-menu li a.active i {
    color: #0d6efd;
}

.menu-divider {
    height: 1px;
    margin: 10px 16px;
    background-color: #e9ecef;
}

.branch-item {
    display: flex;
}

.branch-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
}

section {
    position: relative;
}

.sidebar.sticky {
    position: sticky;
    top: 10px;
}

.form-switch .form-check-input:checked {
    background-size: contain;
}

.sidebar-profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.list-profile-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}