/* usuario/assets/css/style.css */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos gerais */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0d0d2b;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #1a1a40;
    padding: 15px;
    text-align: center;
    position: relative;
}

header .logo img {
    width: 80px;
}

header h1 {
    margin-top: 10px;
    font-size: 2em;
    font-family: 'Orbitron', sans-serif;
    color: #e6e6ff;
}

header .login-link {
    position: absolute;
    top: 15px;
    right: 20px;
}

header .login-link a {
    color: #ffffff;
    background-color: #ff6600;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

header .login-link a:hover {
    background-color: #e65c00;
}

nav {
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    padding: 10px 15px;
    background-color: #333366;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #4d4d99;
}

main {
    flex: 1;
    padding: 20px;
    width: 100%;
}

footer {
    background-color: #1a1a40;
    padding: 15px;
    text-align: center;
}

footer p {
    margin: 0;
    color: #e6e6ff;
}

/* Estilos para o Painel do Usuário */
.dashboard {
    text-align: center;
    color: #e6e6ff;
}

.dashboard h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.dashboard p {
    font-size: 1.2em;
}

/* Estilos para o Perfil do Usuário */
.perfil {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1a40;
    padding: 20px;
    border-radius: 8px;
}

.perfil .area-foto-perfil {
    text-align: center;
    margin-bottom: 20px;
}

.perfil .area-foto-perfil img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.perfil .campo {
    margin-bottom: 15px;
}

.perfil .campo label {
    font-weight: bold;
    color: #ffcc00;
}

.perfil .campo p {
    margin-top: 5px;
    color: #ccccff;
}

/* Estilos para o Formulário de Edição */
.formulario {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1a40;
    padding: 20px;
    border-radius: 8px;
}

.formulario label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #e6e6ff;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="password"],
.formulario textarea,
.formulario select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: #333366;
    color: #ffffff;
    font-size: 1em;
}

.formulario input[type="file"] {
    margin-bottom: 15px;
    color: #ffffff;
}

.formulario button {
    width: 100%;
    padding: 12px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.formulario button:hover {
    background-color: #e65c00;
}

.area-foto-perfil {
    text-align: center;
    margin-bottom: 0px;
}

.area-foto-perfil img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.area-foto-perfil input[type="file"] {
    display: none;
}

.area-foto-perfil label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.area-foto-perfil label:hover {
    background-color: #e65c00;
}

/* Seção de Introdução */
.intro {
    background-color: #1a1a40;
    padding: 40px 20px;
    color: #e6e6ff;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    flex: 1;
    min-width: 280px;
    margin-right: 20px;
}

.intro-text h2 {
    font-size: 2.5em;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.2em;
    line-height: 1.5;
}

.intro-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Botão de Filtro */
.filter-button-container {
    text-align: center;
    margin: 20px 0;
}

#open-filter-button {
    padding: 12px 25px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#open-filter-button:hover {
    background-color: #e65c00;
}

#open-filter-button i {
    margin-right: 8px;
}

/* Estilos do Modal */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed; /* Fica no lugar */
    z-index: 1000; /* Fica acima de outros elementos */
    left: 0;
    top: 0;
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    overflow: auto; /* Ativa scroll se necessário */
    background-color: rgba(0, 0, 0, 0.8); /* Preto com opacidade */
}

.modal-content {
    background-color: #1a1a40;
    margin: 5% auto; /* Ajuste para exibir melhor em telas menores */
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    color: #e6e6ff;
    position: relative;
}

.close-modal {
    color: #ffffff;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #ff6600;
}

/* Formulário de Filtro dentro do Modal */
.modal .filtros {
    background-color: transparent;
    padding: 0;
}

.modal .filtros .filtro-campo {
    margin: 15px 0;
}

.modal .filtros label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.modal .filtros select {
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    background-color: #333366;
    color: #ffffff;
}

.modal .filtros button {
    width: 100%;
    padding: 12px 25px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
}

.modal .filtros button:hover {
    background-color: #e65c00;
}

