:root {
    --color-background: #eee;
    --shade-background: #e1e1e1;
    --color-border: #444;
    --color-text: #222;
    --button-text: #fff;
    --ift-green: #00c000;
    --ift-green-hover: #008300;
    --ift-green-soft: #d4edda;
    --ift-blue: #007bff;
    --ift-blue-hover: #0056b3;
    --ift-blue-soft: #87cefa;
    --ift-red: #f55;
    --ift-red-hover: #c40000;
    --ift-yellow: #ffc107;
    --ift-yellow-hover: #d39e00;

    --header-height: 90px;
}

[data-theme="dark"] {
    --color-background: #333;
    --shade-background: #222;
    --color-text: #eee;
}

@media screen and (max-width: 640px) {
    :root {
        --header-height: 140px;
    }
}

html { /* Remover scrollbar e configura altura */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox, Safari 18.2+, Chromium 121+ */
}

html::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-top: var(--header-height);
}

.site-container > main {
    flex-grow: 1;
}

.main-header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--shade-background);
    font-size: 16px;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    margin: 0 auto;
    padding: 0;
}

.logo {
    position: absolute;
    top: 8px;
    left: 8px;
    max-height: 80px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a,
.footer-section a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: bold;
}

.main-nav a:hover,
.footer-section a:hover {
    text-decoration: underline;
}

/* https://dev.to/ananyaneogi/create-a-dark-light-mode-switch-with-css-variables-34l8 */
.theme-switch-wrapper {
    display: flex;
    align-items: center;

    em {
        margin-left: 10px;
        font-size: 1rem;
    }
}

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

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--ift-yellow);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: var(--button-text);
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked+.slider {
    background-color: var(--ift-blue-soft);
}

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

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

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

.tagline {
    color: var(--color-text);
    font-size: 0.95em;
    margin: 0 auto;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    min-width: 280px;
    max-width: 640px;
}

.btn-login {
    background-color: var(--ift-green);
    color: var(--color-background);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: bold;
}

