@import "multiselect.css";

body {
    font-size: 1.8rem;
    font-family: Roboto, sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #282828;
}

html {
    font-size: 62.5%;
    scroll-behavior: auto !important;
}

#accordionSettings .accordion-button:focus {
    box-shadow: unset !important;
}

#accordionSettings .alert-primary {
    border: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.absolute-lt0 {
    position: absolute;
    top: 0;
    left: 0;
}

.accordion-button {
    font-size: 1.4rem !important;
}

.area-title-block {
    background-color: #b1b1b1;
    border: 1px solid #b1b1b1;
    color: #ffffff;
    padding: 5px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.arrow--big {
    font-size: 4.5rem;
}

.attribute {
    font-size: 1.3rem !important;
    color: #646b75ff !important;
}

.bar-building {
    height: 32px !important;
}

.bc-grey-light {
    background-color: #e9ecef !important;
}

.bg-details {
    max-height: 600px;
    margin: 0;
    padding: 15px;
}

.bg-light-gray {
    background-color: lightgrey;
}

.btn-attribute {
    line-height: 1.5;
    color: #545454;
    text-align: center;
    white-space: nowrap;
}

.btn-attribute:hover {
    border: 1px solid #5c636a;
    color: #17934b;
}

.btn-back {
    border: 0;
    font-weight: 800 !important;
    color: #052d73 !important;
}

.btn-close-form {
    color: #fff;
    background-color: #6c757d;
    border: none;
}

.btn-close-form:hover {
    color: #fff;
    background-color: #5c5e64;
    border: none;
}

.btn-menu {
    font-size: calc(1.1rem) !important;
}

.btn-outline-buy {
    color: #6e6e6e;
    border-color: #6e6e6e;
}

.btn-outline-ug {
    color: #27348b;
    border-color: #27348b;
}

.btn-outline-ug:hover {
    color: #fff;
    background-color: #27348b;
}

.btn-outline-violet {
    color: #9d499f;
    border-color: #9d499f;
}

.btn-outline-violet:hover {
    color: #fff;
    background-color: #9d499f;
}

.btn-send-buy {
    color: #fff;
    background-color: #198754;
    border: none;
}

.btn-send-buy:hover {
    color: #ffffff;
    background-color: #14603d;
}

.btn-tile {
    height: 120px;
    background: #f3f3f3;
    color: #27348b;
}

.btn.clear, .btn.search {
    width: 10rem;
}

.btn.trash, .btn.select, .btn.confirmation {
    width: 75px;
}

.budget-menu__select > option {
    width: 29px !important;
    overflow: hidden !important;
}

.c-grey {
    color: #6e6e6e;
}

.card-area {
    background-color: #f6f6f6;
    border: 1px solid #d3d3d3;
    color: #6a6a6a;
    font-size: 1.4rem;
}

.card-area-content {
    padding: 2rem;
}

.cart-details-bar:hover {
    background-color: #052d73;
}

.cart-details-box {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 100%;
    height: auto;
    overflow-y: scroll;
    scroll-margin: 20px;
    overflow-x: hidden;
    background: #b8d4be;
    /*margin: 0 auto;
    */
    transition: all 0.4s ease-in-out;
    padding: 0;
}

.cart-details-box::-webkit-scrollbar {
    width: 15px;
}

.cart-details-box::-webkit-scrollbar-thumb {
    /*background: #9ccaa0;
    */
    background: #052d73;
    border-radius: 999px;
}

.cart-details-box::-webkit-scrollbar-thumb:hover {
    background: #2F42ADFF;
    /*background: #b8d4be;
    */;
}

.cart-details-box::-webkit-scrollbar-track {
    background: #dee2e6;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

.cart-icon .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background-color: #052d73;
    color: white;
}

.category-area {
    background-color: #f6f6f6;
    border: 1px solid #d3d3d3;
    color: #6a6a6a;
    font-size: 1.3rem;
}

.category-area-content {
    padding: 2rem;
}

.cell-content {
    overflow: hidden;
    white-space: nowrap;
    /* Ensure the text doesn't wrap */
    text-overflow: ellipsis;
    /* Truncate text with ellipsis */
    max-height: 20px;
    /* Set initial max-height to match the desired number of lines */;
}

.check-styled .form-check-input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.check-styled .form-check-input[type="radio"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.check-styled .form-check-input[type="radio"]:checked::after {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.comment-list {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.comment-list li {
    margin: 5px 0;
    padding: 10px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contractor-separator {
    height: 2px;
    background-color: var(--navy-blue);
}

.cur-h {
    cursor: help;
}

.cur-p {
    cursor: pointer;
}

.custom-invalid.is-invalid {
    background-image: none !important;
}

.custom-valid.is-valid {
    background-image: none !important;
}

.data-list {
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    z-index: 1000;
}

.dataTable-bottom > div {
    color: #052d73 !important;
}

.dataTable-bottom > li {
    color: #052d73 !important;
}

.decoration {
    color: #052d73;
    border-bottom: 1px solid #6e6e6e;
    font-size: 2rem;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.details-cart-data td {
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    padding: 0 5px;
}

.details-cart-data td:nth-child(2) {
    text-align: left;
}

.details-cart-data td:nth-child(4) {
    text-align: right;
}

.details-cart-data th {
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    padding: 0 5px;
}

.details-cart-data thead tr {
    border-bottom: 1px solid #000;
}

.details-cart-data tr:nth-child(even) {
    background-color: #48ab4640;
}

.expandable-cell.expanded .cell-content {
    white-space: normal;
    /* Allow text to wrap */
    background-color: whitesmoke;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    padding: 16px;
    max-height: 720px;
    /* Set a sufficiently large max-height for expansion */
    min-width: 35vw;
    max-width: 75vw;
    border: grey 1px solid;
    border-radius: 4px;
    overflow-y: auto;
}

.expense-detail td {
}

.filter-group-extras h3 {
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.5) !important;
}

.filter-group-extras label {
    font-size: 1.2rem;
}

.filters-btn {
    margin-bottom: -1px;
    border: 1px solid #000000 !important;
    border-bottom: 0 !important;
    opacity: 1 !important;
}

.financingshare {
    width: 80px !important;
}

.form-control-date {
    display: inline-block !important;
    width: 25% !important;
}

.form-control-price {
    display: inline-block !important;
    width: 25% !important;
}

.gray-block {
    background-color: #e9ecef;
    opacity: 1;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    color: #757575;
    font-size: 1.3rem;
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.h-space-2 {
    height: 20px !important;
}

.h-space-3 {
    height: 30px !important;
}

.head-row {
    background: var(--secondary-bg);
    border: 1px solid var(--secondary-br);
    color: var(--headrow);
}

.hero-shadow {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    z-index: -1;
}

.hidden {
    display: none;
}

.hide {
    height: 0;
}

.highlight {
    font-weight: bolder;
    text-decoration: underline;
}

.highlight-row {
    animation: highlightAnimation 1s ease-in-out 5;
}

.info-module {
    margin-top: 1rem;
    margin-bottom: 3rem;
    padding: 10px 20px;
    /*border: 1px solid #c2b8b8;
    */
    color: #6e6e6e;
    font-size: 1.4rem;
    border-radius: 5px;
}

.input-group-text {
    font-size: 1.2rem;
    color: #044689;
}

.input-group.date-input {
    max-width: 130px;
}

.input_search_icon {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='currentColor' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z' fill='black' fill-rule='nonzero'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding: 7px 15px;
    background-position: right 10px center;
    outline: 0;
    width: 500px;
}

.item-row {
    background: var(--lightgray);
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--darkgray);
}

.item-row:hover {
    background-color: #ddd;
}

.main-block {
    margin: 0;
    padding: 10px 10px 20px 10px;
    color: #6e6e6e;
    /*background: #dee2e682;
    */
    border: 1px solid #c6c1c1;
    overflow: hidden;
    min-height: 700px;
    font-size: 1.4rem;
}

.main-menu .bi {
    font-size: 1.8rem;
    margin-right: 6px;
}

.main-menu button, .main-button {
    background: #21395d;
    color: #ffffff;
}

.main-menu button:hover, .main-button:hover {
    color: #21395d !important;
    border: 1px solid #21395d !important;
}

.max-w-25 {
    max-width: 25% !important;
}

.menu .icon {
    font-size: 2.2rem;
    font-weight: bold;
    color: #053c78;
}

.menu-row {
    background-color: #e1e2e3;
    border: 1px solid #d0d3d5;
}

.modal-body {
    padding: 0 !important;
}

.modal-custom-width {
    max-width: 90%;
}

.nav-tabs-tray .nav-link {
    color: var(--navlink-gray);
}

.numbershare {
    width: 140px !important;
    text-align: right;
}

.other-item.border {
    border-style: dashed !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    backdrop-filter: blur(5px);
    /* Blur effect */
    z-index: 1;
    /* Ensure it sits behind the expanded cell but above other content */
    display: none;
    /* Hidden by default */;
}

.overlay.active {
    display: block;
    /* Show the overlay when active */;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-height: 70%;
    overflow-y: auto;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-content .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.row-bottom {
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
    z-index: 1000;
}

.row-hover :hover {
    background-color: #f0f0f0;
    /* Kolor tła po najechaniu */;
}

.s-0 {
    padding-left: 0 !important;
}

.s-1 {
    padding-left: 2% !important;
}

.s-2 {
    padding-left: 4% !important;
}

.s-3 {
    padding-left: 6% !important;
}

.s-4 {
    padding-left: 8% !important;
}

.s-5 {
    padding-left: 10% !important;
}

.s-6 {
    padding-left: 12% !important;
}

.s-7 {
    padding-left: 14% !important;
}

.s-8 {
    padding-left: 16% !important;
}

.send-action, .action {
    width: 14rem;
}

.text-ug {
    color: #052d73 !important;
}

.text-violet {
    color: #607aa1 !important;
}

.tile-icon {
    font-size: 2.2rem;
}

.tile-title, .title {
    font-size: 1.6rem;
}

.title-area {
    background-color: #949494;
    border: 1px solid #808080;
    color: #ffffff;
    padding: 5px;
    font-size: 1.4rem;
    text-transform: uppercase;
    background-color: #949494;
    border: 1px solid #808080;
    color: #ffffff;
    padding: 5px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.titleblock-fix {
    margin-left: -3rem;
    margin-top: -3rem;
}

.tree-editor {
    background-color: #dfefe9;
    border: 1px solid #b5d5c9;
    color: #757575;
    font-size: 1.3rem;
}

.tree-label {
    color: #757575;
    margin-bottom: 0.2rem;
    font-size: 1.3rem;
}

.tree-table {
    color: #6e6e6e;
    font-size: 1.6rem;
}

.tree-table:hover {
    color: #124489;
    background: rgb(204, 217, 236);
}

.view-area {
    width: 90%;
    height: auto;
    overflow: visible !important;
    margin: 0 auto !important;
    border: 1px solid #c6c1c1;
    padding: 10px 10px 20px 10px;
    color: #6e6e6e;
    font-size: 1.4rem;
}

.view-source-spending {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    max-height: 90vh;
    overflow-y: scroll;
    width: 80%;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-33 {
    width: 33% !important;
}

.w-40 {
    width: 40% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.wp-20 {
    width: 20px !important;
}

.wp-30 {
    width: 30px !important;
}

.wp-40 {
    width: 40px !important;
}

.wp-60 {
    width: 60px !important;
}

.wp-80 {
    width: 80px !important;
}

.wp-100 {
    width: 100px !important;
}

.wp-120 {
    width: 120px !important;
}

.wp-140 {
    width: 140px !important;
}

.wp-150 {
    width: 150px !important;
}

.wp-160 {
    width: 160px !important;
}

.wp-180 {
    width: 180px !important;
}

.wp-200 {
    width: 200px !important;
}

.wp-250 {
    width: 250px !important;
}

.wp-300 {
    width: 300px !important;
}

.wp-330 {
    width: 330px !important;
}

.wp-400 {
    width: 400px !important;
}

.wp-600 {
    width: 600px !important;
}

/* Expanded state */
.expandable-cell.expanded {
    max-width: 50%;
    /* Expand cell to 50% of the table width */
    cursor: inherit;
}

/* FORM */

[class*="control"] {
    font-size: 1.3rem;
}

.w-5 {
    width: 5% !important;
}

.menu-system {
    height: 100px;
    background: #f3f3f3;
    color: var(--ug);
}

.menu {
    height: 60px;
    background: #f3f3f3;
}

:root {
    --white: #fff;
    --dirty-white: #eeeeee;
    --darkgray: #2b2f32;
    --gray: #c1c1c1;
    --gray2: #cccccc;
    --secondary-bg: #e2e3e5;
    --secondary-br: #c4c8cb;
    --lightgray: #cccccc1f;
    --grey-pannels: #e9ecef;
    --yellow: #fecd1f;
    --marsala: #990033;
    --pink: #ff99ff;
    --violet: #6f42c1;
    --magenta: #800080;
    --orange: #ff9900;
    --azure: #0dcaf0;
    --navy-blue: #052d73;
    --app-main-blue: #21395d;
    --blue: #055160;
    --green1: #99cc00;
    --green2: #20c997;
    --green3: #17934b;
    --stepSize: 46px;
    --navlink-gray: #3e3e3e;
    --ug: #052d73;
    --headrow: #555;
    --education: #00963f;
    --science: #005e97;
    --society: #5c257f;
    --management: #ef7d00;
    --overlay-bg: rgba(255, 255, 255, 0.95);
}

/* Procurements / Import Consecutives */

span.cpv_hint {
    display: block;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/* Style for the expandable cell */
.expandable-cell {
    max-width: 200px;
    /* Set a max width for truncation */
    cursor: pointer;
}

/* filters accordion*/
#accordionSettings .accordion-header > button {
    font-size: 1em;
    color: var(--navy-blue);
    font-weight: 600;
}

/* menu tabs expense details*/

.nav-tabs-tray {
    background-color: #f5f5f5;
}

[class*="btn"] {
    font-size: 1.4rem;
}

[class*="label"] {
    color: #052d73;
    font-size: 1.4rem;
}

[class*="select"] {
    font-size: 1.4rem;
}

.border-ug {
    border-color: #052d73 !important;
}

/* Overlay pełnoekranowy */
.loader-overlay {
    position: fixed;
    inset: 0;
    display: none;               /* ukryty domyślnie */
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(1px);  /* opcjonalnie */
}

/* Widoczny stan */
.loader-overlay.is-open {
    display: flex;
}

/* Karta treści (spinner + tekst) */
.loader-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    animation: fadeZoom 200ms ease forwards;
}

.loader-title {
    font-size: 18px;
    font-weight: 600;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #333;
    text-align: center;
}

@keyframes fadeZoom {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}

/* Blokada scrolla, gdy overlay otwarty */
body.loader-lock {
    overflow: hidden;
}

@keyframes spin { to { transform: rotate(360deg); } }

.stats-box {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--gray);
}

.stats-available {
    background-color: #f8fff9;
    border-left: 4px solid #28a745;
}

.stats-blocked {
    background-color: #fffef8;
    border-left: 4px solid #ffc107;
}

.stats-future {
    background-color: #f9f8ff;
    border-left: 4px solid #6f42c1;
}

.stats-spent {
    background-color: #fff8f9;
    border-left: 4px solid #dc3545;
}

.stats-ug {
    background-color: #fff8f9;
    border-left: 4px solid #052d73;
}

.required::after {
    content: " *";
    color: red;
}

.tab-form {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    background-color: #fcfdff;
    padding: 2rem;
}

.nav-link {
    color: #123d89 !important;
}

.nav-link.active {
    color: #21395d !important;
    font-weight: bold;
}