 input::-webkit-outer-spin-button,
 input::-webkit-inner-spin-button {
     -webkit-appearance: none;
     margin: 0;
 }

 .path-svg {
     fill: #6198cf;
 }

 .mini-button:hover path {
     fill: white;
 }

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

 hr {
     margin-top: 1rem !important;
     margin-bottom: 1rem !important;
     border-top: 3px solid #6198cf !important;
     box-sizing: content-box;
     height: 0 !important;
     overflow: visible !important;
     width: 99%;
 }

 .border {
     border-block-start: 2px solid #6198cf !important;
 }

 #nav-instituicao,
 #nav-id_unico_alunos,
 #nav-doc_id,
 #nav-cod_pais,
 #nav-cod_distrito,
 #nav-cod_conselho,
 #nav-codigo_uo,
 #nav-sistema {
     float: none !important;
 }

 .textarea-conf {
     width: 90%;
     height: 90px;
     resize: none;
 }

 #uo_codigo {
     width: 100% !important;
 }

 .select_margin_input {
     margin-top: 14px;
 }

 #turmas-select {
     margin-right: 20px !important;
 }

 .emptyTableDocSelect {
     height: 270px;
     text-align: center;
     font-size: 26px;
     cursor: context-menu;
 }

 .emptyTableDocSelect td {
     border-radius: 0px !important;
     background-color: white !important;
     cursor: context-menu !important;
 }

 #tadmins-body td {
     padding: 10px;
 }

 #table-teach-group tbody,
 #table-teach-group-selected tbody {
     padding: 10px !important;
     border: solid 1px #2d6fad;
 }

 #table-teach-group tr,
 #table-teach-group-selected tr {
     margin-left: 2.5%;
     width: 95%;
 }

 #information-area {
     height: 200px;
 }

 .wrapper-half {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 50% 50%;
 }

 .wrapper4-input {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 25% 15% 25% 25% 5%;
 }

 .wrapper-instituicao {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 90% 10%;
 }

 .wrapper-instituicao-gerir {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 60% 40%;
 }

 .wrapper-center {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr);
 }

 .wrapper-table-docencia {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 50% 50%;
 }

 .wrapper-docencia {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: minmax(115px, 640px) minmax(90px, 110px);
     align-items: end;
 }

 .wrapper-docencia > .box:last-child {
     display: flex;
     align-items: center;
     justify-content: center;
     padding-bottom: 0;
 }

 .wrapper-docencia .mini-button,
 .wrapper-int .mini-button {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     box-sizing: border-box;
     flex-shrink: 0;
     width: 48px;
     height: 48px;
     min-width: 48px;
     min-height: 48px;
     padding: 0;
     margin: 0;
     line-height: 0;
     border-radius: 50%;
     outline: none;
     cursor: pointer;
     background: white;
     border-color: #6198cf;
     border-width: medium;
     border-style: solid;
 }

 .wrapper-docencia .mini-button svg,
 .wrapper-int .mini-button svg {
     display: block;
     width: 24px;
     height: 24px;
     flex-shrink: 0;
 }

 .wrapper-docencia .mini-button:hover,
 .wrapper-int .mini-button:hover {
     color: white;
     background: #6198cf;
 }

 .wrapper-docencia .mini-button:hover svg path,
 .wrapper-int .mini-button:hover svg path {
     fill: white;
 }

 .wrapper-gerir-app {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 40% 60%;
 }

 .wrapper-switchlabel {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: minmax(115px, 640px) minmax(90px, 110px);
 }

 tbody {
     overflow: scroll;
     height: 400px;
 }

 .button-refresh {
     margin-right: 15px !important;
 }

 .wrapper2 {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 15% 15% 68%;
 }

 .box-a {
     padding-top: 20px !important;
 }

 .wrapper3 {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 30% 30% 10%;
 }

 .wrapper-reg {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 45% 45% 10%;
 }

 .tbody2 {
     height: auto;
 }

 .wrapper-alunos {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 45% 45% 10%;
 }

 .wrapper-int {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 60% 38%;
 }

 .wrapper-config {
     display: grid;
     grid-template-columns: 11.5% 13.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
 }

 .wrapper4 {
     display: grid;
     grid-template-columns: 20% 20% 45% 10%;
 }

 .wrapper5 {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: minmax(60px, 300px) minmax(60px, 400px) minmax(100px, 60px);
 }

 .wrapper4-small {
     display: grid;
     grid-gap: 10px;
     grid-template-columns: 25% 25% 25% 10%;
 }

 .div-config-input {
     margin-left: 20px;
 }

 .box {
     border-radius: 5px;
     padding: 10px;
 }

 .box-no-padding {
     padding: 0px;
 }

 .excel-button {
     outline: 0 !important;
     background: white;
     color: #6198cf;
     font-size: 14px;
     cursor: pointer;
     border-radius: 30px;
     font-weight: bold;
     border-color: #6198cf;
     border-width: medium;
     height: 45px;
     width: 75px;
     margin: 0px !important;
     margin-top: 20px;
     margin-right: 12.5px;
     margin-left: 12.5px;
     margin-bottom: 25px;
     float: right;
 }

 .grid-container {
     display: grid !important;
     grid-template-columns: 75% 25%;
     max-width: 50%;
     padding: 10px;
 }

 .grid-container-agrupamento {
     grid-template-columns: 1fr;
     max-width: 100%;
 }

 .grid-container>.switch {
     text-align: left;
     padding: 10px 0;
 }

 .instituicao-cargos-body {
     padding: 0.75rem 1rem 1rem;
 }

 .instituicao-cargos-toolbar {
     display: flex;
     justify-content: flex-end;
     margin-bottom: 0.75rem;
 }

 .instituicao-cargos-toolbar .button-refresh {
     margin-right: 0 !important;
 }

 .instituicao-cargos-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 0.75rem;
 }
 .instituicao-cargo-box {
     padding: 0.75rem 1rem;
     border: 1px solid #6198cf;
     border-radius: 8px;
     background-color: rgba(97, 152, 207, 0.08);
     text-align: center;
 }

 .instituicao-cargo-texto {
     display: block;
     color: #3d5a80;
     font-size: 0.95rem;
     line-height: 1.4;
 }

 .instituicao-cargos-vazio {
     margin: 0;
     padding: 0.5rem 0;
     text-align: center;
     color: #717fb3;
     font-style: italic;
 }

 .instituteAutoSelect {
     margin-left: 0px !important;
 }

 #applications-div {
     width: 100%;
 }


 #instituicao {
     width: 100% !important;
 }

 .btn-login {
     width: 30%;
     border: 2px solid;
     height: 50px;
     margin: 0px;
 }

 input[name="cod_docencia_text"] {
     width: 100% !important;
 }

 input[name="cod_instituicao_text"] {
     width: 100% !important;
 }

 textarea {
     height: 90px;
     padding: 10px;
     max-width: 100%;
     line-height: 1.5;
     border-radius: 5px;
     border: 1px solid #6198cf;
     box-shadow: 1px 1px 1px #999;
     vertical-align: middle;
     resize: none;
     width: 95%;
     min-width: 20%;
 }

 .divscroll {
     text-align: left;
     overflow-y: scroll;
     width: 92%;
     height: 300px;
     border: solid;
     margin-left: 30px;
     padding-top: 10px;
     color: rgba(0, 0, 0, 0);
 }

 #ou-oue {
     width: 100% !important;
 }

 .textarea-default {
     border-radius: 5px;
     resize: none;
     width: 100%;
     padding: 10px;
 }

 .espacamento {
     width: 100%;
     height: 20px;
     clear: both;
 }

 .espacamento-medium {
     width: 100%;
     height: 5px;
     clear: both;
 }

 .modal-aluno {
     min-height: 60%;
     max-width: 160%;
 }

 .espacamento-small {
     width: 100%;
     height: 0px;
     clear: both;
 }

 .form-input {
     display: block;
     width: 100% !important;
     height: 33px;
     padding: .375rem .75rem;
     font-size: medium;
     font-weight: 400;
     line-height: 1.5;
     color: rgb(28, 27, 27);
     background-color: rgb(244 250 251);
     background-clip: padding-box;
     border: 1px solid #ced4da;
     border-radius: .25rem;
     transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
 }

 @media screen and (max-width: 800px) {
     .wrapper2 {
         grid-template-columns: 35% 35% 25% !important;
     }

     .div-text {
         max-width: 100% !important;
     }

     .row {
         display: grid !important;
     }
 }

 @media screen and (max-width: 1600px) {
     .div-container-app {
         width: 95% !important;
     }
 }

 @media screen and (max-width: 1300px) {
     .div-app {
         width: 50% !important;
         margin-left: 0px !important;
         margin-right: 0% !important;
         padding-right: 0px !important;
     }

     .buttom-conf {
         position: initial !important;
     }

     .div-app {
         width: 100% !important;
         margin-left: 0px !important;
         margin-right: 0% !important;
         padding-right: 0px !important;
     }

     .form-input {
         max-width: 100% !important;
         margin-right: 0px;
         width: 100% !important;
     }

     .col-1,
     .col-2,
     .col-3,
     .col-4,
     .col-5,
     .col-6,
     .col-7,
     .col-8,
     .col-9,
     .col-10,
     .col-11,
     .col-md-1,
     .col-md-2,
     .col-md-3,
     .col-md-4,
     .col-md-5,
     .col-md-6,
     .col-md-7,
     .col-md-8,
     .col-md-9,
     .col-md-10,
     .col-md-11,
     .col-md-12 {
         max-width: 100%;
         margin-right: 0px;
         margin-top: 10px;
         width: 98%;
     }

     .mini-button {
         margin-left: 0%;
     }

     .col-md-3 {
         width: 27% !important;
     }

     .search-input {
         width: 100%;
     }

     .label {
         margin-right: 10px;
         width: 100%;
     }

     .form {
         /* height: 1030px;
        */
         margin-bottom: 40px;
         padding: 15px !important;
     }

     .image {
         width: 90px;
     }

     .button {
         margin-right: 20px;
     }

     .input-text {
         max-width: 98% !important;
     }

     .divform {
         padding: 20px;
     }

     .nav-item {
         font-size: 12px;
     }

     .div-aplication {
         text-align: center;
         width: 100%;
         justify-content: center;
         display: flex;
     }

     #barra {
         margin-top: 30px !important;
     }
 }

 .select_form {
     padding-top: 22px;
     padding-bottom: 0px;
 }

 @media screen and (max-width: 1000px) {
     label {
         font-size: 14px !important;
     }

     .custom-select {
         font-size: small;
     }

     .form-input {
         font-size: small;
     }

     thead tr th {
         font-size: 8px !important;
     }
 }

 .wrapper-close {
     display: grid;
     grid-template-columns: 1fr auto;
     align-items: center;
 }

 .modal-header-actions {
     display: flex;
     align-items: center;
     justify-content: flex-end;
     gap: 0.5rem;
 }

 /* Modal Gerir — alinhado ao look Registar */
 #myModal.modal-gerir-conta .modal-gerir-content {
     display: flex;
     flex-direction: column;
     width: 90% !important;
     max-width: 90vw;
     max-height: 92vh;
     margin: 3% auto;
     padding: 0;
     border: solid #b1ccd5;
     border-radius: 10px;
     overflow: hidden;
 }

 #myModal .modal-gerir-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 1rem 1.35rem;
     border-bottom: 1px solid #e8ecf2;
 }

 #myModal .modal-gerir-header h5 {
     margin: 0;
     color: #717fb3;
     font-weight: 600;
     font-size: 1.1rem;
 }

 #myModal .modal-action-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     box-sizing: border-box;
     width: 40px;
     height: 40px;
     min-width: 40px;
     min-height: 40px;
     padding: 0;
     margin: 0;
     float: none;
     background: #fff;
     border: 1px solid #d8dce8;
     border-radius: 8px;
     cursor: pointer;
     line-height: 1;
     opacity: 1;
     text-shadow: none;
     transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
 }

 #myModal .modal-action-btn:hover {
     background: #f8f9fc;
     border-color: #6198cf;
     box-shadow: 0 0 0 2px rgba(97, 152, 207, 0.12);
 }

 #myModal .modal-close-btn {
     font-size: 1.5rem;
     font-weight: 400;
     color: #717fb3 !important;
 }

 #myModal .modal-gerir-nav {
     padding: 0 1rem;
     background: #fff;
 }

 #myModal .modal-gerir-nav .nav-tabs {
     border-bottom: 2px solid #6198cf;
     margin-bottom: 0;
 }

 #myModal .modal-gerir-nav .nav-tabs .nav-link {
     color: #6198cf;
     border-color: #d8dce8 #d8dce8 transparent;
     font-weight: 500;
 }

 #myModal .modal-gerir-nav .nav-tabs .nav-link:hover {
     color: #fff;
     background: #8bbde9;
     border-color: #8bbde9;
 }

 #myModal .modal-gerir-nav .nav-tabs .nav-link.active {
     color: #fff;
     background-color: #6198cf;
     border-color: #6198cf;
 }

 #myModal .modal-gerir-body.tab-content-modal {
     box-sizing: border-box;
     flex: 0 0 auto;
     height: 560px;
     min-height: 560px;
     max-height: 560px;
     padding: 1rem 1.35rem 0.75rem;
     overflow-x: hidden;
     overflow-y: auto;
 }

 #myModal .modal-gerir-body > .tab-pane.active {
     min-height: 100%;
     box-sizing: border-box;
 }

 #myModal .modal-gerir-perfil {
     display: block;
     width: 100%;
     min-height: calc(100% - 0.5rem);
     height: auto;
     background: #f8f9fc;
     border: 1px solid #e8ecf2;
     border-radius: 10px;
     padding: 1rem 1.35rem 0.5rem;
     margin-bottom: 0;
     box-sizing: border-box;
 }

 #myModal #nav-docencia .modal-gerir-panel.wrapper-table-docencia {
     min-height: calc(100% - 5.5rem);
     box-sizing: border-box;
 }

 #myModal #nav-aplicações .modal-gerir-aplicacoes {
     min-height: 100%;
     box-sizing: border-box;
 }

 #myModal .modal-gerir-perfil-grid {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     grid-auto-rows: min-content;
     align-content: start;
     gap: 0.15rem 1.75rem;
 }

 #myModal .modal-gerir-perfil .form__group.field {
     margin-top: 0;
     padding-top: 10px;
     margin-bottom: 0.85rem;
 }

 #myModal .modal-gerir-nic-row {
     display: flex;
     align-items: flex-end;
     gap: 0.35rem;
 }

 #myModal .modal-gerir-nic-row .form__field {
     flex: 1;
     min-width: 0;
 }

 #myModal .modal-gerir-nic-row .modal-gerir-nic-dc {
     flex: 0 0 4.5rem;
     max-width: 4.5rem;
 }

 #myModal .modal-gerir-nic-sep {
     color: #717fb3;
     padding-bottom: 0.35rem;
     line-height: 1;
 }

 #myModal .modal-gerir-panel {
     background: #f8f9fc;
     border: 1px solid #e8ecf2;
     border-radius: 10px;
     padding: 1rem 1.25rem;
 }

 #myModal .modal-gerir-aplicacoes .card {
     border: 1px solid #e8ecf2;
     border-radius: 8px;
     padding: 0.85rem 1rem;
     margin-bottom: 0.75rem;
     background: #fff;
 }

 #myModal .modal-gerir-aplicacoes .card h5 {
     color: #717fb3;
     font-size: 1rem;
     margin: 0 0 0.5rem;
 }

 .modal-gerir-footer {
     display: flex;
     flex-shrink: 0;
     flex-wrap: wrap;
     align-items: center;
     justify-content: center;
     gap: 1rem;
     padding: 0.85rem 1.35rem 1.25rem;
     border-top: 1px solid #e8ecf2;
     background: #fff;
 }

 .modal-menu .conta-perfil-footer {
     width: 100%;
     margin-top: 0.5rem;
     border-radius: 0 0 10px 10px;
     justify-content: center;
 }

 .modal-gerir-footer .modal-gerir-btn {
     display: inline-flex;
     flex-direction: row;
     align-items: center;
     justify-content: center;
     gap: 0.5rem;
     box-sizing: border-box;
     min-width: 180px;
     width: auto !important;
     height: 44px !important;
     min-height: 44px;
     max-height: 44px;
     padding: 0 1.5rem;
     margin: 0 !important;
     border-radius: 8px;
     border: 2px solid #6198cf;
     background: #fff;
     color: #6198cf;
     font-size: 14px;
     font-weight: 600;
     line-height: 1.2;
     white-space: nowrap;
     cursor: pointer;
     outline: 0;
 }

 .modal-gerir-footer .modal-gerir-btn:hover {
     background: #6198cf;
     color: #fff;
 }

 .modal-gerir-footer .modal-gerir-btn svg {
     display: block;
     width: 20px;
     height: 20px;
     flex-shrink: 0;
 }

 .modal-gerir-footer .modal-gerir-btn span {
     display: inline;
     font-size: 14px;
     font-weight: 600;
     line-height: 1.2;
     color: inherit;
 }

 #myModal .modal-conta-inactiva {
     margin: 0 1.35rem 1rem;
     max-width: none;
 }

 #myModal .modal-conta-inactiva p {
     margin: 0;
 }

 @media screen and (max-width: 768px) {
     #myModal .modal-gerir-perfil-grid {
         grid-template-columns: 1fr;
     }

     #myModal .modal-gerir-body.tab-content-modal {
         height: min(480px, calc(92vh - 11rem));
         min-height: min(480px, calc(92vh - 11rem));
         max-height: min(480px, calc(92vh - 11rem));
     }
 }

 @media screen and (max-width: 500px) {

     .grid-container{
         max-width: 80%!important;
     }


     .wrapper-gerir-app {
         grid-template-columns: 70% 20% !important;
     }

     .wrapper-instituicao-gerir {
         grid-template-columns: 56% 40% !important;
     }

     .table td,
     .table th {
         padding: 0px !important;
     }

     .wrapper-instituicao {
         grid-template-columns: 90% 10% !important;
     }



     .mini-button {
         font-size: 12px !important;
         height: 40px !important;
         width: 60px !important;
         margin-right: 8px !important;
         margin-left: 8px !important;
     }

     .fa-2x {
         font-size: 1.5em !important;
     }

     .wrapper2 {
         grid-template-columns: 35% 35% 30%;
     }

     .form__field {
         font-size: 14px !important;
     }

     .form__field {
         width: 95% !important;
     }

     .wrapper-alunos {
         grid-template-columns: 100% !important;
         text-align: center;
     }

     .wrapper-reg {
         grid-template-columns: 100% !important;
         text-align: center;
     }

     .gerir-instituicao {
         max-width: 96% !important;
     }

     .box {
         padding: 5px !important;
     }

     label {
         font-size: 14px !important;
     }

     h4 {
         font-size: 18px !important;
     }

     .tab-content-modal {
         padding: 20px 10px 10px 10px !important;
     }

     .form {
         padding: 15px !important;
     }

     .base-menu {
         padding: 10px 10px 40px 10px !important
     }

     .wrapper-int {
         grid-template-columns: 55% 45%;
     }

     .wrapper-half {
         grid-template-columns: 100%;
     }
 }

 @media screen and (max-width: 1100px) {
     .wrapper-reg {
         grid-template-columns: 35% 35% 30%;
     }
 }

 @media screen and (max-width: 900px) {
     .wrapper-reg {
         grid-template-columns: 40% 40% 20%;
     }

     .collapsible {
         font-size: 14px !important;
     }

     .tab-content-modal {
         padding: 20px 20px 0px 20px;
     }

     .divform {
         padding: 10px;
     }

     label {
         font-size: 15px;
     }

     .form-input {
         font-size: small;
     }

     h5 {
         font-size: 1rem;
     }

     strong {
         font-size: 0.75rem !important;
     }

     .scrollauto {
         width: 200% !important;
     }

     thead tr th {
         font-size: 9px !important;
     }

     tbody td,
     thead th {
         font-size: 12px !important;
     }
 }

 @media screen and (max-width: 600px) {
     .wrapper4>div {
         grid-column-start: 1;
         grid-column-end: 4;
     }

     .wrapper3>div {
         grid-column-start: 1;
         grid-column-end: 2;
     }

     .col-md-6 {
         width: 95%;
     }

     .wrapper3>div {
         grid-column-start: 1;
         grid-column-end: 3;
     }

     .wrapper3 {
         width: 100%;
     }

     .wrapper4-small>div {
         grid-column-start: 1;
         grid-column-end: 4;
     }

     .divscroll {
         margin-left: 15px;
     }

     thead tr th {
         font-size: 8px !important;
     }

     tbody td,
     thead th {
         font-size: 8px !important;
     }

     .nav-item {
         font-size: 10px !important;
     }

     .scrollauto {
         width: 240% !important;
     }
 }

 .select_label {
     padding-top: 30px;
     padding-bottom: 0px;
 }

 .buttonicon {
     color: #6198cf;
     margin-top: 5px;
     padding: 10px 10px 7px 10px;
     border-radius: 5px;
     background-color: rgba(201, 76, 76, 0.0);
     margin-left: 10px;
     border-color: #6198cf;
     border-style: solid;
 }

 .btn-group-sm>.btn,
 .btn-sm {
     padding: 0.25rem 0.5rem;
     font-size: .875rem;
     line-height: 1.5;
     border-radius: 0.2rem;
 }

 .base-menu {
     padding-left: 30px;
     padding-right: 30px;
     padding-bottom: 30px;
     padding-top: 30px;
 }

 .span-style {
     white-space: pre-line;
     resize: none;
     background: white;
     border: white;
     height: 100%;
 }

 .btn-link {
     font-weight: 400;
     text-decoration: underline;
     cursor: pointer;
     color: #6198cf;
 }

 .buttonicon2 {
     color: #6198cf;
     border: #ffffff;
     border-radius: 50%;
     background-color: rgba(201, 76, 76, 0.0);
     margin-left: 10px;
 }

 .buttondelete {
     float: right;
     color: #6198cf;
     border: #ffffff;
     border-radius: 50%;
     background-color: rgba(201, 76, 76, 0.0);
     margin-left: 10px;
     margin-right: 14px;
     outline: none;
     cursor: pointer;
 }

 .buttondelete:hover {
     float: right;
     color: #ffffff;
     border: #6198cf;
     border-radius: 50%;
     background-color: rgba(201, 76, 76, 0.0);
     margin-left: 10px;
     margin-right: 14px;
     outline: none;
 }

 .buttondelete:active {
     float: right;
     color: #090000;
     border: #6198cf;
     border-radius: 50%;
     background-color: rgba(201, 76, 76, 0.0);
     margin-left: 10px;
     margin-right: 14px;
     outline: none;
 }

 .buttondelete:visited {
     outline: none;
 }

 /* Gerir — acções por utilizador na listagem */
 .gerir-form .gerir-acoes-utilizador {
     display: flex;
     flex-direction: row;
     flex-wrap: nowrap;
     align-items: center;
     justify-content: flex-end;
     gap: 0.65rem;
     padding-right: 0.75rem;
     box-sizing: border-box;
 }

 .gerir-form .gerir-acao-btn {
     display: inline-flex;
     flex-direction: row;
     align-items: center;
     justify-content: center;
     gap: 0.4rem;
     float: none;
     margin: 0;
     padding: 0.4rem 0.75rem;
     border: 1px solid #d8dce8;
     border-radius: 8px;
     background: #fff;
     color: #717fb3;
     cursor: pointer;
     outline: none;
     line-height: 1.2;
     white-space: nowrap;
     transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
 }

 .gerir-form .gerir-acao-btn:hover {
     border-color: #6198cf;
     color: #6198cf;
     box-shadow: 0 0 0 2px rgba(97, 152, 207, 0.12);
 }

 .gerir-form .gerir-acao-btn svg {
     display: block;
     width: 20px;
     height: 20px;
     flex-shrink: 0;
 }

 .gerir-form .button-editar-utilizador span {
     font-size: 13px;
     font-weight: 600;
 }

 .buttondelete2 {
     float: right;
     color: #6198cf;
     border: #6198cf;
     border-radius: 50%;
     background-color: white;
     margin-left: 10px;
     margin-right: 55px;
     outline: none;
     cursor: pointer;
 }

 .buttondelete2:hover {
     float: right;
     color: #2f80a5;
     outline: none;
 }

 .buttondelete2:active {
     float: right;
     color: #090000;
     border: #6198cf;
     border-radius: 50%;
     background-color: rgba(201, 76, 76, 0.0);
     outline: none;
 }

 .buttondelete2:visited {
     outline: none;
 }

 .btnhover {
     color: white !important;
     background-color: #6198cf !important;
 }

 .btnhover:hover {
     color: #6198cf !important;
     background: white !important;
 }

 .form-input2 {
     height: calc(1.5em + .75rem + 2px);
     padding: .375rem .75rem;
     font-size: medium;
     font-weight: 400;
     line-height: 1.5;
     color: #495057;
     background-color: #fff;
     background-clip: padding-box;
     border: 1px solid #ced4da;
     border-radius: .25rem;
     transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
 }

 .text-midle {
     vertical-align: central;
 }

 b {
     margin-bottom: 5px;
     color: #4a4747;
     font-size: smaller;
 }

 strong {
     margin-bottom: 5px;
     color: #717fb3;
     ;
     font-size: medium;
 }

 .buttonicon:hover {
     background-color: #6198cf;
     cursor: pointer;
     color: white;
     border-color: rgba(255, 255, 255, 0);
     outline: none;
 }

 .buttonicon:active {
     background-color: #6198cf;
     cursor: pointer;
     color: white;
     border-color: rgb(0, 0, 0);
 }

 .input-login {
     font-family: inherit;
     width: 100%;
     border: 0;
     border-bottom: 2px solid gray;
     outline: 0;
     font-size: 1.3rem;
     color: #3b3939;
     padding: 7px 0;
     background: transparent;
     transition: border-color 0.2s;
 }

 .dropdown-toggle::after {
     display: inline-block;
     margin-left: 0.255em;
     vertical-align: 0.255em;
     content: "";
     border-top: 0.3em solid;
     border-right: 0.3em solid transparent;
     border-bottom: 0;
     border-left: 0.3em solid transparent;
 }

 .margin-left {
     margin-left: 30px;
 }

 input {
     font-size: medium;
     font-weight: 400;
     line-height: 1.3;
     color: #495057;
     background-color: #fff;
     background-clip: padding-box;
     border: 1px solid #ced4da;
     transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
 }

 .div-container-app {
     margin-right: 10px !important;
     margin-left: 10px !important;
     background-color: #edecec;
 }

 h4 {
     font-size: 22px;
     margin-bottom: .5rem !important;
     text-align: left !important;
     font-weight: bold !important;
     color: #717fb3;
     text-decoration: underline;
 }

 .div-center {
     text-align: center;
     width: 100%;
     justify-content: center;
     display: flex;
 }

 label {
     font-size: 20px;
     display: inline-block;
     margin-bottom: .2rem;
     box-sizing: border-box;
     padding: 0;
     color: #717fb3;
 }

 h1,
 h2,
 h3,
 h4,
 h5 {
     color: #717fb3;
 }

 .table-margin {
     padding: 10px;
 }

 .col-md-2 {
     margin-top: 20px;
     margin-left: 35px;
 }

 .col8 {
     margin-top: 20px;
 }

 .col3 {
     margin-top: 20px;
     margin-left: 35px;
 }

 .col-md-5 {
     margin-top: 30px;
 }

 .col-md-6 {
     margin-top: 20px;
 }

 .col-md-12 {
     margin-top: 20px;
 }

 .div-card {
     width: 99%;
     background-color: #d3eff9;
     border-radius: 7px;
     margin-top: 10px;
     margin-bottom: 20px;
     border-style: solid;
     border-color: #6198cf;
 }

 .div-foto {
     text-align: center;
     width: 100%;
 }

 .col-md-6 {
     max-width: 48%;
     position: relative;
     min-height: 1px;
     float: left;
     margin-right: 2%;
 }

 .col-md-1 {
     max-width: 4%;
     position: relative;
     min-height: 1px;
     padding-right: 5px;
     float: left;
     margin-right: 2%;
 }

 .form-row {
     display: -ms-flexbox;
     display: flow-root;
     -ms-flex-wrap: wrap;
     flex-wrap: wrap;
     margin-right: 0px;
     margin-left: 0px;
     padding-left: 0px;
 }

 .btn-estatistica {
     min-width: 45px;
     float: right;
     margin: 5px;
 }

 .odd {
     margin-bottom: 10px;
     margin-top: 10px;
 }

 .even {
     margin-bottom: 10px;
     margin-top: 10px;
 }

 .div-form {
     height: 500px;
 }

 .hrstyle {
     margin-top: 1rem;
     margin-bottom: 2rem;
     border: 0;
     border-top: 3px solid rgba(0, 0, 0, .1);
     box-sizing: content-box;
     height: 0;
     overflow: visible;
 }

 .center {
     text-align: center !important;
 }

 /* input[type=search] {
     margin-left: 20px;
     width: 50%;
     height: 50%;
}*/
 .basicAutoSelect {
     margin-left: 0px !important;
 }

 .teachSelect {
     margin-left: 0px !important;
 }

 .collapsible {
     background-color: #dde2e7;
     color: black;
     cursor: pointer;
     border: none;
     text-align: left;
     outline: none;
     font-size: 18px;
     border-radius: 5px;
 }

 .collapsible:focus {
     width: 100%;
 }

 .active {
     min-height: 1px !important;
     color: #717fb3;
     ;
 }

 .mini-button {
     outline: 0 !important;
     background: white;
     color: #6198cf;
     font-size: 14px;
     cursor: pointer;
     border-radius: 30px;
     font-weight: bold;
     border-color: #6198cf;
     border-width: medium;
     height: 45px;
     width: 75px;
     margin-top: 20px;
     margin-right: 12.5px;
     margin-left: 12.5px;
     margin-bottom: 25px;
 }

 .mini-button:hover {
     color: white;
     background: #6198cf;
 }

 .excel-button:hover {
     color: white;
     background: #6198cf;
 }

 .switch-margin {
     margin: 10px -15px;
 }

 html {
     overflow-y: scroll;
 }

 .content2 {
     width: 100%;
     padding: 0 0 0 20px;
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.2s ease-out;
     background-color: #f3fcff;
     text-align: left;
     color: black;
     border-radius: 0px 0px 15px 15px;
 }

 .switch {
     position: relative;
     display: inline-block;
     width: 60px;
     height: 34px;
 }

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

 .slider {
     border-radius: 10px;
     position: absolute;
     cursor: pointer;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: #ccc;
     -webkit-transition: .4s;
     transition: .4s;
     height: 22px;
     width: 80%;
 }

 .label-app {
     padding-top: 10px;
     padding-left: 20px
 }

 .slider:before {
     border-radius: 10px;
     position: absolute;
     content: "";
     height: 15px;
     width: 15px;
     left: 4px;
     bottom: 4px;
     background-color: white;
     -webkit-transition: .4s;
     transition: .4s;
     right: 3px
 }

 input:checked+.slider {
     background-color: #6198cf;
 }

 input:focus+.slider {
     box-shadow: 0 0 1px #6198cf;
 }

 input:checked+.slider:before {
     -webkit-transform: translateX(26px);
     -ms-transform: translateX(26px);
     transform: translateX(25px);
 }

 :root {
     --azul1: #6198cf;
     --azul4: #c1d7ee;
 }

 @-webkit-keyframes cc1 {
     0% {
         background-color: var(--azul1);
     }

     25% {
         background-color: var(--azul4);
     }

     50% {
         background-color: var(--azul4);
     }

     75% {
         background-color: var(--azul4);
     }

     100% {
         background-color: var(--azul1);
     }
 }

 @-webkit-keyframes cc2 {
     0% {
         background-color: var(--azul4);
     }

     25% {
         background-color: var(--azul1);
     }

     50% {
         background-color: var(--azul4);
     }

     75% {
         background-color: var(--azul4);
     }

     100% {
         background-color: var(--azul4);
     }
 }

 @-webkit-keyframes cc3 {
     0% {
         background-color: var(--azul4);
     }

     25% {
         background-color: var(--azul4);
     }

     50% {
         background-color: var(--azul4);
     }

     75% {
         background-color: var(--azul1);
     }

     100% {
         background-color: var(--azul4);
     }
 }

 @-webkit-keyframes cc4 {
     0% {
         background-color: var(--azul4);
     }

     25% {
         background-color: var(--azul4);
     }

     50% {
         background-color: var(--azul1);
     }

     75% {
         background-color: var(--azul4);
     }

     100% {
         background-color: var(--azul4);
     }
 }

 .kube-a {
     width: 50%;
     height: 50%;
     float: left;
     border-top-left-radius: 25px;
     animation-name: 'cc1';
     -webkit-animation-name: cc1;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-duration: 2s;
 }

 .kube-b {
     width: 50%;
     height: 50%;
     float: left;
     animation-name: 'cc2';
     -webkit-animation-name: cc2;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-duration: 2s;
 }

 .kube-c {
     width: 50%;
     height: 50%;
     float: left;
     animation-name: 'cc3';
     -webkit-animation-name: cc3;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-duration: 2s;
 }

 .kube-d {
     width: 50%;
     height: 50%;
     float: left;
     border-bottom-right-radius: 25px;
     animation-name: 'cc4';
     -webkit-animation-name: cc4;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-duration: 2s;
 }

 .kubeclass1 {
     position: absolute;
     width: 100px;
     height: 100px;
     top: 50%;
     left: 50%;
     margin-right: -50%;
     border-radius: 10%;
 }

 .kubeclass {
     position: fixed;
     width: 100px;
     height: 100px;
     top: 50%;
     left: 45%;
     margin: auto;
     border-radius: 10%;
     opacity: 0.8;
     z-index: 2;
 }

 .butt {
     border: 1px outset #469dca;
     background-color: #6198cf;
     height: 50px;
     width: 50px;
     cursor: pointer;
     border-radius: 50%;
     margin: 10px;
 }

 .butt:hover {
     background-color: #6198cf;
     color: white;
 }

 .blobs-container {
     display: flex;
     margin: 0px;
     padding: 0px;
 }

 .blob {
     background: black;
     border-radius: 50%;
     box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
     height: 35px;
     width: 35px;
     transform: scale(1);
 }

 .blob:hover {
     animation: pulse-blue 2s infinite
 }

 .blob.blue {
     background: #6198cf;
     box-shadow: 0 0 0 0 #6198cf;
 }

 @keyframes pulse-blue {
     0% {
         transform: scale(0.95);
         box-shadow: 0 0 0 0 rgba(82, 184, 248, 0.7);
     }

     70% {
         transform: scale(1);
         box-shadow: 0 0 0 10px rgba(52, 172, 224, 0);
     }

     100% {
         transform: scale(0.95);
         box-shadow: 0 0 0 0 rgba(52, 172, 224, 0);
     }
 }

 .nic-input {
     margin-right: -10px !important;
 }

 .col-md-1,
 .col-md-2,
 .col-md-3,
 .col-md-4,
 .col-md-5,
 .col-md-6,
 .col-md-7,
 .col-md-8,
 .col-md-9,
 .col-md-10,
 .col-md-11,
 .col-md-12,
 .col-md {
     float: left
 }

 .col-md-12 {
     width: 100%
 }

 .col-md-11 {
     width: 91.66666667%
 }

 .col-md-10 {
     width: 83.33333333%;
     margin-right: -20px !important;
 }

 .col-md-9 {
     width: 75%
 }

 .col-md-8 {
     width: 66.66666667%
 }

 .col-md-7 {
     width: 58.33333333%
 }

 .col-md-4 {
     width: 45.33333333%
 }

 .col-md-3 {
     width: 33%;
     text-align: left;
     position: relative;
     min-height: 50px;
 }

 .col-md-2 {
     width: 11.667%;
     text-align: left;
 }

 .col-md-1 {
     width: 5.33333333%
 }

 .col,
 .col-1,
 .col-10,
 .col-11,
 .col-12,
 .col-2,
 .col-3,
 .col-4,
 .col-5,
 .col-6,
 .col-7,
 .col-8,
 .col-9,
 .col-lg-auto,
 .col-md,
 .col-md-10,
 .col-md-11,
 .col-md-12,
 .col-md-2,
 .col-md-3,
 .col-md-4,
 .col-md-5,
 .col-md-6,
 .col-md-7,
 .col-md-9,
 .col-md-auto {
     position: relative;
     width: 98%;
 }

 .col-1 {
     -ms-flex: 0 0 8.333333%;
     flex: 0 0 8.333333%;
     max-width: 8.333333%;
     min-width: 8.333333%;
     margin-top: 5px;
 }

 .col-2 {
     -ms-flex: 0 0 16.666667%;
     flex: 0 0 16.666667%;
     max-width: 16.666667%;
     min-width: 16.666667%;
     margin-top: 5px;
 }

 .col-3 {
     -ms-flex: 0 0 25%;
     flex: 0 0 25%;
     max-width: 25%;
     min-width: 25%;
     margin-top: 5px;
 }

 .col-4 {
     -ms-flex: 0 0 33.333333%;
     flex: 0 0 33.333333%;
     max-width: 33.333333%;
     min-width: 33.333333%;
     margin-top: 5px;
 }

 .col-5 {
     -ms-flex: 0 0 41.666667%;
     flex: 0 0 41.666667%;
     max-width: 41.666667%;
     min-width: 41.666667%;
     margin-top: 5px;
 }

 .col-6 {
     -ms-flex: 0 0 50%;
     flex: 0 0 50%;
     max-width: 50%;
     min-width: 50%;
 }

 .col-7 {
     -ms-flex: 0 0 58.333333%;
     flex: 0 0 58.333333%;
     max-width: 58.333333%
 }

 .col-8 {
     -ms-flex: 0 0 66.666667%;
     flex: 0 0 66.666667%;
     max-width: 66.666667%
 }

 .col-9 {
     -ms-flex: 0 0 75%;
     flex: 0 0 75%;
     max-width: 75%
 }

 .col-10 {
     -ms-flex: 0 0 75.333333%;
     flex: 0 0 83.333333%;
     max-width: 83.333333%
 }

 .col-11 {
     -ms-flex: 0 0 91.666667%;
     flex: 0 0 91.666667%;
     max-width: 91.666667%
 }

 .col-12 {
     -ms-flex: 0 0 100%;
     flex: 0 0 100%;
     max-width: 100%;
     margin-top: 0px;
 }

 span {
     color: #717fb3;
 }

 .card {
     position: relative;
     display: -ms-flexbox;
     display: flex;
     -ms-flex-direction: column;
     flex-direction: column;
     min-width: 0;
     word-wrap: break-word;
     background-clip: border-box;
     border: 2px solid #6198cf;
     border-radius: 8px;
     padding: 5px;
     margin-bottom: 10px;
     margin-top: 10px;
 }

 .card-int {
     position: relative;
     display: -ms-flexbox;
     display: flex;
     -ms-flex-direction: column;
     flex-direction: column;
     min-width: 0;
     word-wrap: break-word;
     background-color: rgba(255, 255, 255, 0);
     background-clip: border-box;
     border: 2px solid #6198cf;
     border-radius: 8px;
     margin-bottom: 10px;
     margin-top: 20px;
 }

 .card>hr {
     margin-right: 0;
     margin-left: 0
 }

 .wrapper {
     margin: auto;
     width: 100%;
     max-width: 1000px;
     padding: 10px;
     background-color: #ccc;
 }

 .wrapper input {
     float: left;
     width: 50%;
     display: inline-block;
 }

 .card>.list-group {
     border-top: inherit;
     border-bottom: inherit
 }

 .card>.list-group:first-child {
     border-top-width: 0;
     border-top-left-radius: calc(.25rem - 1px);
     border-top-right-radius: calc(.25rem - 1px)
 }

 .card>.list-group:last-child {
     border-bottom-width: 0;
     border-bottom-right-radius: calc(.25rem - 1px);
     border-bottom-left-radius: calc(.25rem - 1px)
 }

 .card>.card-header+.list-group,
 .card>.list-group+.card-footer {
     border-top: 0
 }

 .card-body {
     -ms-flex: 1 1 auto;
     flex: 1 1 auto;
     min-height: 1px;
     padding-left: 1.25rem;
     padding-top: 0.75rem;
     padding-bottom: 0.75rem;
 }

 .card-title {
     margin-bottom: .75rem
 }

 .card-link+.card-link {
     margin-left: 1.25rem
 }

 .card-header {
     padding: .75rem 1.25rem;
     margin-bottom: 0;
     background-color: rgba(0, 0, 0, .03);
     border-bottom: 1px solid rgba(0, 0, 0, .125);
     cursor: pointer !important;
 }

 .accordion {
     overflow-anchor: none
 }

 .accordion>.card {
     overflow: hidden
 }

 .accordion>.card:not(:last-of-type) {
     border-bottom: 0;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0
 }

 .accordion>.card:not(:first-of-type) {
     border-top-left-radius: 0;
     border-top-right-radius: 0
 }

 .accordion>.card>.card-header {
     border-radius: 0;
     margin-bottom: -1px
 }

 .collapse:not(.show) {
     display: none
 }

 .collapsing {
     position: relative;
     height: 0;
     overflow: hidden;
     transition: height .35s ease
 }

 .search-input {
     display: block;
     padding: .375rem .75rem;
     font-size: medium;
     font-weight: 400;
     line-height: 1.5;
     color: #495057;
     background-color: #fff;
     background-clip: padding-box;
     border: 1px solid #ced4da;
     border-radius: .25rem;
     transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
 }

 .box-left {
     text-align: right;
 }

 /** Custom Select **/
 .custom-select {
     position: relative;
     display: inline-block;
     font-size: medium;
     width: 100%;
     height: calc(1.5em + .75rem + 2px);
     border-radius: 6px;
     border: 1px solid #ced4da;
 }

 .row {
     display: -ms-flexbox;
     display: flex;
     -ms-flex-wrap: wrap;
     flex-wrap: wrap;
 }

 .collapsible {
     min-width: 100% !important;
 }

 .custom-select.opened .custom-select-trigger:after {
     margin-top: 3px;
     transform: rotate(-135deg) translateY(-50%);
 }

 .custom-select.opened .custom-options {
     opacity: 1;
     visibility: visible;
     pointer-events: all;
     transform: translateY(0);
 }


 #input-outer {
     margin-top: 18px;
 }

 #input-outer input {

     height: 2em;
     width: 80%;
     border: 0px;
     outline: none;
     border-radius: 20px;
     color: #666;
 }

 #clear-alunosMisi {
     position: relative;
     float: right;
     height: 27px;
     width: 35px;
     right: 5px;
     border-radius: 20px;
     background: #717fb3;
     color: white;
     font-weight: bold;
     text-align: center;
     cursor: pointer;
     border-style: solid;
     border-color: #717fb3;
 }

 #clear-alunosMisi:hover {
     background: white;
     color: #717fb3;
     border-style: solid;
     border-color: #717fb3;
 }

 #clear-alunosMisi:hover path {

     fill: #717fb3;
 }

 .utilizador-gestor-census {
     color: #6198cf;
     font-weight: 700;
 }

 .utilizador-pesquisa {
     position: absolute;
     width: 1px;
     height: 1px;
     padding: 0;
     margin: -1px;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
     border: 0;
 }

 #table_wrapper.dataTables_wrapper {
     width: 100%;
     margin-top: 0.75rem;
 }

 #table_wrapper .dataTables_filter {
     float: none;
     text-align: left;
     width: 100%;
     margin: 0 0 1.25rem;
     padding: 0;
 }

 #table_wrapper .dataTables_filter label {
     display: block;
     width: 100%;
     margin: 0;
 }

 #table_wrapper .dataTables_filter input[type="search"] {
     display: block;
     width: 100% !important;
     margin: 0 !important;
     padding: 0.7rem 1rem 0.7rem 2.5rem;
     border: 1px solid #d8dce8;
     border-radius: 8px;
     background: #f8f9fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Cpath fill='%23717fb3' d='m17.545 15.467-3.779-3.779a6.15 6.15 0 0 0 .898-3.21c0-3.417-2.961-6.377-6.378-6.378A6.185 6.185 0 0 0 2.1 8.287c0 3.416 2.961 6.377 6.377 6.377a6.15 6.15 0 0 0 3.115-.844l3.799 3.801a.953.953 0 0 0 1.346 0l.943-.943c.371-.371.236-.84-.135-1.211zM4.004 8.287a4.282 4.282 0 0 1 4.282-4.283c2.366 0 4.474 2.107 4.474 4.474a4.284 4.284 0 0 1-4.283 4.283c-2.366-.001-4.473-2.109-4.473-4.474z'/%3E%3C/svg%3E") no-repeat 0.85rem center;
     color: #383838;
     font-size: 1rem;
     line-height: 1.4;
     outline: none;
     transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
     -webkit-appearance: none;
     appearance: none;
 }

 #table_wrapper .dataTables_filter input[type="search"]:focus {
     border-color: #6198cf;
     background-color: #fff;
     box-shadow: 0 0 0 3px rgba(97, 152, 207, 0.18);
 }

 #table_wrapper .dataTables_filter input[type="search"]::placeholder {
     color: #9ca3af;
 }

 .divform h4,
 .divform-pesquisa h4 {
     margin-bottom: 2rem;
 }

 /* Registar / associar utilizador */
 .divform-pesquisa.registo-form {
     width: 90% !important;
     max-width: 90vw;
     margin-left: auto;
     margin-right: auto;
     padding: 20px 28px 24px;
     border: solid #b1ccd5;
     overflow: visible;
 }

 /* Fase 1 — grelha Instituição | NIF | pesquisa */
 .registo-form .registo-fase1 {
     display: grid !important;
     grid-template-columns: minmax(0, 1fr) minmax(160px, 22%) min-content;
     grid-template-rows: auto;
     align-items: end;
     gap: 10px 14px;
     width: 100%;
 }

 .registo-form .registo-fase1 > .box {
     min-height: 0;
 }

 .registo-form .registo-fase1 .form__group.field {
     margin-top: 0;
     padding-top: 10px;
 }

 .registo-form .registo-fase1 .registo-pesquisa-btn-box {
     display: flex;
     align-items: flex-end;
     justify-content: center;
     padding: 0 4px 2px 0;
 }

 .registo-form .registo-pesquisa-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     width: 48px;
     height: 48px;
     min-width: 48px;
     min-height: 48px;
     padding: 0;
     margin: 0 !important;
     border-radius: 50%;
     background: #fff;
     border: 2px solid #6198cf;
     color: #6198cf;
     cursor: pointer;
 }

 .registo-form .registo-pesquisa-btn:hover {
     background: #6198cf;
     color: #fff;
 }

 .registo-form .registo-pesquisa-btn svg {
     display: block;
 }

 @media screen and (max-width: 768px) {
     .registo-form .registo-fase1 {
         grid-template-columns: minmax(0, 1fr) min-content;
     }

     .registo-form .registo-fase1 > .box:first-child {
         grid-column: 1 / -1;
     }
 }

 .registo-associacao {
     margin-top: 0.85rem;
 }

 .registo-associacao .registo-btn-icon {
     width: 44px;
     height: 44px;
     min-width: 44px;
     margin: 0;
     border-radius: 8px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: #6198cf;
 }

 .registo-associacao .registo-btn-icon:hover {
     color: #fff;
 }

 .registo-associacao .registo-btn-icon svg {
     display: block;
 }

 .registo-associacao .registo-detalhes {
     display: block;
     width: 100%;
     height: auto !important;
     min-height: 0 !important;
     text-align: left;
     font-size: inherit;
     font-weight: inherit;
     text-decoration: none;
     background: #f8f9fc;
     border: 1px solid #e8ecf2;
     border-radius: 10px;
     padding: 1rem 1.35rem 0.5rem;
     margin-bottom: 0.75rem;
 }

 .registo-associacao .registo-detalhes--compact {
     padding: 0.9rem 1.35rem 0.4rem;
     margin-bottom: 0.65rem;
 }

 .registo-associacao .registo-detalhes-grid {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     grid-auto-rows: min-content;
     align-content: start;
     gap: 0.15rem 1.75rem;
 }

 .registo-associacao .registo-detalhes--compact .registo-detalhes-grid {
     gap: 0.15rem 1.5rem;
 }

 .registo-associacao .registo-detalhes .form__group.field {
     margin-bottom: 0.85rem;
     padding-top: 10px;
 }

 .registo-associacao .registo-detalhes--compact .form__group.field {
     margin-bottom: 0.75rem;
     padding-top: 10px;
 }

 .registo-associacao .registo-actions {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 0.5rem;
     padding-top: 0;
     margin-bottom: 0;
 }

 .registo-associacao .registo-btn-action {
     min-width: 180px;
     width: auto;
     height: 44px;
     margin: 0 !important;
     padding: 0 1.75rem;
     border-radius: 8px;
 }

 .registo-associacao .registo-btn-action:disabled {
     opacity: 0.65;
     cursor: not-allowed;
 }

 .registo-associacao .registo-alert {
     width: 100%;
     max-width: 480px;
     text-align: center;
     padding: 1rem 1.25rem;
     border-radius: 8px;
     background: #fff5f5;
     border: 1px solid #ffcdd2;
     color: #b71c1c;
 }

 .registo-associacao .registo-alert p {
     margin: 0 0 0.35rem;
     font-weight: 600;
 }

 .registo-associacao .registo-alert-sub {
     font-weight: 400;
     font-size: 0.95rem;
 }

 .registo-associacao .registo-alert a {
     color: #1565c0;
     text-decoration: underline;
 }

 @media screen and (max-width: 768px) {
     .registo-associacao .registo-detalhes-grid {
         grid-template-columns: 1fr;
     }
 }

 /* Gerir — mesmo cartão e fase 1 que Registar */
 .gerir-form .gerir-fase1 {
     grid-template-columns: 1fr !important;
 }

 .gerir-form .gerir-listagem {
     margin-top: 0.85rem;
     padding: 1rem 1.25rem 0.75rem;
     background: #f8f9fc;
     border: 1px solid #e8ecf2;
     border-radius: 10px;
 }

 .gerir-form .gerir-listagem .scroll,
 .gerir-form .gerir-listagem table {
     width: 100%;
     margin-bottom: 0;
 }

 .gerir-form #table_wrapper.dataTables_wrapper {
     width: 100%;
     margin-top: 0;
 }

 .gerir-form #table_wrapper .dataTables_filter {
     float: none;
     text-align: left;
     width: 100%;
     margin: 0 0 1rem;
     padding: 0;
 }

 .gerir-form #table_wrapper .dataTables_filter label {
     display: block;
     width: 100%;
     margin: 0;
 }

 .gerir-form #table_wrapper .dataTables_filter input[type="search"] {
     display: block;
     width: 100% !important;
     margin: 0 !important;
     padding: 0.7rem 1rem 0.7rem 2.5rem;
     border: 1px solid #d8dce8;
     border-radius: 8px;
     background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Cpath fill='%23717fb3' d='m17.545 15.467-3.779-3.779a6.15 6.15 0 0 0 .898-3.21c0-3.417-2.961-6.377-6.378-6.378A6.185 6.185 0 0 0 2.1 8.287c0 3.416 2.961 6.377 6.377 6.377a6.15 6.15 0 0 0 3.115-.844l3.799 3.801a.953.953 0 0 0 1.346 0l.943-.943c.371-.371.236-.84-.135-1.211zM4.004 8.287a4.282 4.282 0 0 1 4.282-4.283c2.366 0 4.474 2.107 4.474 4.474a4.284 4.284 0 0 1-4.283 4.283c-2.366-.001-4.473-2.109-4.473-4.474z'/%3E%3C/svg%3E") no-repeat 0.85rem center;
     color: #383838;
     font-size: 1rem;
     line-height: 1.4;
     outline: none;
     -webkit-appearance: none;
     appearance: none;
 }

 .gerir-form #table_wrapper .dataTables_filter input[type="search"]:focus {
     border-color: #6198cf;
     box-shadow: 0 0 0 3px rgba(97, 152, 207, 0.18);
 }

 .gerir-form .gerir-listagem caption {
     position: absolute;
     width: 1px;
     height: 1px;
     padding: 0;
     margin: -1px;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
     border: 0;
 }

 @media screen and (max-width: 768px) {
     .gerir-form .button-editar-utilizador span {
         display: none;
     }

     .gerir-form .button-editar-utilizador {
         padding: 0.4rem;
     }
 }