.btn-login:hover {
    background-color: var(--ift-green-hover);
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.btn-logout {
    background-color: var(--ift-red);
    color: var(--color-background);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: bold;
}

.btn-logout:hover {
    background-color: var(--ift-red-hover);
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.code-animation-container {
    background-color: var(--shade-background);
    padding: 2rem;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
}

.token-keyword {
    /* if */
    color: var(--ift-green);
}

.token-function {
    /* contrate */
    color: var(--ift-blue);
}

.token-variable {
    /* talentos */
    color: var(--ift-red);
}

.token-punctuation {
    /* ( ) ; { } */
    color: var(--color-text);
}

.typed-cursor {
    opacity: 1;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.cta-buttons {
    margin-top: 2rem;
}

.btn.aluno,
.btn.empresa {
    padding: 12px 24px;
    text-decoration: none;
    color: var(--button-text);
    border-radius: 8px;
    margin: 0 12px;
    transition: background-color 0.3s;
}

.btn.aluno {
    background-color: var(--ift-blue);
}

.btn.aluno:hover {
    background-color: var(--ift-blue-hover);
}

.btn.empresa {
    background-color: var(--ift-green);
}

.btn.empresa:hover {
    background-color: var(--ift-green-hover);
}

.main-footer {
    background-color: var(--shade-background);
    color: var(--color-text);
    font-size: 16px;
    margin-top: 40px;
    padding: 20px 0 20px 0;
}

.footer-section {
    flex: 1;
}

.footer-section ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 20px;
    list-style: none;
    padding: 0;
}

hr {
    border: none;
    border-top: 1px solid var(--color-text);
    margin: 20px 0;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom {
    font-size: 0.9em;
    text-align: center;
}

@media screen and (max-width: 640px) {
    body {
        font-size: 24px;
    }

    .logo {
        display: block;
        margin-bottom: 1rem;
        max-height: 64px;
        position: static;
    }

    .main-header .container {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px 10px;
    }

    .main-nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .main-nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .btn {
        display: inline-block;
    }

    .footer-section ul {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Estilos específicos para a página "Login" */
.login-form-container {
    background-color: var(--shade-background);
    border-radius: 8px;
    margin: 0 auto;
    max-width: 400px;
    padding: 20px;
}

.input-icon {
    align-items: center;
    background: var(--ift-red);
    border-radius: 8px 0 0 8px;
    color: var(--button-text);
    display: flex;
    font-size: 24px;
    justify-content: center;
    padding: 9px 16px;
}

.form-group {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.form-group input {
    background-color: var(--color-background);
    border: none;
    border-radius: 0 8px 8px 0;
    color: var(--color-text);
    font-size: 16px;
    padding: 12px;
    width: 100%;
}

.form-group input:focus {
    outline: none;
}

.success-banner {
    background-color: var(--ift-green-soft);
    border: 1px solid var(--ift-green-hover);
    color: var(--ift-green-hover);
    border-radius: 5px;
    font-size: 0.64em;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
}

[data-theme="dark"] .success-banner {
    background-color: var(--ift-green-hover);
    border: 1px solid var(--ift-green-soft);
    color: var(--ift-green-soft);
}

.register,
.login-link,
.form-switcher {
    text-align: center;
    font-size: 0.8em;
}

.register a,
.login-link a,
.form-switcher a {
    color: var(--ift-blue);
    text-decoration: none;
    font-weight: bold;
}

.register a:hover,
.login-link a:hover,
.form-switcher a:hover {
    color: var(--ift-blue-hover);
    text-decoration: underline;
}

/* Estilos específicos para a página "Cadastro" */
.register-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.register-form-container {
    background-color: var(--shade-background);
    border-radius: 8px;
    margin: 0 auto;
    max-width: 500px;
    padding: 30px;
    text-align: center;
}

.register-form-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.register-form-container h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--ift-green);
}


/* Alinha label e input de data na mesma linha no cadastro */
.register-form-container .form-group.date-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-form-container .form-group.date-inline label {
    margin-bottom: 0;
    min-width: 120px;
    text-align: left;
}

.register-form-container .form-group.date-inline input[type="date"] {
    flex: 1;
    margin-bottom: 0;
}

/* Estilos para o seletor inicial */
#user-type-selector p {
    margin-bottom: 20px;
}

.selector-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.selection-btn {
    background-color: var(--ift-green);
    border: none;
    border-radius: 5px;
    color: var(--button-text);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 25px;
    transition: background-color 0.3s;
}

.selection-btn:hover {
    background-color: var(--ift-green-hover);
}

.error-message {
    color: var(--ift-red);
    /* Tom de vermelho para erro */
    font-size: 0.85em;
    text-align: left;
    width: 100%;
    padding-left: 5px;
    margin-bottom: 10px;
    /* Adiciona espaço antes do próximo campo */
    display: block;
}

/* Ajuste no .form-group para não usar flexbox, permitindo que a mensagem de erro fique abaixo */
.register-form-container .form-group {
    display: block;
}

/* Adiciona um destaque de erro ao campo de input */
.register-form-container .form-group input:has(+ .error-message) {
    border: 1px solid var(--ift-red-hover);
}

/* Reutilização e adaptação dos estilos do login */
.register-form-container .form-group {
    margin-bottom: 15px;
}

.register-form-container .form-group input {
    border-radius: 5px;
    /* Bordas uniformes para o cadastro */
    text-align: center;
}

/* Adaptação para campos de data */
.register-form-container .form-group label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.register-form-container .form-group input,
.register-form-container .form-group textarea,
.register-form-container .form-group select {
    display: block;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left;
}

.btn-register {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background-color: var(--ift-red);
    border: none;
    color: var(--button-text);
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.login-link {
    margin-top: 20px;
}

/* Estilos específicos para a página "Vagas" */
.vagas-list {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 15px;
    max-width: 60%;
    min-width: 280px;
}

.vaga-card {
    border: 1px solid var(--color-text);
    border-radius: 8px;
    background-color: var(--shade-background);
}

.vaga-summary {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Remove a seta padrão do <summary> */
}

.vaga-summary::-webkit-details-marker {
    display: none;
    /* Remove a seta padrão no Chrome/Safari */
}

.vaga-summary h3 {
    margin: 0;
    color: var(--ift-green);
    flex: 1;
    text-align: left;
}

.vaga-meta {
    font-size: 0.9em;
    color: var(--color-text);
    margin-left: 15px;
    background-color: var(--shade-background);
    padding: 3px 8px;
    border-radius: 4px;
}

.vaga-details {
    padding: 0 15px 15px 15px;
    border-top: 1px solid var(--color-text);
}

.vaga-details h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--color-text);
}

.vaga-details p {
    color: var(--color-text);
    line-height: 1.6;
}

.summary-arrow {
    transition: transform 0.2s;
}

details[open] .summary-arrow {
    transform: rotate(180deg);
}

.btn-candidatar,
.btn-link {
    background-color: var(--ift-green);
    color: var(--button-text);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.72em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.btn-candidatar:hover,
.btn-link:hover {
    background-color: var(--ift-green-hover);
    transition: background-color 0.3s ease-in-out;
}

/* Botão de salvar vaga */
.vaga-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-bookmark {
    background-color: transparent;
    border: 3px solid var(--color-text);
    color: var(--color-text);
    font-size: 0.8em;
    padding: 6px 10px;
    border-radius: 20%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: absolute;
    right: 0;
    bottom: 0;
}

.btn-bookmark:hover {
    color: var(--ift-green-hover);
    border-color: var(--ift-green-hover);
    transition: all 0.3s ease-in-out;
}

.btn-bookmark.saved {
    background-color: var(--ift-green);
    color: #fff;
    border-color: var(--ift-green);
}

.btn-bookmark.saved:hover {
    color: var(--color-text);
    border-color: var(--color-border);
    transition: all 0.3s ease-in-out;
}

.btn-vagas {
    color: var(--ift-blue);
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.btn-vagas:hover {
    color: var(--ift-blue-hover);
    transition: color 0.3s ease-in-out;
}

/* Estilos específicos para a página "Sobre o Projeto" */
.about-page .container {
    margin: 0 auto;
    max-width: 960px;
}

.about-section {
    border-bottom: 1px solid var(--color-text);
}

.about-page h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--ift-green);
    margin-bottom: 30px;
}

.about-page h3 {
    font-size: 1.8em;
    color: var(--ift-blue);
    border-bottom: 2px solid var(--ift-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.about-page h4 {
    font-size: 1.5em;
    color: var(--color-text);
    margin-bottom: 15px;
}

.about-page p {
    line-height: 1.7;
    font-size: 1.1em;
    color: var(--color-text);
}

.mission-statement {
    background-color: var(--shade-background);
    border-left: 5px solid var(--ift-green);
    padding: 20px;
    margin-top: 20px;
    font-style: italic;
    font-size: 1.2em !important;
}

.how-it-works-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.how-it-works-column ol,
.benefits-column ul {
    list-style: none;
    padding-left: 0;
}

.how-it-works-column li {
    background-color: var(--shade-background);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.benefits-column li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--color-text);
}

.who-we-are {
    text-align: center;
    border-bottom: none;
}

@media screen and (max-width: 640px) {
    .how-it-works-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ESTILOS PARA O SLIDESHOW DA EQUIPE */

.slideshow-container {
    max-width: 320px; /* Largura do slideshow */
    min-width: 200px;
    position: relative;
    margin: 40px auto 0 auto; /* Centraliza e adiciona margem no topo */
    overflow: hidden; /* Esconde os slides que estão fora da área visível */
    border-radius: 8px;
    border: 2px solid var(--color-border);
}

.slideshow-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Efeito de transição suave */
}

.slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    display: block; /* Remove espaço extra embaixo da imagem */
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--button-text);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 0.8em;
}

/* Estilo dos botões de navegação */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--button-text);
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 18px;
    transition: background-color 0.2s;
}

