:root {
    --border-radius-main: 8px;
}

/* Folosește variabila oriunde ai nevoie */
.container {
    border-radius: var(--border-radius-main);
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
    background-color: rgb(250, 250, 250);
    padding: 1rem 1rem;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100dvh;
    margin: 0 auto;
}

/* @media screen and (max-width: 560px) { */
@media screen and (max-width: 1080px) {
    body {
        padding: 1rem 1rem;
    }

    /* header {
        flex-direction: column;
        align-items: center;
    } */

    .vsg-btn {
        height: 50px;
    }

    input,
    textarea,
    select {
        height: 50px;
        caret-color: transparent;
    }
}

.container {
    background-color: rgb(255, 255, 255);
    /* border: 1px solid rgba(9,9,11,.1); */
    border-radius: var(--border-radius-main);
    box-shadow: 0px 0px 0px 1px rgba(9, 9, 11, .07), 0px 2px 2px 0px rgba(9, 9, 11, .05);
    padding: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.vsg-btn,
button,
input::file-selector-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(9, 9, 11, 0.9);
    color: rgb(255, 255, 255);
    padding: 6px 11px;
    min-height: 40px;
    outline: none;
    border: 1px solid rgba(9, 9, 11, 0.9);
    box-shadow: inset 0 1px hsla(0, 0%, 100%, .15);
    border-radius: var(--border-radius-main);
    isolation: isolate;
    text-decoration: none;
    cursor: pointer;
}

.vsg-btn.huge {
    height: 100px;
}

.vsg-btn:hover {
    background-color: rgba(9, 9, 11, 0.85);
}


.vsg-btn-light {
    background-color: rgb(255, 255, 255);
    /* background-color: rgb(250, 250, 250); */
    border-color: rgba(9, 9, 11, .1);
    color: rgb(9, 9, 11);

}

.vsg-btn-light:hover {
    background-color: rgba(9, 9, 11, .1);
}

.vsg-btn-danger {
    background-color: rgb(224, 60, 60);
    border-color: rgba(190, 32, 32, .8);
}

.vsg-btn-danger:hover {
    background-color: rgba(224, 60, 60, 0.9);
}

.vsg-btn-warning {
    background-color: rgba(245, 158, 11, .8);
    border-color: rgba(245, 158, 11, .8);
    color: rgb(69 26 3);
}

.vsg-btn-warning:hover {
    background-color: rgba(245, 158, 11, .7);
}

.vsg-btn-success {
    background-color: rgba(21, 128, 61, .9);
    border-color: rgba(21, 128, 61, .9);
}

.vsg-btn-success:hover {
    background-color: rgba(21, 128, 61, .8);
}
.vsg-btn-info {
    background-color: rgba(21, 48, 128, 0.9);
    border-color: rgba(21, 48, 128, 0.9);
}

.vsg-btn-info:hover {
    background-color: rgba(21, 48, 128, 0.8);
}

.vsg-btn-outline {
    --btn-rgb: 9, 9, 11;
    background-color: #fff;
    color: rgb(var(--btn-rgb));
    border-color: rgba(var(--btn-rgb), .25);
    box-shadow: none;
}

.vsg-btn-outline:hover {
    background-color: rgba(var(--btn-rgb), .06);
    border-color: rgba(var(--btn-rgb), .35);
}

/* Color variants */
.vsg-btn-outline.vsg-btn-outline-info { --btn-rgb: 21, 48, 128; }
.vsg-btn-outline.vsg-btn-outline-success { --btn-rgb: 21, 128, 61; }
.vsg-btn-outline.vsg-btn-outline-warning { --btn-rgb: 245, 158, 11; }
.vsg-btn-outline.vsg-btn-outline-danger { --btn-rgb: 224, 60, 60; }

input,
textarea {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid rgba(9, 9, 11, .2);
    border-radius: var(--border-radius-main);
    padding: 8px 11px;
    width: fit-content;
    flex-grow: 1;
    width: 100%;
    min-height: 40px;
}

.input-icon {
    position: absolute;
    display: block;
    right: 8px;
    top: 0;
    font-size: 14px;
    height: 100%;

    transform: translateY(50%);
}

