﻿

:root {
    --brand: #00ed3b;
    --card: #12181a;
    --muted: #c7d1cc;
    --ink: #e2e7e3;
    --danger: #ff4d4f;
    --warn: #f6c23e;
    --ok: #1fbf75;
    --shadow: 0 10px 30px rgba(0,0,0,.25);
    --radius: 16px;
}

.ead-theme h2, .ead-theme h3, .ead-theme h4, .ead-theme a, .ead-theme span {
    color: var(--ink);
}

.profile {
    display: flex;
    align-items: center;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}


.a-menu-dest {
    color: #e2e7e3;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

    .a-menu-dest:hover {
        color: var(--brand) !important;
        font-weight: bold;
        transform: scale(1.05);
    }

    .a-menu-dest::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 18px;
        width: calc(100% - 36px);
        height: 3px;
        background-color: #039C14;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    }

.str-destaque {
    color: var(--brand) !important;
}

.status.ongoing {
    color: var(--warn) !important;
}

.progress-bar-container.thin {
    height: 5px;
}

.progress-bar.thin {
    height: 5px;
}






    /*BADGES SECTIONS*/


.badges-section {
    background-color: #0b0f10;
    padding: 50px 0;
    text-align: center;
    border-radius: 10px;
}



/* Título da seção */
.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #00ed3b; /* Cor destaque */
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #e2e7e3; /* Cor normal */
    margin-bottom: 40px;
}

/* Container das badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;   
    justify-items: center;
    margin: 0px 10px 0px 10px;
}

/* Cartões de Badge */
.badge-card {
    background-color: #1e2a1b; /* Cor de fundo do cartão */
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .badge-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    }

/* Imagem da Badge */
.badge-img-container {
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 20px;
    display: inline-block;
     box-shadow: 0 4px 10px #ffff;
}

.badge-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

/* Títulos e informações da Badge */
.badge-info {
    text-align: center;
}

.badge-title {
    font-size: 20px;
    font-weight: 600;
    color: #e2e7e3; /* Cor normal */
    margin-bottom: 10px;
}

.badge-date {
    font-size: 14px;
    color: #7f8c8d;
}





/* Estilo da Seção de Missões */
.missoes-section {
    background-color: #0b0f10; /* Cor de fundo */
    padding: 50px 0;
    text-align: center;
    border-radius: 10px;
}

.missoes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.missao-card {
    background-color: #1e2a1b; /* Cor de fundo dos cartões */
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .missao-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    }

/* Cabeçalho da Missão */
.missao-header {
    margin-bottom: 20px;
}

.missao-status {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
}

.missao-card .ongoing {
    background-color: yellowgreen; /* Cor destaque */
    color: white;
}

.missao-card .completed {
    background-color: #2ecc71;
    color: white;
}

.missao-card .upcoming {
    background-color: #f39c12;
    color: white;
}

/* Informações da Missão */
.missao-info {
    margin-bottom: 20px;
}

.missao-title {
    font-size: 20px;
    font-weight: 600;
    color: #e2e7e3; /* Cor normal */
    margin-bottom: 10px;
}

.missao-desc {
    font-size: 14px;
    color: #7f8c8d;
}

/* Rodapé da Missão */
.missao-footer {
    display: block;
    justify-content: space-between;
    align-items: center;
}

.missao-pontos {
    font-size: 16px;
    font-weight: bold;
    color: #e2e7e3; /* Cor normal */
}

.btn-missao {
    padding: 10px 20px;
    background-color: yellowgreen; /* Cor de destaque */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-missao:hover {
        background-color: #28a745; /* Cor mais escura para hover */
    }

    .btn-missao.completed {
        background-color: #7f8c8d; /* Cor para botão de missão concluída */
        cursor: not-allowed;
    }

        .btn-missao.completed:hover {
            background-color: #95a5a6; /* Cor mais clara para hover */
        }





















/* Estilo da Seção de Ranking */

.ranking-section {
    background-color: #0b0f10; /* Cor de fundo */
    padding: 50px 0;
    text-align: center;
    border-radius: 10px;
}
/* Container dos cartões de ranking */
.ranking-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Cartões de Ranking */
.ranking-card {
    background-color: #1e2a1b; /* Cor de fundo do cartão */
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ranking-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    }

    .ranking-card .avatar-letra {
        width: 50px;
        height: 50px;
    }
/* Cartão do melhor aluno */
.top-student {
    background-color: #00ed3b99; /* Cor de destaque */
    color: #0b0f10; /* Contraste de cor */
}

/* Cabeçalho do cartão */
.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ranking-position {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}

.ranking-badge {
    font-size: 16px;
    background-color: #2ecc71;
    color: #fff;
    padding: 5px 15px;
    border-radius: 25px;
}

/* Informações do Aluno */
.ranking-info {
    margin-bottom: 20px;
}

.ranking-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.ranking-name {
    font-size: 20px;
    font-weight: 600;
    color: #e2e7e3; /* Cor normal */
    margin-bottom: 10px;
}

.ranking-points {
    font-size: 16px;
    color: #7f8c8d;
}

/* Botão de "Ver Todos" */
.btn-view-all {
    padding: 10px 20px;
    background-color: #00ed3b; /* Cor de destaque */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

    .btn-view-all:hover {
        background-color: #28a745; /* Cor mais escura para hover */
    }