.slide-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide-btn.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.slide-btn.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Estilo dos pontos de navegação */
.slide-dots {
    text-align: center;
    position: absolute;
    bottom: 35px; /* Ajuste para ficar acima da legenda */
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--shade-background);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: var(--ift-green); /* Cor de destaque IFBA */
}

/* Estilos específicos para o Dashboard admin */
.admin-dashboard .container {
    max-width: 1200px;
    margin: 40px auto;
}

.admin-dashboard h1 {
    color: var(--color-text);
    margin-bottom: 5px;
}

.admin-dashboard p {
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 30px;
}

/* --- Cards de KPI --- */
.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kpi-card {
    background-color: var(--shade-background);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--ift-green);
}

.kpi-card h2 {
    margin: 0;
    font-size: 3em;
    color: var(--color-text);
}

.kpi-card p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.1em;
}

/* --- Lista Recente --- */
.dashboard-list {
    background-color: var(--shade-background);
    padding: 20px;
    border-radius: 8px;
}

.dashboard-list h3 {
    margin-top: 0;
    color: var(--color-text);
}

.crud-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.status-aberta,
.status-aprovada {
    background-color: var(--ift-green);
    color: var(--color-text);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.status-pendente {
    background-color: var(--ift-yellow);
    color: var(--color-text);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.status-expirada,
.status-fechada {
    background-color: var(--ift-red);
    color: var(--color-text);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

@media (max-width: 992px) {
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
}

/* Estilos específicos para o CRUD de vagas */
.admin-page .container {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-page h2 {
    color: var(--color-text);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-text);
}

/* ESTILOS DO FORMULÁRIO CRUD */
.crud-form {
    background-color: var(--shade-background);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-text);
    width: 60%;
    min-width: 320px;
    margin: 0 auto;
}

.crud-form .form-group {
    margin-bottom: 20px;
}

.crud-form label {
    display: block;
    margin: 0 8px 8px 0;
    font-weight: bold;
    color: var(--color-text);
}

.crud-form input,
.crud-form textarea,
.crud-form select {
    width: 100%;
    padding: 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-text);
    border-radius: 5px;
    color: var(--color-text);
    font-size: 0.8em;
}

.crud-form input:focus,
.crud-form textarea:focus,
.crud-form select:focus {
    outline: none;
    border-color: var(--ift-green-soft);
    box-shadow: 0 0 5px var(--ift-green-soft);
}

.crud-form .form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Botões do formulário */
.crud-form .btn {
    background-color: var(--ift-green);
    color: var(--button-text);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.crud-form .btn-secondary {
    background-color: var(--ift-red);
}

.crud-form .btn:hover {
    background-color: var(--ift-green-hover);
    transition: background-color 0.3s ease-in-out;
}

.crud-form .btn-secondary:hover {
    background-color: var(--ift-red-hover);
    transition: background-color 0.3s ease-in-out;
}

.crud-form label {
    margin-right: 8px;
}

/* ESTILOS DA TABELA CRUD */
.crud-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: var(--shade-background);
    border-radius: 8px;
    border: 1px solid var(--color-text);
}

.crud-table th,
.crud-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-text);
}

