:root{
    /** Dark theme primary colors */
--color-primary-a0: #70a4bc;
--color-primary-a10: #81aec3;
--color-primary-a20: #91b8cb;
--color-primary-a30: #a1c2d2;
--color-primary-a40: #b0ccd9;
--color-primary-a50: #c0d6e1;

/** Dark theme surface colors */
--color-surface-a0: #121212;
--color-surface-a10: #282828;
--color-surface-a20: #3f3f3f;
--color-surface-a30: #575757;
--color-surface-a40: #717171;
--color-surface-a50: #8b8b8b;

/** Dark theme mixed surface colors */
--color-surface-mixed-a0: #3f5660;
--color-surface-mixed-a10: #536770;
--color-surface-mixed-a20: #677981;
--color-surface-mixed-a30: #7b8b92;
--color-surface-mixed-a40: #909da3;
--color-surface-mixed-a50: #a5b0b5;
--white: #FFFFFF;
--secondary-a0: #e9eaed;
--secondary-text-a0: #5f5f61;
--primary: #4A2F7C;
--primary_dark: #2a164e;
}

.message-container svg{
    display: inline-block!important;
    margin: 0px!important;
    padding: 0px!important;
}
.message-container{
    display: flex;
    justify-content: space-between;
}

.login .btn-secondary{
    border-color: var(--secondary-a0);
    background: #FFF;
    color: var(--secondary-txt-a10);
    font-size: 1rem;
    height: 3rem;
}

.btn-secondary:hover{
    background: #f3f3f3;
    color: var(--color-surface-a10);
    border-color: #BBB;
}

.btn-primary.btn-login{
    height: 3rem!important;
    font-size: 1.1rem;
}

.form-group input{
    height: 3rem;
}

#toggleDarkMode{
    background: var(--secondary-a0);
    border-color: var(--secondary-a0);
    color: var(--secondary-text-a0);
}

#mensagens{
    position: absolute;
    top: 20%;
    right: 2rem;
    max-width: 20%;
}

#cookie div span{
    font-size: .8rem;
    text-align: justify!important;
    width: max-content;
}
#cookie {
    min-width: 100%;
    color: #000;
    background-color: #FFF;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 5px 5px 5px 0px rgba(161, 163, 164, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
}
  
 #cookie button.btn {
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    float: right;
    padding: .4rem 10px;
    background: var(--primary);
    color: #FFF;
  }

  #eye-icon.dark{
    border-color: var(--color-surface-a50);
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 64px;
    background: var(--primary_dark);
    transition: width 0.4s;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.1);
  }
  
  .sidebar nav {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .sidebar.show nav{
    justify-content: flex-start!important;
  }
  
  .sidebar.show nav {
    padding: 0 8px;
  }
  
  .header h1,
  .sidebar a p {
    position: absolute;
    top: 45%;
    left: 42px;
    translate: 0 -50%;
    margin: 0;
    white-space: nowrap;
    transition: 0.175s;
    color: var(--white);
  }
  .sidebar a p {
    font-size: .9rem;
  }
  .header h1{
    font-size: 1.2rem;
    font-weight: 700!important;
  }
  .header label{
    font-size: .8rem;
    color:#CCC;
    display: none;
  }
  
  .sidebar i {
    font-size: 1.4rem;
    color: var(--white);
    transition: 0.2s;
  }
  .sidebar.show i {
    font-size: 1.1rem;
  }
  .sidebar nav a p {
    display: none;
  }
  .sidebar.show nav a p {
    display: flex;
  }
  
  .header h1 {
    left: 75px;
    font-weight: normal;
    font-size: 16px;
    display: none;
  }

  main{
    margin-left: 2rem;
    flex-grow: 1;
  }
  
  .sidebar.show {
    width: 20%;
  }

  .sidebar.show .header h1, .sidebar.show .header label{
    display: flex;
  }

  .sidebar .header .logo_icon{
    width: 90%;
    height: auto;
    margin-left: 15%;
    display: flex;
  }
  .sidebar.show .header .logo{
    width: 50%;
    height: auto;
    padding: 10px 0px;
    margin-left: 14px;
    display: flex;  
  }

  .sidebar .header .logo{
    display: none;
  }
  
  .sidebar.show .header .logo_icon{
    width: 11%!important;
    margin-left: 14px;
    display: none;
  }

  .sidebar.show .header{
    height: 13vh;
  }

  .header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 9vh;
    padding: 0 20px 0 8px;
    background: rgb(0 0 0 / 10%);
  }

  .sidebar.show .header {
    padding: 0 20px 0 1rem;
  }

  .sidebar.show .header svg{
    width: 0%;
  }

  .sidebar.show nav{
    height: 100%;
    justify-content: space-between;
    justify-items: center;
    
  }

  .sidebar.show ~ main{
    width: 100%;
  }
  
  .sidebar a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 44px;
    width: 100%;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    padding: 0 0 0 16px;
    opacity: 0.75;
    cursor: pointer;
  }
  
  .sidebar a:hover {
    background: rgb(0 0 0 / 20%);
    opacity: 1;
  }

  .close-menu {
    margin-top: auto;
  }
  .close-menu i{
    font-size: 1rem!important;
  }

  .sidebar.show nav .close-menu{
    justify-content: start;
    justify-items: center;
    width: 95%;
    
  }
  .sidebar.show nav .close-menu i{
    margin-right: 1rem;
  }

  /* Aumenta a área clicável do dropdown para ocupar toda a altura */
