:root {
    --font-family-sans-serif: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --bs-btn-font-size: 16px;
    --bs-toast-font-size: 16px;
    --sidebar-bg: #02174c;
    --sidebar-menu-color: #ffffff;
    --sidebar-menu-submenu-color: #ffffff;
    --sidebar-menu-active-item-bg: #1c3575;
    --sidebar-menu-active-item-color: #ffffff;
    --sidebar-menu-icon-color: #ffffff;
    --button-primary-bg: #02174c;
    --button-primary-color: #fff;
    --link-color: #02174c;
    --bs-border-color-translucent: #e1e1e1;
    --bs-primary-rgb: 9, 72, 179;
    --responsive-header-bg: #02174c;
}

.logo-custom i {
    color: #fff;
    font-size: 36px;
    margin-right: 5px;
}

.logo-custom span {
    color: #fff;
    font-family: "Funnel Display", sans-serif;
    font-weight: 500;
    font-size: 32px;
    padding: 15px 0;
}

.logo-custom.dark i, .logo-custom.dark span {
    color: #02174c;
}

#navigation-toggler {
    color: #fff;
}

.btn-primary {
    --bs-btn-disabled-bg: #0038c5;
    --bs-btn-disabled-border-color: #0038c5;
}

body {
    background-color: #f5f8fb;
}

.color-bright-green {
    color: #08F886;
}

.login-wrapper {
    margin-block-start: 0 !important;
}

.toast-body {
    font-size: var(--font-size-base) !important;
}

.btn {
    font-size: var(--font-size-base);
}

.main-header #header-logo img, .main-header #header-logo svg {
    max-inline-size: 85%;
}

#main-menu .menu .menu-item {
    padding-top: 6px;
    padding-bottom: 6px;
}

.content-header {
    background-color: #f5f8fb;
}

.ea-index .content-body {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 20px
}

.datagrid td {
    padding: 14px 8px;
}

.datagrid td.actions a:not(.dropdown-item) {
    font-size: var(--font-size-base);
    font-weight: 400;
}

.ts-wrapper .ts-control, .form-widget .form-select, .form-widget input.form-control, .form-widget textarea.form-control {
    font-size: var(--font-size-base);
    block-size: 40px;
}

.form-widget-compound textarea.form-control {
    block-size: auto;
}

.field-collection-item .accordion-button {
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflowing content */
    text-overflow: ellipsis; /* Show "..." when text overflows */
    max-width: 100%; /* Adjust based on your layout */
    display: inline-block; /* Ensure proper behavior */
    flex-shrink: 1; /* Prevent the button from growing */
    top: -4px;
}

#dropArea {
    width: 100%;
    height: 180px;
    border: 2px dashed var(--link-color);
    border-radius: 10px;
    text-align: center;
    background: white;
    transition: background 0.3s;
}

#dropArea.hover {
    background: #e9ecef;
}

#fileInput {
    display: none;
}

#uploadMessage {
    display: none;
    margin-top: 10px;
    font-weight: bold;
}

#fileList .filename {
    width: 90%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 1px;
}

.form-column .form-fieldset {
    box-shadow: none;
    margin: 0 !important;
}

.form-column .form-fieldset-body.without-header {
    padding: 0;
}

.form-column .form-fieldset-header {
    padding: 0 0 20px 0;
}

.form-column .form-fieldset-body {
    padding: 0;
}

.form-widget-compound .form-control-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ea-index-Action .content-body {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

.field-date input[type=date].form-control {
    width: 100%;
}

.bottom-10px {
    bottom: 10px;
}

.right-10px {
    right: 10px;
}

.actions-list {
    min-height: 200px;
}

.actions-list .card h5.card-title {
    font-size: 1.1em;
}

#taskList input#task_task {
    block-size: 34px;
}

.overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-layout-fixed {
    table-layout: fixed;
}

.actions-list .card .drag-handle {
    right: 15px;
    top: 10px;
}

.ea-fileupload .custom-file-label {
    block-size: 40px;
    line-height: 30px;
}

.ea-fileupload .input-group-text {
    block-size: 40px;
}

.ea-fileupload .input-group .btn, .ea-fileupload .input-group .btn:hover {
    font-size: 20px;
    line-height: 24px;
}

.feedback-button {
    top: 50%;
    right: -65px;
    rotate: 270deg;
    z-index: 999;
    padding-bottom: 50px !important;
    transition: right 0.3s ease;
}

.feedback-button:hover {
    right: -55px;
}

.responsive-logo img {
    max-width: 60%;
    margin-top: 0 !important;
}

.field-date input[type=date].form-control,
.field-datetime input[type=datetime-local].form-control,
.field-time input[type=time].form-control {
    width: 100%;
}
