@charset "UTF-8";

:root {
    --background-color-default: #F0F0F0;
    --md-sys-color-primary: #611df2;
    --cinza2: #7C7C82;
    --muted: #d9d9d9;
    --success-color: #07d962;
    --md-sys-color-error: #d90707;
    --md-sys-color-warning: #FFC107;
}

*:not(md-icon, md-dialog) {
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', serif;
    --md-outlined-text-field-input-text-font: 'Poppins', serif;
    --md-outlined-text-field-label-text-font: 'Poppins', serif;
    --md-outlined-select-text-field-input-text-font: 'Poppins', serif;
}


body {
    background-color: #F0F0F0;
    background-image: none;
}

body.modal-open {
    overflow: hidden;
}

body > div#container {
    display: flex;

    @media (min-width: 767px) {
        main {
            margin-left: 250px;
        }
    }
}

main {
    flex: 1;
    padding: 40px;
    min-height: 100vh;
}

.btn-danger {
    --md-filled-button-container-color: var(--md-sys-color-error);
    --md-filled-icon-button-container-color: var(--md-sys-color-error);
}

.btn-success {
    --md-filled-button-container-color: var(--success-color);
    --md-filled-icon-button-container-color: var(--success-color);
}

.tabs {
    margin-top: 70px;
    .tab-menu {
        border-bottom: 2px solid var(--cinza2);
        .tab-menu-buttons {
             all: unset;
             cursor: pointer;
             position: relative;
             min-height: 42px;
             padding: 5px 20px;
             border-radius: 25px 25px 0 0;
             color: var(--cinza2);
        }
        .active {
            background-color: var(--md-sys-color-primary);
            color: #fff;
        }
    }
}

