﻿/* VARIAVEIS ******************************************************************/

:root {
    --circle-size: clamp(1.5rem, 5vw, 2.7rem);
    --spacing: clamp(0.25rem, 2vw, 0.5rem);    
}

/* ACESSO *********************************************************************/

.seed-bg-size {
    background-size: 100% 100%;
}

body {
}

.page-loader {
    z-index: 999999 !important;
}

.app-header {
    background-color: var(--bs-app-bg-color) !important;
}

.app-sidebar-logo > a {
    text-align: center;
    height: 70px;
    display: inline-block;
    width: 200px;
    padding: 8px;
}

.app-sidebar-logo > a > img {
    object-fit: cover;
    width: 90%;
    height: 100%;
}


/* TOOL TIP *******************************************************************/
[data-bs-toggle] {
    cursor: pointer;
}

div.tooltip {
    z-index: 999998 !important;
}

    div.tooltip > div.tooltip-inner::before {
        content: "";
        width: 0px;
        height: 0px;
        position: absolute;        
    }

    div.tooltip[data-popper-placement='left'] {        
        padding-right: 10px;
    }

        div.tooltip[data-popper-placement='left'] > div.tooltip-inner::before {
            border: 15px solid transparent;
            border-left-color: #f1f1f1;
            border-right-width: 0;
            right: -4px;
            top: 25%;
        }

    div.tooltip[data-popper-placement='right'] {
        padding-left: 10px;
    }

        div.tooltip[data-popper-placement='right'] > div.tooltip-inner::before {
            border: 15px solid transparent;
            border-right-color: #f1f1f1;
            border-left-width: 0;
            left: -4px;
            top: 25%;
        }

div.tooltip-inner {
    background: #f1f1f1;
    color: #666;
    font-size: 0.85rem;
    font-weight: 700;
    border: solid 1px #e9e9e9;
    border-right: solid 1px transparent;
    border-left: solid 1px transparent;
    box-shadow: 0px 2px 2px #CCC !important;
}

/* SEED LISTA *****************************************************************/
.badge.badge-sm.badge-circle {
    width: 1.2rem !important;
    height: 1.2rem !important;
}

.badge.badge-sm {
    min-width: 1.2rem !important;
    font-size: 0.8rem;
}

.container-xxl {
    max-width: calc(100% - 0px)!important;
}