/* Mural */
.mural {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mural .perfil {
    background-color: #1a1a40;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.mural .perfil:hover {
    transform: scale(1.05);
}

.mural .perfil .area-foto-perfil {
    position: relative;
}

.mural .perfil .area-foto-perfil img {
    border: 3px solid transparent;
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.mural .perfil .badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.mural .perfil .badge img {
    width: 30px;
}

.mural .perfil .info-perfil {
    margin-top: 10px;
}

.mural .perfil h2 {
    font-size: 1.2em;
    font-family: 'Orbitron', sans-serif;
    color: #e6e6ff;
    margin-bottom: 5px;
}

.mural .perfil p {
    font-size: 0.9em;
    color: #ccccff;
}

.mural .perfil p strong {
    color: #ffcc00;
}

.mural .perfil .status {
    margin-top: 10px;
    font-weight: bold;
    color: #ff6600;
}

/* Estilo para usuários "Formados" */
.mural .perfil.formado .area-foto-perfil img {
    border-color: #4caf50;
}

/* Estilo para usuários "Em Formação" */
.mural .perfil.em-formacao .area-foto-perfil img {
    border-color: #ffcc00;
}

/* Estilos para o botão "Saiba Mais" */
.saiba-mais-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.saiba-mais-btn:hover {
    background-color: #e65c00;
}



























/* Estilos para o modal de perfil expandido */
.perfil-expandido-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.perfil-expandido-content .area-foto-perfil {
    flex: 1 1 200px;
    text-align: center;
}

.perfil-expandido-content .area-foto-perfil img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.perfil-expandido-content .info-perfil-expandido {
    flex: 2 1 300px;
    color: #e6e6ff;
}

.info-perfil-expandido h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.info-perfil-expandido p {
    margin-bottom: 5px;
    font-size: 1em;
    line-height: 1.2;
    border-bottom: 1px solid #333366;
}

.info-perfil-expandido p strong {
    color: #ffcc00;
}

.contatos {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contatos a {
    display: block;
    width: 100%;
    margin-bottom: 10px; /* Espaçamento entre os botões */
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    text-align: center;
    padding: 10px;
    background-color: #08C89E; /* Ajuste conforme necessário */
    border-radius: 5px;
}

.contatos a i {
    margin-right: 5px;
    font-size: 1.2em;
}



.btn-social {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px; /* Para melhor alinhamento em mobile */
    padding: 8px 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-social i {
    margin-right: 5px;
    font-size: 1.2em;
}

/* Estilos personalizados para os botões */
.btn-social.instagram {
    background: #E1306C;
}

.btn-social.instagram:hover {
    background: #C13584;
}

.btn-social.whatsapp {
    background: #25D366;
}

.btn-social.whatsapp:hover {
    background: #128C7E;
}



/* Responsividade */
@media (max-width: 1200px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .perfil-expandido-content {
        flex-direction: column;
        align-items: center;
    }

    .perfil-expandido-content {
        margin-top: 20px;
        text-align: left;
    }
    .info-perfil-expandido {
        margin-top: 0px;
    }
}























@media (max-width: 768px) {
    
    .intro {
    padding: 20px 20px 0px 20px;
    }
    
    nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px; /* Adiciona espaço entre os itens */
        
    }
    

    nav ul li {
        margin: 5px 0;
        gap: 15px;
    }

    .formulario button {
        font-size: 1em;
    }
    
    .mural {
        grid-template-columns: repeat(2, 1fr);
    }
}


    .mural .perfil {
        padding: 10px;
    }

    .mural .perfil h2 {
        font-size: 0.8em;
    }

    .mural .perfil p {
        font-size: 0.8em;
    }

    .mural .perfil .badge img {
        width: 25px;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.5em;
    }

    .dashboard h2 {
        font-size: 1.5em;
    }

    .formulario button {
        font-size: 0.9em;
    }

    .mural .perfil {
        padding: 8px;
    }

    .mural .perfil h2 {
        font-size: 0.9em;
    }

    .mural .perfil p {
        font-size: 0.75em;
    }

    .mural .perfil .badge img {
        width: 20px;
    }
}

/* Estilos para a página de login */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: #1a1a40;
    padding: 20px;
    border-radius: 8px;
    color: #e6e6ff;
}

.login-container .erro {
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

.login-container .formulario label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #e6e6ff;
}

.login-container .formulario input[type="email"],
.login-container .formulario input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: #333366;
    color: #ffffff;
    font-size: 1em;
}

