/* Ensure the SVG scales properly */
.svg-background {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-width: 100vw;
    max-height: 100vh;
}

/* Ensure the parent containers take the full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#root {
    height: 100%;
    max-width: 100vw;
    position: relative; /* Ensure relative positioning for absolute SVG */
}

.btn-language {
    padding: 3px;
}

.p-dialog-content {
    background-color: #efefef
}

.layout-content {
    max-height: 95vh !important;
    max-width: 100% !important;
}

.p-card {
    max-height: 100% !important;
}

.layout-content-wrapper .layout-content {
    padding: 1rem
}

.p-button-label.p-c {
    margin-left: 5px
}

.table-cell-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-dropdown-items {
    padding: 0
}

.p-tree-container {
    padding: 0
}

.p-contextmenu-root-list {
    padding: 0;
    margin: 0;
}

.p-fileupload-choose {
    height: 100%;
    border-radius: unset;
}

.SuccessError .p-button:first-of-type {
    border: 2px solid #198754;
    background: unset;
    color: #198754;
}

.SuccessError .p-button:last-of-type {
    border: 2px solid #dc3545;
    background: unset;
    color: #dc3545;
}

.SuccessError .p-button:first-of-type.p-highlight {
    border: 2px solid #198754;
    background: #198754;
    color: white;
}

.SuccessError .p-button:last-of-type.p-highlight {
    border: 2px solid #dc3545;
    background: #dc3545;
    color: white;
}

.layout-topbar .layout-topbar-start .layout-menu-button {
    right: unset
}

.layout-topbar .layout-topbar-start .layout-topbar-logo {
    margin-left: 3rem
}

.custom-border-start {
    border-left-width: 5px;
}

.rowGreen {
    background-color: rgba(143, 213, 166,0.1);
    border: 1px solid #8FD5A6
}

.rowRed {
    background-color: rgba(209, 102, 102,0.1);
    border: 1px solid #D16666
}

.icon-container {
    position: relative;
    display: inline-block;
}

.icon-badge {
    position: absolute;
    bottom: 1px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 18px; /* Adjust width and height for a perfect circle */
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}
.layout-topbar .layout-topbar-end .layout-topbar-actions-end .layout-topbar-items > li > a {
    border-radius: unset;
}

.scrollable-cell {
    overflow: auto; /* Enables scroll for long text */
    white-space: normal; /* Allows text wrapping */
    word-wrap: break-word;
}