@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');
@import "../../Zaddons/BlazorComponents/site.css";
@import "./colors.css";

html, body {
    font-family: "SF Pro Display", "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #F9FAFC;
}

hr {
    width: 100%;
}

a, .btn-link {
    color: var(--B400);
}

.btn-primary {
    color: #fff;
    background-color: var(--B400);
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.body ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-color);
    border: 2px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border-radius: 3px;
}

.dropdown-menu.dropdown-menu-scrollable {
    overflow-x: hidden;
    overflow-y: auto;
}


.main {
    display: block;
    min-width: fit-content;
    height: 100%;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}


/*
    CreateAbsenceQuotaEntry
*/

.quota-radio-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.quota-radio-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    border: 1px solid var(--N100);
    background-color: #FFFFFF;
    color: var(--N600);
    border-radius: 4px;
    padding: 0 16px;
}

.quota-radio-button-selected {
    border: 1px solid var(--B500);
    background-color: var(--B50);
    color: var(--N900);
}

.daily-quota-input {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 14%;
}

.weekly-quota-input-wrapper {
    text-align: center;
    width: 25%;
}

.daily-quota-input-wrapper {
    display: flex;
    justify-items: flex-start;
    gap: 10px;
}

.exception-rules .max-allowed-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exception-rules .max-allowed-input-wrapper span {
    display: flex;
    align-items: center;
}

.exception-rules .max-allowed-input-wrapper .b-numeric {
    width: 60px;
    margin-left: 15px;
}

.exception-rules .rule-list-wrapper .list-item-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.exception-rules .rule-list-wrapper .job-location-list {
    list-style-type: none;
    padding: 10px;
}

.exception-rules .rule-list-wrapper .list-item-right-section {
    display: flex;
    align-items: baseline;
}

.exception-rules .rule-list-wrapper .list-item-right-section button {
    margin-left: 25px;
    border-radius: 50%;
}

.exception-rules .rule-list-wrapper .list-item-right-section .btn:hover {
    background-color: var(--B50);
    border-radius: 50%;
}

.exception-rules .rule-list-wrapper .list-item-right-section span {
    border-radius: 5px;
    border: 1px solid var(--N500);
    padding: 5px 15px;
    text-align: center;
}


.placeholder-text {
    color: #8f95b2;
}

/*    Utilities   */

.ml-auto {
    margin-left: auto;
}

.disclaimer {
    font-size: 0.9em;
    color: var(--N700);
}



