/* General background */
body {
    background-color: #fafafa; /* soft grayish white */
    margin: 0;
    font-family: Arial, sans-serif;
    color: #111;
}

/* Sticky header */
.app-header {
    position: sticky;
    top: 0;
    background-color: #f5f5f5; /* pastel soft background */
    color: #111827;
    padding: 2px 0px;
    text-align: center;
    font-size: 20px;
    font-weight: 200;
    border-bottom: 1px solid #111827;
    z-index: 1000; /* stays on top of graphs/buttons */
    display: flex;         /* flex container */
    align-items: center;  
    justify-content: center;
}

.main-header-title {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 0px;
    text-align: center;
    margin: 0; /* tira espaço extra */
    color: #6b7280;
}

.sub-header-title {
    font-size: 8px;
    font-weight: 600;
    padding: 2px 0px;
    text-align: center;
    margin: 20; /* tira espaço extra */
    color: #52565f;
}

/* Content */
.app-content {
    padding: 20px; /* no need for margin-top anymore */
}

.cta-button {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
}
.cta-button:hover {
    background-color: #1d4ed8;
}


/* Base button outline style */
.btn-outline-ramos {
    background: transparent;
    color: #111827;
    padding: 12px 0px;
    border: 2px solid #111827;
    border-radius: 25px;
    font-size: 12px;
    cursor: pointer;
    width: 120px;
    transition: all 0.1s ease;
  }
  
  /* Hover effect */
  .btn-outline-ramos:hover {
    background: #111827;
    color: white;
  }


  
.nav-btn {
    background-color: rgb(70, 70, 70);      /* default black */
    color: white;                 /* text and icon white */
    border: 1px solid rgb(70, 70, 70);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;                     /* spacing between icon and text */
    transition: all 0.2s ease;
}
.nav-btn span {
    text-decoration: none !important;
}
.nav-btn:visited {
    text-decoration: none !important;  /* remove underline */
    color: inherit !important;          /* inherit button color */
    outline: none !important;           /* remove focus outline */
    box-shadow: none !important;        /* remove any focus shadow */
}

.nav-btn:hover {
    background-color: transparent; /* becomes transparent */
    color: black;                  /* text + icon black */
    border: 1px solid black;       /* keeps border */
}

/* Remove browser focus underline/outline for nav buttons */
a .nav-btn,
a .nav-btn:focus,
a .nav-btn:active,
a .nav-btn:hover {
    text-decoration: none !important;  /* remove underline if any */
    outline: none !important;           /* remove focus outline */
    box-shadow: none !important;        /* remove any focus ring */
}

.nav-btn i {
    display: inline-block;                   /* prevents underline passing through */
    text-decoration: none !important;
}


.active-btn {
    background-color: #FF5F1F	 !important;
    color: white !important;
    border: 1px solid #FF5F1F;       /* keeps border */
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}




/* Ajuste da altura do Dropdown */
.custom-dropdown .Select-control {
    min-height: 20px !important;   /* altura total */
    height: 20px !important;
    padding: 0 8px !important;     /* menos espaço interno */
    font-size: 14px !important;    /* texto menor */
    line-height: 10px !important;  /* centraliza verticalmente */
}

/* Ajuste do texto selecionado */
.custom-dropdown .Select-value-label {
    line-height: 20px !important;
}

/* Ajuste do placeholder */
.custom-dropdown .Select-placeholder {
    line-height: 20px !important;
}

.radio-buttons input[type="radio"] {
    display: none;
}

/* Cada label como botão */
.radio-buttons label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
    margin-right: 8px;
    transition: all 0.2s;
    user-select: none;
}

/* Hover */
.radio-buttons label:hover {
    background: #eaeaea;
}

/* Botão selecionado: label que contém input checked */
.radio-buttons label:has(input:checked) {
    background: rgb(50, 50, 50);
    color: white;
    border-color: rgb(50, 50, 50);
    font-weight: 500;
}

/* ---------- Typing effect (corrigido) ---------- */

/* Se a classe estiver no UL */
.typing-text li {
    opacity: 0;
    display: block;             /* block garante alinhamento à esquerda */
    white-space: nowrap;
    overflow: hidden;           /* esconde o texto até a animação */
    text-align: left;           /* alinhado desde o início */
    animation: typing 2s steps(40, end) forwards;
    border-right: none;         /* sem cursor */
}

.typing-text li:nth-child(1) { animation-delay: 0s; }
.typing-text li:nth-child(2) { animation-delay: 2.5s; }
.typing-text li:nth-child(3) { animation-delay: 5s; }
.typing-text li:nth-child(4) { animation-delay: 7.5s; }

@keyframes typing {
    from { opacity: 1; width: 0; }
    to   { opacity: 1; width: 100%; }
}




.login-button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #366899;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #2b5270;
}

.close-button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.close-button:hover {
    background-color: #f0f0f0;
}


.big-btn {
    background-color: rgb(70, 70, 70);   /* cinza escuro */
    color: white;                        /* texto branco */
    border: none;
    border-radius: 20px;
    padding: 30px 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

/* Ícones dentro dos botões */
.big-btn i {
    color: white !important;   /* força ícones brancos */
    font-size: 22px;
}

.big-btn:hover {
    background-color: #FF5F1F;  /* hover em laranja */
    color: white;              /* mantém texto branco */
    transform: scale(1.05);
    box-shadow: 0px 6px 14px rgba(0,0,0,0.25);
}

.big-btn:hover i {
    color: white !important;   /* ícone continua branco no hover */
}

/* Remove sublinhado dos links */
a {
    text-decoration: none !important;
}