.login-container .formulario button {
    width: 100%;
    padding: 12px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-container .formulario button:hover {
    background-color: #e65c00;
}

.login-container .link-cadastro {
    text-align: center;
    margin-top: 15px;
}

.login-container .link-cadastro a {
    color: #ff6600;
    text-decoration: none;
}

.login-container .link-cadastro a:hover {
    text-decoration: underline;
}








.filter-button-container {
    display: flex;
    gap: 10px;
    justify-content: center; /* Centraliza os botões horizontalmente */
    margin-top: 20px;
}

#open-filter-button, #login-button, #support-button {
    padding: 10px 10px;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#open-filter-button {
    background-color: #ff6600;
}

#login-button {
    background-color: #28a745; /* Fundo verde */
}

#support-button {
    background-color: #007bff; /* Fundo azul para o botão de suporte */
}

#open-filter-button:hover {
    background-color: #e65c00;
}

#login-button:hover {
    background-color: #218838;
}

#support-button:hover {
    background-color: #0056b3;
}



.area-foto-perfil {
    position: relative;
    display: block;
}

.foto-perfil-container {
    position: relative;
    display: inline-block;
    padding: 10px; /* Espaço entre a foto e a borda */
    background: #ffffff; /* Cor de fundo para a simulação da ficha */
    border: 2px solid #131E34; /* Borda externa principal */
    border-radius: 12px; /* Bordas arredondadas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para destaque */
}

.foto-perfil {
    width: 100px; /* Ajuste conforme necessário */
    height: 100px; /* Ajuste conforme necessário */
    border-radius: 50%;
    border: 2px dashed #234EA1; /* Borda interna com estilo de linha para o efeito de entrevista */
    box-sizing: border-box;
    padding: 5px;
}

.badge-formado, .badge-em-formacao {
    position: absolute;
    top: -5px; /* Posição fora da borda para se sobrepor */
    left: -5px;
    width: 30px; /* Ajuste conforme necessário */
    height: 30px; /* Ajuste conforme necessário */
}

.badge-formado img, .badge-em-formacao img {
    width: 100%;
    height: auto;
}




/* Estilos para o perfil destacado */
.perfil.destacado {
    border: 2px solid #ff6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.7);
    animation: destaque-pulse 1s infinite;
}

@keyframes destaque-pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 102, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 1);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 102, 0, 0.7);
    }
}



/* Estilo para o botão Painel */
#painel-button {
    padding: 12px 25px;
    background-color: #08C89E; /* Cor de fundo para diferenciar do botão de login */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px; /* Ajuste de espaçamento */
}

#painel-button i {
    margin-right: 8px; /* Espaço entre o ícone e o texto */
}

#painel-button:hover {
    background-color: #06a582; /* Cor de fundo ao passar o mouse */
}



/* Estilos para o formulário de Diário de Bordo */
.formulario-diario {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1a1a40;
    padding: 20px;
    border-radius: 8px;
    color: #e6e6ff;
    font-family: 'Roboto', sans-serif;
}

.formulario-diario h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #ffcc00;
}

.formulario-diario p {
    font-size: 0.9em;
    color: #ccccff;
    font-style: italic;
    margin: 5px 0 15px;
    line-height: 1.4;
}

.formulario-diario label {
    display: block;
    font-weight: bold;
    color: #ffcc00;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.formulario-diario input[type="number"],
.formulario-diario textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: #333366;
    color: #ffffff;
    font-size: 1em;
    resize: vertical;
}

