* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    display: block;
    justify-content: normal;
    align-items: normal;
    background-color: #e2e2e2;
}

.sign-body {
    background-image: url('/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sign-body body,
.sign-body html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #262626;
    margin: 0;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

a:focus {
    outline: none !important;
}

a:hover {
    text-decoration: none;
    color: #0d8bf2 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #262626;
    margin: 0;
}

h2 {
    color: #262626;
    margin-bottom: 20px;
}

section {
    flex: 1;
}

fieldset {
    border: 1px solid #262626;
    border-radius: 8px;
    padding: 10px;
    margin: 10px;
}

legend {
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 0;
    width: auto;
    padding: 0 10px;
    border: 1px solid #262626;
    float: none;
    color: #262626;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header .container-fluid {
    display: flex;
    align-items: center;
}

.navbar .hamburger {
    position: absolute;
    top: 15px;
    left: 10px;
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    top: 20px;
    left: 20px;
    z-index: 1050;
    color: #262626;
    font-weight: bolder;
    display: inline-flex !important;
    align-items: center;
    margin-left: 10px;
}

.sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 280px !important;
    height: calc(100vh - 60px);
    padding: 1rem;
    overflow-y: auto;
    color: #e0e0e0;
    z-index: 1045;
    --bs-bg-opacity: 1;
    display: block;
    font-weight: bold;
    background-color: #0047b3;
}

#sidebar-container {
    transition: transform 0.3s ease-in-out;
}

.sidebar-menu {
    font-weight: bold;
    color: #e0e0e0;
}

.navbar-head {
    --bs-bg-opacity: 1;
    background-color: #0066ff;
}

.content {
    margin-top: 90px !important;
    margin-left: 50px;
    height: calc(88vh - 60px);
    overflow-y: auto;
    flex: 1;
}

.main-container {
    display: flex;
    height: 100%;
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background-color: #f2f2f2;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.login-box h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.change-pass-box {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.change-pass-box h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.form-control-auth {
    padding: 10px 20px !important;
    font-size: 14px !important;
    border: 1px solid #ced4da;
}

.input-group-text {
    border-radius: 30px 0 0 30px !important;
    background-color: #f2f2f2 !important;
    border: 1px solid #0c0c0c !important;
    color: #666666 !important;
}

.ended-rounded {
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
}

.btn-login {
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    background-color: #0066ff !important;
    color: white !important;
}

.btn-login:hover {
    background-color: #003d99 !important;
}

.input-group-text i {
    font-size: 18px;
}

.dropdown-item {
    cursor: pointer;
}

.display-label {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin: 0.5em 0;
    float: left;
    color: #262626;
}

.display-label-modal {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin: 0.5em 0;
    float: left;
    color: #262626;
}

.show-pass-icon {
    border-radius: 0 30px 30px 0 !important;
}

.change-pass-icon {
    border-radius: 0 5px 5px 0;
}

.li-header {
    font-family: Poppins-Medium, sans-serif;
    font-size: 26px;
    padding: 10px;
    font-weight: bold;
    color: #000000;
}

.badge {
    border-radius: 10px;
}