.table {
    /* width: 100%;     */
    border-spacing: 0  0.5rem; 
    
    tbody tr td {
        border-top: 1px solid #CAC4D0;
        border-bottom: 1px solid #CAC4D0;
    }

    tbody tr td:first-child {
        border-left: 1px solid #CAC4D0;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }
    
    tbody tr td:last-child {
        border-right: 1px solid #CAC4D0;
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    th {
        width: 100%;
        white-space: nowrap;
    }

    th, td {
        padding: 1rem;
    }

    th.control, td.control {
        width: 20px;
    }
    th.acoes, td.acoes {
        min-width: 100px;
    }

    .acoes {
        display: flex;
        justify-content: center;
        gap: 8px;
    }
}

.accordion {
    overflow: hidden;

    .accordion-header {
        cursor: pointer;

        md-icon {
            transition: transform 0.3s ease-out;
        }
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
}

.modal-full {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background-color-default);
    z-index: 101;
    overflow: hidden;
    flex-direction: column;
}

.modal-full.open {
    display: flex;
}

.modal-header {
    background-color: #fff;
    width: 100%;
    position: relative;
    padding: 16px;

    #close_modal {
        position: absolute;
    }

    h2 {
        text-align: center;
    }
}

.modal-body {
    overflow: hidden;
    flex: 1;
}

.modal-content {
    width: 100%;
    height: calc(100vh - 134px);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-footer {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}
/* Font Poppins */

.poppins-light {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-light-italic {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-semibold-italic {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: italic;
  }


/* Cores */
.bg-white {
    background-color: white;
}
.bg-black {
    background-color: black;
}
.bg-primary {
    background-color: #611df2;
}
.bg-success {
    background-color: #07D962;
}

.cor-btn-success {
    background-color: var(--success-color);
    --md-filled-button-container-color: var(--success-color);
}


/* Display */
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
.d-grid {
    display: grid;
}
.d-inline-block {
    display: inline-block;
}
.d-flex {
    display: flex !important;
}
.flex-1 {
    flex: 1;
}
.flex-2 {
    flex: 2;
}
.flex-3 {
    flex: 3;
}
.items-center, .align-items-center {
    align-items: center;
}
.justify-center, .justify-content-center {
    justify-content: center;
}
.justify-end, .justify-content-end {
    justify-content: end;
}
.justify-between, .justify-content-between {
    justify-content: space-between;
}
.flex-column {
    flex-direction: column;
}
.gap-1 {
    gap: 2px;
}
.gap-2 {
    gap: 4px;
}
.gap-2 {
    gap: 6px;
}
.gap-4 {
    gap: 8px;
}
.gap-5 {
    gap: 10px;
}
.gap-6 {
    gap: 12px;
}
.gap-7 {
    gap: 14px;
}
.gap-8 {
    gap: 16px;
}
.gap-9 {
    gap: 18px;
}
.gap-10 {
    gap: 20px;
}
.gap-20 {
    gap: 60px;
}
.gap-1rem {
    gap: 1rem;
}


/* Tamanhos */
.w-10 {
    width: 10%;
}
.w-20 {
    width: 20%;
}
.w-30 {
    width: 30%;
}
.w-40 {
    width: 40%;
}
.w-50 {
    width: 50%;
}
.w-60 {
    width: 60%;
}
.w-70 {
    width: 70%;
}
.w-80 {
    width: 80%;
}
.w-90 {
    width: 90%;
}
.w-100, .w-full {
    width: 100%;
}

.h-100vh, .h-full {
    height: 100vh;
}
.w-100vw {
    width: 100vw;
}

.w-100px {
    width: 100px !important;
}

.w-125px {
width: 125px !important;
}

.w-150px {
width: 150px !important;
}

.w-175px {
width: 175px !important;
}

.w-200px {
width: 200px !important;
}

.h-100 {
    height: 100% !important;
  }
  
.h-auto {
height: auto !important;
}

.h-100px {
    height: 100px !important;
}
  
.h-125px {
height: 125px !important;
}

.h-150px {
height: 150px !important;
}

.h-175px {
height: 175px !important;
}

.h-200px {
height: 200px !important;
}




/* Margens */
.m-0 {
    margin: 0;
}
.mx-auto {
    margin: 0 auto;
}
.mt-auto {
    margin-top: auto;
}
.mr-auto {
    margin-right: auto;
}
.ml-2 {
    margin-left: 4px;
}
.my-4 {
    margin: 8px 0;
}
.mt-4 {
    margin-top: 8px;
}
.ml-4 {
    margin-left: 8px;
}
.mb-4 {
    margin-bottom: 8px;
}
.mx-8 {
    margin: 0 16px;
}
.mt-8 {
    margin-top: 16px;
}
.ml-8 {
    margin-left: 16px;
}
.mr-8 {
    margin-right: 16px;
}
.mb-8 {
    margin-bottom: 16px;
}
.mt-12 {
    margin-top: 28px;
}

.mb-12 {
    margin-bottom: 28px;
}
.mt-14 {
    margin-top: 36px;
}
.mt-16 {
    margin-top: 44px;
}
.mb-16 {
    margin-bottom: 44px;
}
.mt-20 {
    margin-top: 60px;
}
.mb-20 {
    margin-bottom: 60px;
}
.mr-20 {
    margin-right: 60px;
}
.my-20 {
    margin: 60px 0;
}

/* Paddings */
.p-0 {
    padding: 0;
}
.p-2 {
    padding: 2px;
}
.p-4 {
    padding: 8px;
}
.p-6 {
    padding: 12px;
}
.p-8 {
    padding: 16px;
}
.p-10 {
    padding: 20px;
}
.pt-10 {
    padding-top: 20px;
}


/* Posições */
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.fixed {
    position: fixed;
}
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}
.absolute-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}
.t-0, .top-0 {
    top: 0;
}
.l-0, .left-0 {
    left: 0;
}
.b-0, .bottom-0 {
    bottom: 0;
}
.r-0, .right-0 {
    right: 0;
}
.r-8, .right-8 {
    right: 16px;
}


/* Tipografia */
.text-muted {
    color: #aaa;
}
.text-black {
    color: black;
}
.text-white {
    color: white;
}
.fw-lighter {
    font-weight: lighter;
}
.fw-bold {
    font-weight: bold;
}
.text-center {
    text-align: center;
}
.fs-1x {
    font-size: 30pt;
}
.fs-2x {
    font-size: 40pt;
}
.fs-1 {
    font-size: 20pt;
}
.fs-2 {
    font-size: 18pt;
}
.fs-4 {
    font-size: 14pt;
}
.fs-6 {
    font-size: 12pt;
}
.fs-8 {
    font-size: 8pt;
}
.fs-xl-4 {
    font-size: 14pt;
}

/* Outros */
.rounded-circle {
    border-radius: 50%;
}

.border-radius-1rem {
    border-radius: 1rem;
}
.rounded {
    border-radius: 8px;
}
.cursor-pointer, .pointer {
    cursor: pointer;
}
.opacity-0 {
    opacity: 0;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-top-color: #6200ee;
    animation: spin 1s ease-in-out infinite;
}
md-linear-progress {
  --md-linear-progress-track-height: 9px;
  --md-linear-progress-track-shape: 9px;
  --md-linear-progress-active-indicator-height: 9px;
  --md-sys-color-primary: #07D962;
  --md-sys-color-surface-container-highest: #d9d9d9;
  border-radius: 16px;
}

.pagination {
    display: flex;
    justify-content: center;

    .step-links {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}


/* overflows */
.overflow-y-auto {
    overflow-y: auto;
}
.overflow-hidden {
    overflow: hidden;
}


/* Breakpoints para MD */
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
    .d-md-grid {
        display: grid !important;
    }
    .d-md-flex {
        display: flex !important;
    }
    .flex-md-column {
        flex-direction: column !important;
    }
    .flex-md-column-reverse {
        flex-direction: column-reverse !important;
    }
    .align-items-md-stretch {
        align-items: stretch !important;
    }
    .gap-md-1 {
        gap: 2px; !important;
    }
    .gap-md-2 {
        gap: 4px; !important;
    }
    .gap-md-2 {
        gap: 6px; !important;
    }
    .gap-md-4 {
        gap: 8px; !important;
    }
    .gap-md-5 {
        gap: 10px !important;
    }
    .gap-md-6 {
        gap: 12px !important;
    }
    .gap-md-7 {
        gap: 14px !important;
    }
    .gap-md-8 {
        gap: 16px !important;
    }
    .gap-md-9 {
        gap: 18px !important;
    }
    .gap-md-10 {
        gap: 20px; !important;
    }

    .h-md-100px {
        height: 100px !important;
    }
    .w-md-200px {
        width: 200px !important;
    }
    .w-md-300px {
        width: 300px !important;
    }

    .p-md-8 {
        padding: 16px !important;
    }
}


/* z-index */
.z-index-20 {
    z-index: 20;
}

.disabled-img {
    filter: grayscale(100%);
}


/* Badges */
.badge {
    padding-inline: .75rem;
    border-radius: 6.25rem;
    padding-top: 6px;
    padding-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    span {
        font-size: 8pt;
        color: #fff;
    }
}

.badge-realizado {
    color: white;
    background: #07d962;
}

.badge-em-espera {
    color: white;
    background: #222226;
}

.badge-primary {
    color: #fff;
    background-color: var(--md-sys-color-primary);    
}

.badge-success {
    color: #fff;
    background-color: var(--success-color);
}

.badge-danger {
    color: #fff;
    background-color: var(--md-sys-color-error);
}

.badge-warning {
    color: #212529;
    background-color: var(--md-sys-color-warning);
}