.formulario-diario textarea {
    min-height: 80px;
}

.formulario-diario button {
    width: 100%;
    padding: 12px;
    background-color: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.formulario-diario button:hover {
    background-color: #e65c00;
}

/* Responsividade */
@media (max-width: 600px) {
    .formulario-diario {
        padding: 15px;
    }

    .formulario-diario h1 {
        font-size: 1.5em;
    }

    .formulario-diario label {
        font-size: 1em;
    }

    .formulario-diario p {
        font-size: 0.85em;
    }
}



/* Estilos para o painel do usuário */
.dashboard h2 {
    font-size: 1.8em;
    color: #ffcc00;
    margin-bottom: 20px;
}

.perfil-section,
.diario-section {
    background-color: #1a1a40;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.perfil-section h3,
.diario-section h3 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.perfil-section p,
.diario-section p {
    color: #e6e6ff;
    margin-bottom: 15px;
}

.btn-perfil {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-perfil:hover {
    background-color: #e65c00;
}

.diario-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.diario-card {
    background-color: #333366;
    padding: 15px;
    border-radius: 8px;
    color: #ffffff;
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.diario-card h4 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.btn-diario {
    display: inline-block;
    padding: 8px 15px;
    background-color: #ff6600;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-diario:hover {
    background-color: #e65c00;
}

/* Responsividade */
@media (max-width: 768px) {
    .diario-cards {
        flex-direction: column;
        align-items: center;
    }
}


/* Estilos para a entrada do Diário de Bordo */
.formulario-diario h1 {
    text-align: center;
    color: #ffcc00;
    margin-bottom: 20px;
}

.diario-entry h3 {
    color: #ffcc00;
    margin-top: 20px;
    font-size: 1.0em;
}

.diario-entry p {
    color: #e6e6ff;
    margin: 5px 0 15px;
    line-height: 1.5;
    border-bottom: 1px solid #333366;
}

.btn-editar {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 20px;
    background-color: #ff6600;
    color: #ffffff;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-editar:hover {
    background-color: #e65c00;
    display: flex; 
    justify-content: center;
}


/* Estilo para o botão de Novo Diário de Bordo */
.btn-novo-diario {
    display: inline-block;
    margin: 10px 0 20px;
    padding: 10px 15px;
    background-color: #ff6600;
    color: #ffffff;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-novo-diario:hover {
    background-color: #e65c00;
}

/* Estilos para o card do diário */
.diario-card {
    background-color: #08C89E;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.diario-card h4 {
    color: #ffcc00;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.btn-diario {
    display: inline-block;
    padding: 8px 12px;
    background-color: #333366;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.9em;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-diario:hover {
    background-color: #4d4d99;
}


.perfil-detalhes {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    background-color: #1a1a40;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    color: #e6e6ff;
    line-height: 1.6;
}

.perfil-detalhes .area-foto-perfil {
    text-align: center;
    margin-bottom: 0px;
}

.perfil-detalhes .area-foto-perfil img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.perfil-detalhes p {
    margin: 2px 0;
    font-size: 0.9em;
    display: block; /* Alinha o conteúdo verticalmente */
    text-align: left; /* Alinha o texto à esquerda */
    border-bottom: 1px solid #333366;
    padding-bottom: 0px;
}

.perfil-detalhes .label {
    font-weight: bold;
    color: #ff9900;
    margin-bottom: 0px; /* Espaço entre o rótulo e o valor */
}


.btn-editar-perfil {
    display: inline-block;
    padding: 8px 12px;
    background-color: #ff9900;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.9em;
}

.btn-editar-perfil:hover {
    background-color: #e68900;
}

@media (max-width: 576px) {
    .perfil-detalhes {
        padding: 0px;
    }

    .perfil-detalhes p {
        font-size: 0.85em;
        flex-direction: column;
        align-items: flex-start;
    }

    .perfil-detalhes .area-foto-perfil img {
        width: 100px;
        height: 100px;
    }
}
