/* ----------- :: #-> IMPORTS <-# :: ----------- */
@import url(https://fonts.googleapis.com/css?family=Gudea:400,700);

/* ----------- :: #-> DEFFS <-# :: ----------- */
:root {
    --bg-body: linear-gradient(135deg, #8BC34A 0%, #eeeeee 100%);
    --primary: #CDDC39;
    --secondary: #6c757d;
    --text-main: #fff;
    --text-muted: #9fa8b9;
    --white: #ffffff;
    --border: #CDDC39;
    --gray: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
}

/* ----------- :: #->  BODY   <-# :: ----------- */
body {
  perspective: 800px;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 50px;
  overflow-x: hidden;
  font-family: "Gudea", sans-serif;
  background: #8BC34A;
  background: linear-gradient(135deg, #8BC34A 0%, #eeeeee 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#EA5C54 ", endColorstr="#bb6dec",GradientType=1 );
}
body ::-webkit-input-placeholder {
  color: #fff;
}

/* ----------- :: #->  PATTERN  <-# :: ----------- */
header{
    display: block;
    width: 100vw;
    min-height: 60px;
}

.container {
    width: 85%;
    max-width: 1140px;
    margin: 0 auto;
}

.container p{
    
}

.login p, .register p {
  color: #fff;
  font-size: 14px;
  text-align: left;
}

.btVoltar {
    position: absolute;
    font-size: 14px;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    color: #333;
    border-radius: 10px;
    text-decoration: none;
    background: #ffffff66;
    z-index: 1000;
}

 .mobile-wrapper {
    background: #fff;
    z-index: 1;
    position: relative;
    width: 90vw;
    min-height: 80vh;
    margin: auto;
    padding: 20px 0;
    border-radius: 10px;
    box-shadow: 0px 10px 30px -10px #000;
}

.content-text { line-height: 1.6; color: #666; text-align: justify; }
.content-text h3 { color: #333; margin-top: 25px; border-left: 4px solid #8BC34A; padding-left: 10px; }

.section-title {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
    background: var(--gray);
}

.btn-primary { border-color: var(--border); color: white; }
.btn-secondary {border-color: var(--white); color: white; }
.btn-primary:hover { background: var(--border); }
.btn-secondary:hover {background: var(--white); color: var(--gray);}

/* ----------- :: #->  LOGIN  <-# :: ----------- */
.authent {
  display: none;
  background: #35394a;
  background: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#35394a", endColorstr="#1f222e",GradientType=1 );
  position: absolute;
  left: 0;
  right: 0px;
  margin: auto;
  width: 100px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 20px 70px;
  top: 200px;
  bottom: 0;
  height: 70px;
  opacity: 0;
}
.authent p {
  text-align: center;
  color: white;
}
.success {
  display: none;
  color: #d5d8e2;
}
.success p {
  font-size: 16px;
}

.testtwo {
  bottom: 20px !important;
}
.test {
  box-shadow: 0px 20px 30px 3px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  top: -100px !important;
  transform: rotateX(70deg) scale(0.8) !important;
  opacity: 0.6 !important;
  filter: blur(1px);
}

.login, .register {
  opacity: 1;
  top: 20px;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.25, 0.265, 0.85);
  transition-property: transform, opacity, box-shadow, top, left;
  transition-duration: 0.5s;
  transform-origin: 161px 100%;
  transform: rotateX(0deg);
  position: relative;
  width: 240px;
  border-top: 2px solid #4CAF50;
  height: 300px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  padding: 50px 40px 40px 40px;
  background: #35394a;
  background: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#35394a", endColorstr="#1f222e",GradientType=1 );
}
.register{
    display:none;
    height: 360px;
}
.validation {
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 6px;
  opacity: 0;
}
.disclaimer {
  position: absolute;
  bottom: 20px;
  left: 35px;
  width: 250px;
}
.login_title {
  color: #afb1be;
  height: 60px;
  text-align: left;
  font-size: 16px;
}
.login_fields {
  height: 208px;
  position: absolute;
  left: 0;
}
.login_fields .icon {
  position: absolute;
  z-index: 1;
  left: 36px;
  top: 8px;
  opacity: 0.5;
}
.login_fields input[type=password] {
  color: #DC6180 !important;
}
.login_fields input[type=text], .login_fields input[type=email], .login_fields input[type=password] {
  color: #afb1be;
  width: 190px;
  margin-top: -2px;
  background: #32364a;
  left: 0;
  padding: 10px 65px;
  border-top: 2px solid #393d52;
  border-bottom: 2px solid #393d52;
  border-right: none;
  border-left: none;
  outline: none;
  font-family: "Gudea", sans-serif;
  font-size: 16px;
  box-shadow: none;
}
.login_fields__user, .login_fields__password {
  position: relative;
}
.login_fields__submit {
  position: relative;
  top: 35px;
  left: 0;
  width: 80%;
  right: 0;
  margin: auto;
  text-align: center;
}
.login_fields__submit .forgot {
  font-size: 14px;
  margin-top: 11px;
  color: #606479;
}
.login_fields__submit .forgot a {
  color: #fff;
  text-decoration: none;
}
.login_fields__submit input {
  border-radius: 50px;
  background: transparent;
  padding: 10px 50px;
  border: 2px solid #CDDC39;
  color: #CDDC39;
  text-transform: uppercase;
  font-size: 11px;
  transition-property: background, color;
  transition-duration: 0.2s;
}
.login_fields__submit input:focus {
  box-shadow: none;
  outline: none;
}
.login_fields__submit input:hover {
  color: white;
  background: #CDDC39;
  cursor: pointer;
  transition-property: background, color;
  transition-duration: 0.2s;
}
#passAviso{
    display: block;
    text-align: center;
    margin: 10px 0 -27px;
    color: #e74d3d;
}
#btVoltar {
    position: relative;
    z-index: 1000;
}

/* ----------- :: #->  PERFIL  <-# :: ----------- */

.settings-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.card {
    background: var(--gray);
    border-radius: 5px;
    padding: 1.5rem;
    color: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cardMini {
    display: inline-table;
    width: 200px;
    height: 242px;
    margin: 5px;
}

.profile-sidebar {
    text-align: center;
}

.user-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.user-name { margin: 0 0 0.5rem; font-size: 1.2rem; }
.user-email { margin: 0; color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }

.about { margin-top: 2rem; }
.about h5 { color: var(--primary); margin-bottom: 10px; }
.about p { font-size: 0.85rem; line-height: 1.4; }

/* Formulário e Títulos */


/* Grid Interna do Formulário */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
}

.input-group input {
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Botões */
.form-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.mt-4 { margin-top: 2rem; }

/* Responsividade */
@media (max-width: 992px) {
    .settings-grid {
        grid-template-columns: 1fr; /* Sidebar em cima, formulário embaixo */
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr; /* Inputs um embaixo do outro no celular */
    }
}

/* Adicione isso ao seu bloco de <style> */
#boxDependente {
    border: 2px solid var(--border);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dependente-item{
    display: inline-table;
    width: calc(50% - 60px);
    border-left: 4px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin: 30px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .dependente-item {
        width: calc(100% - 20px);
    }
}

ul.menuPerfil{
    width: 230px;
    padding: 0;
    margin: 0;
}
ul.menuPerfil li{
    display: block;
    margin: 10px 0;
}
ul.menuPerfil li a{
    display: block;
    padding: 5px;
    color: var(--secondary);
    background: var(--primary);
    text-decoration: none;
    font-weight: bold;
    border-radius:6px;
    font-size:13px;
}

/* Definição das animações */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Aplicação inicial (estado invisível para evitar "pulo" na tela) */
.profile-sidebar, .settings-form {
    opacity: 0;
    animation-fill-mode: forwards; /* Mantém o estado final da animação */
}

/* Gatilho das animações */
.profile-sidebar {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.settings-form {
    animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

/* ----------- :: #->  Ministério  <-# :: ----------- */

/* Estilo dos Cards */
.card-solicitacao { 
    border: 2px dashed #ee6b51 !important; 
    background: rgb(255 255 255 / 45%) !important;
}
.grid-equipe {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.badge-status {
    position: absolute;
    margin: -154px 0 0 23px;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
}