.nav-header .nav-header-item {
    display: flex;
    align-items: center!important;
    text-align: center;
    justify-content: center;
    justify-items: center;
    height: 4rem; /* Ocupa toda a altura do container */
    min-width: 4rem;
    text-decoration: none;
    color: inherit;
    padding: .5rem 1rem!important;
}
.nav-header-item {
  padding-bottom: 1rem;
}

.nav-header-item i{
    text-align: center!important;
}

.nav-header-item.user-dropdown i{
    font-size: 12px;
}

.user-dropdown img {
    margin-right: 8px;
}

.nav-header .nav-header-item:hover{
    background: rgb(0,0,0,0.05);
}

#searchResults {
    position: absolute;
    margin-top: 2.7rem!important;
    width: 100%;
    padding: .5rem 1rem;
}

.search-content .input-group span, .search-content .input-group input{
    border: none;
    background: transparent;
    box-shadow: none;
}

.breadcrumb ol li{
    font-size: .9rem!important;
    color: #555;
}
.breadcrumb ol li a{
  text-decoration: none;
  color: #555;
}

#userDropdown{
    margin-right: .2rem!important;
}

.tooltip-inner {
  background-color: var(--primary_dark); /* Cor de fundo */
  color: #fff;            /* Cor do texto */
  font-size: 14px;
}

.tooltip-arrow::before {
  border-top-color: var(--primary_dark); /* Cor da seta */
}

.sidebar.show .tooltip{
  display: none;
}


/* Estilos extras para o modal e o area de arraste */
#dropArea {
  border: 2px dashed var(--color-primary-a50)!important;
  cursor: pointer;
  min-height: 150px;
  display: flex;
  align-items: center;
}

#cropContainer img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: #FFF;
}


.profile-picture-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.edit-icon {
  background-color: rgba(0,0,0,0.1);
  color: white;
  display: flex;
  cursor: pointer;
  opacity: 0;
  transition-duration: .2s;
  justify-content: center;
  align-items: center;
  justify-items: center;
  position: absolute;
  height: 100%;
  width: 16%;
  top: 0;
  left: 0;
}
.btn-small{
  padding: 2px 10px!important;
  font-size: 12px;
}

.card .btn-small{
  float: right;
}
.card-perfil{
  border:none
}

.profile-picture-container:hover .edit-icon {
  opacity: 1;
}

.card .card-body .card-text, .card .card-body h5{
  line-height: 25px!important;
  padding: 0px!important;
  margin: 0px!important;
}
.alert {
  display: flex;
  align-items: center;
  padding: 0px 20px;
  border-radius: 5px;
  margin-top: 10px;
  color: #fff;
}
.alert-success {
  background-color: #28a745;
  color: #fff;
}
.alert-danger {
  background-color: #dc3545;
  color: #fff;
}
.alert-info {
  background-color: #17a2b8;
  color: #fff;
}
.alert-warning {
  background-color: #ffc107;
  color: #000;
}

.alert-success .msg-close, .alert-danger .msg-close, .alert-info .msg-close {
  color: #FFF!important;
  fill: #FFF!important;
  font-size: 2rem;
  padding-left: 3rem;
}
.alert-warning .msg-close {
  color: #333!important;
  fill: #333!important;
  font-size: 2rem;
  padding-left: 3rem;
}

.input-group button{
  border: 1px solid #ced4da;
  border-radius: 0px 3px 3px 0px;
}

.bg-primary{
  background: var(--primary)!important;
}

.text-primary{
  color: var(--primary)!important;
}

.text-gray{
  color: var(--color-surface-mixed-a50)!important;
}

.bg-primary_dark{
  background: var(--primary_dark)!important;
}
.text-primary_dark{
  color: var(--primary_dark)!important;
}
.btn-primary{
  background: var(--primary)!important;
  border-color: var(--primary_dark);
}
.btn-primary:hover{
  background: var(--primary_dark)!important;
}

.bg-cross{
  background: radial-gradient(circle, transparent 20%, #f0f0f0 20%, #f0f0f0 80%, transparent 80%, transparent) 0% 0% / 78px 78px, radial-gradient(circle, transparent 20%, #f0f0f0 20%, #f0f0f0 80%, transparent 80%, transparent) 39px 39px / 78px 78px, linear-gradient(#dddee6 3px, transparent 3px) 0px -1.5px / 39px 39px, linear-gradient(90deg, #dddee6 3px, #f0f0f0 3px) -1.5px 0px / 39px 39px #f0f0f0;
background-size: 78px 78px, 78px 78px, 39px 39px, 39px 39px;
background-color: #f0f0f0;
}