.crud-table th {
    background-color: var(--shade-background);
    color: var(--color-text);
    font-weight: bold;
}

.crud-table tbody tr {
    color: var(--color-text);
    transition: background-color 0.2s ease-in-out;
}

.crud-table tbody tr:hover {
    background-color: var(--shade-background);
}

/* Célula de Ações */
.crud-table .actions-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.crud-table .btn-edit,
.crud-table .btn-delete {
    padding: 6px 12px;
    border-radius: 5px;
    color: var(--button-text);
    text-decoration: none;
    font-size: 0.8em;
    border: none;
    cursor: pointer;
}

.crud-table .btn-edit {
    background-color: var(--ift-blue);
}

.crud-table .btn-delete {
    background-color: var(--ift-red);
}

.crud-table .btn-edit:hover {
    background-color: var(--ift-blue-hover);
    transition: background-color 0.3s ease-in-out;
}

.crud-table .btn-delete:hover {
    background-color: var(--ift-red-hover);
    transition: background-color 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .crud-form .form-group-row {
        grid-template-columns: 1fr;
    }

    .crud-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Estilos específicos para o CRUD de usuários */
.admin-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-text);
    display: flex;
}

.admin-tabs a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: bold;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease-in-out;
}

.admin-tabs a:hover {
    background-color: var(--ift-green-soft);
    color: var(--ift-green-hover);
}

.admin-tabs a.active {
    color: var(--ift-green);
    border-bottom-color: var(--ift-green);
}

.admin-actions .btn-create {
    background-color: var(--ift-green);
    color: var(--button-text);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.admin-actions .btn-create:hover {
    background-color: var(--ift-green-hover);
    transition: background-color 0.3s ease-in-out;
}

.table-container {
    overflow-x: auto;
}

.feedback-banner {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: var(--button-text);
    font-weight: bold;
}

.feedback-banner.success {
    background-color: var(--ift-green);
    border: 1px solid var(--ift-green-hover);
}

.feedback-banner.error {
    background-color: var(--ift-red);
    border: 1px solid var(--ift-red-hover);
}

/* Estilos específicos para a edição de usuários */
.crud-form h3 {
    color: var(--color-text);
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-text);
}

.crud-form .form-actions {
    margin-top: 30px;
}

label {
    margin-right: 8px;
}

/* Estilos específicos para a página de criar usuário */
#user-type-selector-admin {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

#user-type-selector-admin p {
    font-size: 1.2em;
    color: var(--color-text);
    margin-bottom: 20px;
}

#user-type-selector-admin .selector-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#user-type-selector-admin .selection-btn {
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid var(--color-text);
    background-color: var(--ift-blue);
    color: var(--button-text);
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

#user-type-selector-admin .selection-btn:hover {
    background-color: var(--ift-blue-hover);
    border-color: var(--color-text);
}

.register-form h3 {
    text-align: center;
    color: var(--color-text);
    margin-bottom: 25px;
}