.seed-lista-accordion {
    
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23071437'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");    
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233E97FF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

    .seed-lista-accordion > tbody td.dtr-control:before {
        -webkit-mask-image: var(--bs-accordion-btn-icon) !important;
        mask-image: var(--bs-accordion-btn-icon) !important;
        height: 1.5rem!important;
    }

    .seed-lista-accordion > tbody tr.parent td.dtr-control:before {
        -webkit-mask-image: var(--bs-accordion-btn-active-icon) !important;
        mask-image: var(--bs-accordion-btn-active-icon) !important;
        transform: var(--bs-accordion-btn-icon-transform) !important;        
    }

.seed-lista-accordion > tbody td.child .dtr-details {
    width: 100%;
}

.seed-lista-accordion > tbody td.child .dtr-title {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
}

.seed-lista-accordion > tbody td.child .dtr-data {
    width: 100%;
}

.seed-lista-accordion > tbody td.child table {
    width: 100%;
}

[data-ordem] {
    cursor: pointer!important;
}

.seed-pointer {
    cursor: pointer !important;
}

.seed-lista > tfoot > tr > td {
    width: 0 !important;
    max-width: 0 !important;
}

/* SEED FORMULARIO ************************************************************/
.row > div {
    margin-bottom: 8px;
}

.seed-disabled {
    background-color: #DCE0E3 !important;
    color: var(--bs-gray-700) !important;
    font-weight: 700 !important;
}

.validacao-false {
    border: 1px solid #f44336 !important;
}

.input-group{
    width:auto;
}

input:not([type="radio"], [type="checkbox"]),select,textarea {
    background-color: #F1F4F7 !important;
    color:black;
}

span.form-select-solid {
    background-color: #F1F4F7 !important;
    border-color: #DBDFE9;
}

.txt-calendario {
    border-right: 0 none !important;
}

.btn-calendario {
    cursor: pointer;
    background-color: #f1f1f2;
    border-left: 0 none !important;
}

.seed-fefeedback {
    display: block;
    margin-bottom: -20px;
    margin-top: 4px;
    color: #777;
    font-size: 0.85rem;
    font-family: calibri;
}

.seed-feedback-required {
    color: #dc3545;
    /*font-weight: bold;*/
}

/* SEED OPTION (INPUT RADIO) **************************************************/

.seed-option {
    display: flex;
    overflow: hidden;
    background-color: var(--bs-gray-200);
    border-radius: 25px;
    width:50%;
    margin:0 auto;
}
    .seed-option > input {
        position: absolute !important;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        width: 1px;
        border: 0;
        overflow: hidden;
    }

    .seed-option > label {
        background-color: var(--bs-gray-200);
        color: var(--bs-gray-700);
        font-size: 14px;
        line-height: 1;
        text-align: center;
        padding: 8px 16px;        
        border-radius: 25px;
        width: calc(50% - 1px);
        transition: all 0.1s ease-in-out;
    }
    .seed-option > label:hover {
        cursor: pointer;
    }

    .seed-option > input:checked + label {
        background-color: var(--bs-primary);
        color: var(--bs-white);
    }

.seed-option-disable {
    pointer-events: none!important
}

    .seed-option-disable > input:checked + label {
        background-color: var(--bs-gray-300);
        color: var(--bs-gray-700);        
        font-weight: 700;
    }

/* SEED STEPPER (TABS) ********************************************************/
.seed-stepper {
    margin-top: 12px;
    display: block !important;
}

.seed-stepper-lista {
    display: flex;
}

.seed-stepper-itens {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.seed-stepper-texto > span {
    display: none;
}

.seed-stepper-itens:not(:last-child):after {
    content: "";
    position: relative;
    top: calc(var(--circle-size) / 2);
    width: calc(100% - var(--circle-size) - calc(var(--spacing) * 2));
    left: calc(50% + calc(var(--circle-size) / 2 + var(--spacing)));
    height: 3px;
    background-color: #e0e0e0;
    order: -1;
}

.seed-stepper-links.active > div.seed-stepper-icone {
    background-color: #3E97FF!important;
}

.seed-stepper-links.active > div.seed-stepper-icone > i {
    color: #FFFFFF !important;
}

.seed-stepper-links.check > div.seed-stepper-icone {
    background-color: #3E97FF !important;
}

    .seed-stepper-links.check > div.seed-stepper-icone > i {
        color: #FFFFFF !important;
    }

.seed-stepper-links.active > div.seed-stepper-texto > h3 {
    color: #3E97FF !important;
}

.seed-stepper-validacao.active > div.seed-stepper-icone {
    background-color: var(--bs-danger) !important;
}

.seed-stepper-validacao.active > div.seed-stepper-texto > h3 {
    color: var(--bs-gray-800) !important;
}

.seed-stepper-validacao > div.seed-stepper-icone {
    background-color: var(--bs-danger) !important;
}

.seed-stepper-validacao > div.seed-stepper-icone > i {
    color: #FFFFFF !important;
}

.seed-stepper-validacao > div.seed-stepper-texto > h3 {
    color: var(--bs-gray-800) !important;
}

.seed-stepper-validacao > div.seed-stepper-texto > span.active {
    display: block;
}

.seed-stepper-icone {
    width: var(--circle-size);
    height: var(--circle-size);
    margin: 0 auto !important;
    border-radius: 25px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seed-stepper-texto {
    padding:8px 0;
}

.seed-stepper-conteudo > .seed-stepper-tab {
    display: none;
}

.seed-stepper-conteudo > .active {
    display: block;
}



/* SEED STEPPER ***************************************************************/
.seed-stepper-nav {
    display: block !important;
}

    .seed-stepper-nav:before {
        position: absolute;
        content: " ";
        height: 4px;
        background-color: #ccc;
        z-index: 0;
    }

.seed-stepper-item {
    display: block !important;
    text-align: center !important;
    position: relative !important;
}

.seed-stepper-icon {
    margin: 0 auto !important;
    border-radius: 25px !important;
}

.seed-stepper-title {
    margin: 0 !important;
    padding: 8px 0 0 0 !important;
    font-size: 1rem !important;
}


/* SEED SWITCH ****************************************************************/
.seed-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .seed-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.seed-slider {
    position: absolute;
    cursor: pointer;
    top: 4px;
    left: 0px;
    right: 8px;
    bottom: 4px;
    background-color: #ccc;
    -webkit-transition: .3s;
    transition: .3s;
}

.seed-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 0px;
    bottom: -4px;
    background-color: white;
    -webkit-transition: .3s;
    transition: .3s;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.seed-switch input:checked + .seed-slider {
    background-color: #2196F3;
}

.seed-switch-disabled input:checked + .seed-slider {
    background-color: #ccc !important;
}

.seed-switch input:focus + .seed-slider {
    box-shadow: 0 0 1px #2196F3;
}

.seed-switch input:checked + .seed-slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

.seed-slider.round {
    border-radius: 34px;
}

    .seed-slider.round:before {
        border-radius: 50%;
    }

.seed-slider .fa-ban {
    position: absolute;
    left: 4px;
    top: 0px;
    color: #f1416c;
}

.seed-slider .fa-check {
    position: absolute;
    right: 4px;
    top: 0px;
    color: #2195f1;
}

/* SEED ALERTAS ***************************************************************/
#painel-alerta.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 999999 !important;
}

.seed-alerta {
    position: fixed;
    width: 405px !important;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    padding: 20px 12px 20px 16px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index:999998!important;
}

    .seed-alerta.active {
        transform: translateX(0%);
    }


.seed-alerta-content {
    display: flex;
    align-items: center;
}

.seed-alerta-content i {
    display: flex;
    align-items: center;
}

.seed-alerta-message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

    .seed-alerta-message .text {
        font-size: 14px;
        font-weight: 400;        
    }
        .seed-alerta-message .text.text-1 {
            font-weight: 600;            
        }

.seed-alerta-close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}

.seed-alerta-close:hover {
    opacity: 1;
}

.seed-alerta-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #ddd;
}