.bg-gradient-custom {
    background-image: linear-gradient(310deg, #ac00e6 0%, #ff80ff 100%);
}

.bg-gradient-success {
    background-image: linear-gradient(310deg, #17ad37 0%, #98ec2d 100%);
}

.bg-gradient-secondary {
    background-image: linear-gradient(310deg, #627594 0%, #a8b8d8 100%);
}

.bg-gradient-info {
    background-image: linear-gradient(310deg, #1171ef 0%, #11cdef 100%);
}

.bg-gradient-danger {
    background-image: linear-gradient(310deg, #f5365c 0%, #ff8080 100%);
}

.bg-gradient-primary {
    background-image: linear-gradient(310deg, #0b5ed7 0%, #86b4f9 100%);
}

.bg-gradient-warning {
    background-image: linear-gradient(310deg, #e6ac00 0%, #ffd24d 100%);
}

.upload-container {
    border: 2px dashed #0000cc;
    border-radius: 10px;
    background-color: #66a3ff;
    color: #262626;
    text-align: center;
    padding: 30px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.upload-container:hover {
    background-color: #3333ff;
    border-color: #000099;
}

.upload-container input[type="file"] {
    display: none;
}

.upload-container .icon {
    font-size: 50px;
}

.form-check-input {
    border-color: #0c0c0c !important;
}

.form-control {
    border-color: #0c0c0c !important;
    color: #0c0c0c !important;
}

.form-control.form-name {
    text-transform: uppercase !important;
}

.form-select {
    border-color: #0c0c0c !important;
}

.text-center {
    align-content: center;
}

.form-check-label {
    font-weight: bold;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
}

.dropdown-item.active {
    background-color: #0d6efd !important;
    color: white !important;
}

.dropdown-border {
    border: 1px solid #262626 !important;
}

.icon-header {
    height: 90px;
    width: auto;
    margin-top: -15px;
    margin-left: 30px;
    margin-bottom: -15px;
}

.icon-sign {
    height: 170px;
    width: auto;
    margin-top: -30px;
    margin-left: 65px;
}

#menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 5px;
}

.menu-folder {
    margin-right: 10px;
}

.menu-title {
    flex-grow: 1;
    font-weight: bold;
    font-size: 16px;
}

.menu-toggle {
    font-size: 14px;
    transition: transform 0.2s ease-in-out;
}

.submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.submenu li {
    padding: 0 15px;
    border-radius: 5px;
}

.sidebar-menu {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
}

.sidebar-menu i {
    margin-right: 10px;
}

#error {
    position: relative;
    height: 50vh;
}

#error .error {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.error {
    width: 100%;
    text-align: center;
}

.error .error-err {
    height: 280px;
    position: relative;
    z-index: -1;
}

.error .error-err h1 {
    font-family: Poppins-Regular, sans-serif;
    font-size: 230px;
    margin: 0;
    font-weight: 700;
    color: #262626;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error h2 {
    font-family: Poppins-Regular, sans-serif;
    color: #262626;
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
}

.error p {
    font-family: Poppins-Regular, sans-serif;
    color: #262626;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0;
}

.error a {
    font-family: Poppins-Regular, sans-serif;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
}

.custom-tabs {
    border: none;
    padding-left: 12px;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 12px 12px 0 0;
    background-color: #cccccc;
    color: #666666;
    font-weight: 500;
    padding: 12px 24px;
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-tabs .nav-link i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-tabs .nav-link.active {
    background-color: #0055ff;
    color: #000000;
    font-weight: bold;
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0055ff;
}

.tab-content {
    background-color: transparent;
    padding: 20px 12px;
}

.item-icon-start {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.item-icon-end {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    cursor: pointer;
}

.preview-img {
    max-width: 150px;
    margin-top: 10px;
    display: block;
}

.divider {
    font-size: 20px;
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.divider::after {
    content: '';
    flex: 1;
    height: 3px;
    background-color: #000000;
    margin-left: 10px;
}

.divider::before {
    content: none;
}

th,
td {
    vertical-align: middle !important;
}

.score-output,
.value-output {
    font-weight: bold !important;
    text-align: center !important;
}

table.table-bordered th,
table.table-bordered td {
    border: 1px solid #dee2e6 !important;
}

table.table-bordered tr {
    border: 1px solid #dee2e6 !important;
}

.chart-container {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    height: 100%;
}

.child-row {
    display: none;
    background-color: #f9f9f9;
}

.toggle-icon {
    cursor: pointer;
    margin-right: 6px;
    font-weight: bold;
    color: #007bff;
}

.toggle-icon:hover {
    color: #0056b3;
}

@media only screen and (max-width: 767px) {
    .error .error-err {
        height: 142px;
    }

    .error .error-err h1 {
        font-size: 112px;
    }
}

@media (min-width: 1300px) {
    .hamburger {
        display: none !important;
    }

    #sidebar-container {
        display: block !important;
    }

    #sidebar-item {
        top: 86px !important;
        width: 17%;
    }
}

@media (max-width: 1299px) {
    #sidebar-container {
        display: none;
        position: fixed;
        top: 86px;
        left: 0;
        width: 300px !important;
        height: 100%;
        z-index: 1045;
        background-color: #0066ff;
        transition: transform 0.3s ease;
    }

    #sidebar-container {
        transform: translateX(-100%);
        display: none;
    }

    #sidebar-container.show {
        transform: translateX(0);
        display: block;
        top: 60px;
    }

    #name-login {
        display: none;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .header {
        background-color: #0066ff !important;
    }

    #navbarSupportedContent {
        display: block;
        position: absolute;
        right: 1%;
        top: 0;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .content {
        width: 100%;
    }

    .fixed-bottom {
        position: relative;
    }
}