/* ESTILOS PARA STATUS E PÁGINA DE APROVAÇÃO */
.status-tag {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.status-tag.status-pendente {
    background-color: #ffc107;
    color: #333;
}

.status-tag.status-aprovada {
    background-color: #28a745;
}

.status-tag.status-rejeitada {
    background-color: #dc3545;
}

.status-tag.status-expirada {
    background-color: #6c757d;
}

/* Página de Aprovação */
.approval-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.approval-card {
    background-color: var(--shade-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.approval-card .card-header {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.approval-card .card-header h3 {
    margin: 0;
}

.approval-card .card-body {
    padding: 15px;
}

.approval-card .card-body p {
    margin-top: 0;
}

.approval-card .card-actions {
    padding: 15px;
    background-color: var(--shade-background);
    border-top: 1px solid var(--color-border);
    text-align: right;
}

.approval-card .btn-success {
    background-color: var(--ift-green);
    color: var(--button-text);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.72em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.approval-card .btn-success:hover {
    background-color: var(--ift-green-hover);
    transition: background-color 0.3s ease-in-out;
}

.approval-card .btn-danger {
    background-color: var(--ift-red);
    color: var(--button-text);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.72em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.approval-card .btn-danger:hover {
    background-color: var(--ift-red-hover);
    transition: background-color 0.3s ease-in-out;
}

/* Estilos específicos para o Dashboard aluno */
.dashboard-aluno {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.feedback-banner.warning {
    background-color: var(--ift-yellow);
    color: var(--color-border);
    border: 1px solid var(--ift-yellow-hover);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    max-width: 960px;
}

.feedback-banner.warning a.btn {
    background-color: var(--ift-blue);
    color: var(--button-text);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.feedback-banner.warning a.btn:hover {
    background-color: var(--ift-blue-hover);
    transition: background-color 0.3s ease-in-out;
}

.dashboard-actions {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.action-card {
    background-color: var(--shade-background);
    padding: 25px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease-in-out;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--ift-green);
}

.action-card h3 {
    margin-top: 0;
    color: var(--ift-green);
}

/* Estilos específicos para o Meu perfil - aluno */
.profile-page .container {
    margin: 0 auto;
    max-width: 1200px;
}

.profile-page .container p {
    margin: 0 auto;
    max-width: 800px;
}

.profile-page .container .crud-form {
    margin-top: 20px;
}

/* Estilo para campos desabilitados, para que fiquem visualmente distintos */
.crud-form input:disabled {
    background-color: var(--color-border);
    cursor: not-allowed;
    color: var(--button-text);
}

.form-group label {
    font-size: 0.8em;
}

/* Ajuste para o banner de erro dentro do perfil */
.profile-page .feedback-banner ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feedback-banner {
    margin: 0 auto;
    margin-top: 2%;
    max-width: 420px;
}

/* Estilos específicos para empresas */
.dashboard-empresa {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.action-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #222;
}

.action-card.disabled:hover {
    transform: none;
    /* Remove o efeito de hover */
    border-color: #444;
    /* Mantém a borda padrão */
}

/* Estilos específicos para a página "Buscar Talentos" */
.talentos-page .container {
    margin: 0 auto;
    max-width: 60%;
    min-width: 280px;
}

.talentos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.aluno-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--shade-background);
}

.aluno-summary {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.aluno-summary::-webkit-details-marker {
    display: none;
}

.aluno-summary h3 {
    margin: 0;
    color: var(--ift-green);
}

.aluno-meta {
    font-size: 0.9em;
    color: var(--color-text);
    margin-left: 15px;
    padding: 3px 8px;
}

.aluno-details {
    padding: 0 15px 15px 15px;
    border-top: 1px solid var(--color-border);
}

.aluno-details h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.aluno-details p {
    color: var(--color-text);
    line-height: 1.6;
}

/* Estilo para as tags de habilidades */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background-color: var(--ift-green);
    color: var(--button-text);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.aluno-actions {
    margin-top: 20px;
}

/* Estilo para "Meu Perfil | Empresa */
.current-logo {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #1c1c1c;
    border: 1px solid #555;
    border-radius: 5px;
    display: inline-block;
}

.current-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

.crud-form small {
    color: var(--color-border);
    display: block;
    font-size: 0.60em;
    margin-top: -4px;
    margin-bottom: 8px;
}

/* Estilos para o formulário de contato */
.contact-page .container {
    max-width: 1200px; /* Um container mais estreito é melhor para formulários */
    margin: 0 auto;
}

.contact-page h1, .contact-page p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 0;
}

.contact-form-container {
    margin-top: 30px;
}