.seed-alerta-progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #4070f4;
}

.seed-alerta-progress.active:before {
    animation: progress 5s linear forwards;
}

.seed-bg-warning {
    background-color: #fff6eb !important;
}

.seed-text-warning {
    color: #ff8e00 !important;
}


/* SEED CONFIGURAÇÃO **********************************************************/
.seed-btn-config {
    border-top: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.15)
}

.seed-dialer button 
{
    max-height:34.81px!important;
}

.seed-dialer span {
    background-color: #f1f1f2 !important;
    width: 40%;
    max-height: 34.81px !important;
    border-top-color: #dbdfe9 !important;
    border-bottom-color: #dbdfe9 !important;
}

.seed-dialer input[type="text"] {
    text-align: right;
    max-width: 34%;
    max-height: 34.81px !important;
    border-top-color: #dbdfe9 !important;
    border-bottom-color: #dbdfe9 !important;
}

.seed-config-img div.image-input {
    border: 3px dashed #c1c1c1;    
}

.seed-config-img div.image-input-changed {
    border: 3px solid #c1c1c1!important;
}

.seed-config-img div.image-input-wrapper {
    border-radius: 0 !important;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center !important;
}

.seed-config-img div.seed-config-img-empty {
    font-family: 'Poppins', sans-serif;
}

.seed-config-img span.seed-config-img-text {
    font-size: 18px;
    font-weight: 500;
    color: #34495e;
}

.seed-config-img span.seed-config-img-exts {
    font-size: 12px;
    color: gray;
    margin: 15px 0;
}

.seed-file {
    height: 25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px dashed #c1c1c1;
    border-radius: 2%;
}
/* Icons Customization *********************************************************/

i.fa.fa-info-circle {
    color: dodgerblue;
}

/* SEED DRAG DROP UPLOAD ******************************************************/
.seed-drag-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 3px dashed #c1c1c1;
    margin-bottom: -20px;
    padding: 12px 0;
    border-radius: 0.475rem;
    min-height: 125px;
}

.seed-drag-area.active {
    border: 2px solid #1683ff;
}

.seed-drag-button {                
    cursor: pointer;
}

.seed-drag-remove {
    border-left: 3px solid #4B5675;
    padding: 0 4px 0 8px;
    cursor: pointer;
}

.seed-drag-download {
    border-left: 3px solid #4B5675;
    padding: 0 4px 0 8px;
    cursor: pointer;
}

.seed-drag-on {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.seed-drag-off {
    display:none;
}

.seed-drag-remove-img {
    position: absolute;
    right: 10px;
    bottom: 2px;
    border-radius: 50%;
    background-color: #fff;
}

.seed-drag-remove-logo {    
    right: -8px!important;
    bottom: -16px!important;    
}

/* SEED TABS **********************************************************************/

#seed-tabs ul {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 0;
    margin: 0;
}

#seed-tabs ul li {
    list-style: none;
    margin: 0;
}

#seed-tabs ul li a {
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    color: #666;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

#seed-tabs ul li a:hover {
    color: #000;
}

#seed-tabs ul li.ui-tabs-active a {
    color: #4182da;
    border-bottom: 3px solid #007bff; /* Cor do indicador ativo */
}

/* SEED - Regista - Visualizar Dados de Informação Aluno ******************************************/
#secaoInformacaoAluno .icon, #secaoDadosEscolares .icon, #secaoContatosDeReferencia .icon {
    width: 30px;
    min-width: 28px;
    max-width: 32px;
}

@keyframes progress {
    100% {
            right: 100%;
        }
    }
    /* SEED MEDIA QUERIES *********************************************************/
    @media (min-width: 576px) {
        .stepper-nav:before {
            top: 0;
            width: 0;
            left: 0;
        }
    }

    @media (min-width: 768px) {
        .stepper-nav:before {
            top: 100px;
            width: calc(100% - 208px);
            left: 104px;
        }
    }

    @media (min-width: 992px) {
        .stepper-nav:before {
            top: 108px;
            width: calc(100% - 308px);
            left: 154px;
        }
    }


@media (min-width: 576px) {
    .seed-stepper:before {
        top: 0;
        width: 0;
        left: 0;
    }
}

@media (min-width: 768px) {
    .seed-stepper:before {
        top: 100px;
        width: calc(100% - 208px);
        left: 104px;
    }
}

@media (min-width: 992px) {
    .seed-stepper:before {
        top: 108px;
        width: calc(100% - 308px);
        left: 154px;
    }
}