

.button_space {
    display: flex;
    gap: 20px;
}

.search_button {
    background-color: var(--btn-search-color);
    width: fit-content;
}

.search_button:hover {
    background-color: var(--btn-search-color-hover);
}

.buttons button,
.main button#addTCE_btn {
    height: 40px;
    width: 100px;
    border: none;
    border-radius: 5px;
    background-color: var(--btn-primary-color);
    color: var(--btn-text-light);
}

.buttons .btn-warning{
    background-color: var(--btn-warning-color);
    color: var(--btn-text-dark);
}

.buttons .btn-warning:hover{
    background-color: var(--btn-warning-color-hover);
    color: var(--btn-text-dark);
}


.warning-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    flex-direction: column;
    color: var(--btn-danger-color);
}

/* Optional: Adjust the icon size */
.fa-exclamation-triangle {
    font-size: 5rem;
    /* Adjust as needed */
}

.buttons button:hover,
.main button#addTCE_btn:hover {
    background-color: var(--btn-primary-color-hover);
}

.buttons button:active,
.main button#addTCE_btn:active {
    background-color: var(--btn-primary-color);
    box-shadow: var(--btn-shadow);
}

.buttons button.home_button,
.buttons button.back_button,
.buttons button.cancel_button {
    background-color: transparent;
    color: var(--btn-primary-color);
    outline: 2px solid var(--btn-primary-color);
    outline-offset: -2px;
}

.buttons button.home_button:hover,
.buttons button.back_button:hover,
.buttons button.cancel_button:hover {
    background-color: var(--btn-secondary-color-hover);
    color: var(--btn-primary-color);
    outline: 2px solid var(--btn-primary-color);
    outline-offset: -2px;
}

.buttons button.home_button:active,
.buttons button.back_button:active,
.buttons button.cancel_button:active {
    background-color: var(--btn-secondary-color);
    color: var(--btn-primary-color);
    outline: 2px solid var(--btn-primary-color);
    outline-offset: -2px;
}

.buttons button.reset_button {
    background-color: transparent;
    color: var(--btn-primary-color);
}

.buttons button.reset_button:hover {
    background-color: var(--btn-reset-color-hover);
}

.buttons button.reset_button:active {
    background-color: var(--btn-reset-color);
}

:is(.buttons, .barActions) .warning_button {
    background-color: var(--btn-search-color);
    width: auto;
    padding: 0 1rem;
    color: var(--btn-text-light);
}

:is(.buttons, .barActions) .warning_button:hover {
    background-color: var(--btn-search-color-hover);
}

.buttons button.danger_button {
    background-color: var(--btn-danger-color);
    color: var(--btn-text-light);
}

.buttons button.danger_button:hover {
    background-color: var(--btn-danger-color-hover);
}

.buttons button.next_button.finalize,
.buttons button.submit_button,
.buttons button.addNew_button {
    background-color: var(--btn-success-color);
    color: var(--btn-text-light);
}

.buttons button.next_button.finalize:hover,
.buttons button.submit_button:hover,
.buttons button.addNew_button:hover {
    background-color: var(--btn-success-color-hover);
}

.table-fix-head-small~div button {
    height: 20px;
    width: 20px;
    padding: 0;
    line-height: 0.5;
    top: -4px;
    font-size: 15px;
    font-weight: bold;
    position: relative;
}

i.fa-white {
    color: #ffffff;
}

@media (max-width: 576px) {

    .buttons button {
        height: 40px;
        width: 100%;
        padding: 0 1rem;
    }

    .main .row.mt-auto div.d-flex {
        flex-direction: column;
    }

    .main .row.mt-auto div.d-flex .buttons {
        margin-top: 0.5rem;
    }
}

.upload_dropzone {
    background-color: var(--btn-secondary-color);
    outline: 2px dashed var(--btn-primary-color);
    outline-offset: -6px;
    transition:
        outline-offset 0.2s ease-out,
        outline-color 0.3s ease-in-out,
        background-color 0.2s ease-out;
}

.upload_dropzone.highlight {
    outline-offset: -3px;
    outline-color: var(--btn-primary-color-hover);
    background-color: var(--btn-secondary-color-hover);
}

.upload_svg {
    fill: var(--btn-primary-color);
}

.upload_button {
    font-weight: normal !important;
    color: var(--btn-text-light);
    background-color: var(--btn-primary-color);
}

.upload_button:hover,
.upload_button:focus {
    color: var(--btn-text-light);
    background-color: var(--btn-primary-color-hover);
}