﻿/* 1) Reset básico */
* {
    margin: 0;
    padding: 0;
}

/* 2) Container principal que “ancora” o fundo absoluto */
.aluno-trilha-background {
    position: relative;
    background: #000a1c;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -60px;
    overflow: hidden;
    z-index: 0;
}

/* Parte inferior azul claro */
.aluno-trilha-background::after {
    content: "";
    position: absolute;
    top: 30%; /* a partir de 30% da altura */
    left: 0;
    width: 100%;
    height: 70%; /* o restante da tela */
    background-color: #AACEDF; /* azul claro */
    z-index: -1;
}

.aluno-trilha-container {
    position: relative;
    z-index: 0;
    padding-bottom: 60px;
    border-top-right-radius: 35px;
    border-top-left-radius: 35px;
    background: #AACEDF;
    margin-top: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* ← necessário para o sticky funcionar corretamente */
    overflow-x: hidden; /* ← para remover o scroll horizontal */
    max-height: 100vh; /* ← evita que tudo estoure a tela sem scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.aluno-trilha-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.botao-voltar-trilha {
    display: block;
    margin: 40px auto 20px auto;
    background-color: #0ea3ce;
    color: white;
    font-weight: bold;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.botao-voltar-trilha:hover {
    background-color: #0c90b8;
}