.fake-input {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid rgba(9, 9, 11, .1);
    border-radius: var(--border-radius-main);
    padding: 8px 11px;
    width: fit-content;
    flex-grow: 1;
    background-color: rgb(250, 250, 250);
    cursor: not-allowed;
    color: rgba(9, 9, 11, .5);
}

input:disabled,
.fake-input {
    background-color: rgb(250, 250, 250);
    cursor: not-allowed;
}

input.is-invalid,
textarea.is-invalid {
    border-color: rgba(245, 101, 101, 1);
}

.invalid-feedback {
    color: rgba(245, 101, 101, 1);
    font-size: 14px;
    font-style: italic;
}

select {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid rgba(9, 9, 11, .1);
    border-radius: var(--border-radius-main);
    padding: 6px 11px;
    color: rgb(9, 9, 11);
    background-color: rgb(250, 250, 250);
    min-height: 40px;
}

select:hover {
    border-color: rgba(9, 9, 11, .2);
}


header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: space-between;
    padding: 1rem;
    align-items: center;
    /* padding: 1rem 15vw; */
    background-color: rgb(255, 255, 255);
    border-radius: var(--border-radius-main);
    box-shadow: 0px 0px 0px 1px rgba(9, 9, 11, .07), 0px 2px 2px 0px rgba(9, 9, 11, .05);
    gap: 8px;
}

header .vsg-btn {
    width: fit-content;
}

header> *:first-child {
    justify-self: start;
}

header> *:last-child {
    justify-self: end;
}



/* table {
    border: 1px solid rgba(9,9,11,.1);
    border-radius: 8px;
    padding: .5rem;
} */

table {
    border-collapse: collapse;
}

th,
td {
    font-size: 14px;
    border-bottom: 1px solid rgba(9, 9, 11, .1);
    padding: 8px;
    color: rgb(113 113 122);
    text-align: left;
}

/* tbody tr:nth-child(even) {
    background-color: rgb(250, 250, 250);
} */

.badge {
    width: fit-content;
    padding: 5px 11px;
    border-radius: var(--border-radius-main);
    font-weight: 600;
    text-align: center;
}

.badge.small {
    font-size: 12px;
    padding: 0px 8px;
}

.badge.green {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge.yellow {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.badge.blue {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge.red {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

tr:last-child>th,
tr:last-child>td {
    padding-top: 16px;
    border-bottom: none;
}

.clickMenu {
    position: relative;
    width: fit-content;

}

.clickMenuBody {
    z-index: 25;
    display: none;
    position: absolute;
    top: 50%;
    right: calc(100% + 8px);
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    padding: 6px;
    border-radius: var(--border-radius-main);
    width: fit-content;
    color: rgb(9, 9, 11);
    border: 1px solid rgba(9, 9, 11, .1);
    transform: translateY(-50%);
}

.clickMenuBody .clickMenuItem {
    font-size: 14px;
    font-weight: 400;
    font-family: Inter;
    outline: none;
    border: none;
    padding: 8px 12px;
    border-radius: var(--border-radius-main);
    background-color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    color: black;
}

.clickMenuItem * {
    z-index: 99;
}

.clickMenuItem:hover,
.clickMenuItem:hover>i {
    background-color: #3b82f6;
    color: white;
}

.clickMenu.active .clickMenuBody {
    display: flex;
}

.color-green {
    color: green;
}




.successAlert,
.failedAlert {
    display: flex;
    font-weight: 600;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: var(--border-radius-main);
    padding: 1.3rem 2rem;
}

.failedAlert {
    background-color: #e7d5d1;
    color: #36140a;
    border: 1px solid rgb(207, 172, 163);
}

.successAlert {
    background-color: #d1e7dd;
    color: #0a3622;
    border: 1px solid rgb(163, 207, 187);
}

.successAlert #closeIcon {
    cursor: pointer;
}

.sticky-bottom {
    background-color: white;
    position: sticky;
    bottom: 0;
    z-index: +1;
}

.sticky-top {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: +1;
}

.text-muted {
    color: rgb(152, 152, 164)
}

#close-icon {
    width: 50px;
    height: 50px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

input:focus::placeholder {
    color: transparent;
}

input[type="checkbox"] {
    flex-grow: 0;
    width: fit-content;
}

.checkbox-chip {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.color-green {
    color: rgb(0, 130, 53);
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}