.learning-track-container {
    display: flex;
    margin-top: 24px;
    width: 100%;
}

/* Quando não está em challenge_stage, os containers ficam um em cima do outro */
.learning-track-container:not(:has(.learning-track-steps-sidebar)) {
    flex-direction: column;
}

.learning-track-container:not(:has(.learning-track-steps-sidebar)) .video-container,
.learning-track-container:not(:has(.learning-track-steps-sidebar)) .comments-container {
    width: 100%;
    max-width: 100%;
}

/* Player de vídeo e área de conteúdo principal */
.main-content-area {
    flex: 0 0 70%;
    width: 70%;
    max-width: 70%;
    min-width: 0;
    padding-right: 24px;
}

/* Container específico para comentários */
.learning-track-container.comments-container {
    display: block;
    padding: 0 24px;
    width: 100%;
}

.learning-track-container.comments-container .main-content-area {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
}

.learning-track-comments-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.learning-track-video-container {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.learning-track-player-wrapper {
    position: relative;
    padding-top: 56.25%;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.learning-track-video-player {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.learning-track-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.learning-track-video-progress-container {
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.learning-track-video-progress-bar {
    height: 100%;
    background-color: #feaf50;
    transition: width 0.2s;
}

.learning-track-header {
    background: #1a1b1e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    height: auto;
}

.learning-track-header-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.learning-track-thumbnail {
    flex: 0 0 200px;
    height: 120px;
}

.learning-track-thumbnail-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.learning-track-info {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    overflow: hidden;
}

.learning-track-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
}

.learning-track-phase {
    margin-top: 0.25rem;
    width: 100%;
    overflow: hidden;
}

.phase-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a0aec0;
    margin-bottom: 0.25rem;
}

.phase-description {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
    hyphens: auto;
}

.learning-track-stats {
    flex: 0 0 180px;
    text-align: right;
}

.score-container, .ranking-container {
    margin-bottom: 0.25rem;
    background: #2d3748;
    padding: 0.5rem;
    border-radius: 6px;
}

.score-label, .ranking-label {
    display: block;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-bottom: 0.125rem;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.ranking-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
}

.learning-track-nav {
    background: #2d3748;
    padding: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
}

.learning-track-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.learning-track-nav-container {
    display: flex;
    gap: 1rem;
    min-width: min-content;
    padding: 0.5rem;
}

.learning-track-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: #1a1b1e;
    border-radius: 8px;
    min-width: 100px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.learning-track-nav-item:hover {
    background: #4a5568;
    transform: translateY(-2px);
}

.learning-track-nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #1a1b1e;
    pointer-events: none;
}

.learning-track-nav-item.disabled:hover {
    transform: none;
    background: #1a1b1e;
}

.learning-track-nav-item.disabled .learning-track-nav-icon,
.learning-track-nav-item.disabled .learning-track-nav-text {
    filter: grayscale(1);
}

.disabled-label {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #4a5568;
    color: #e2e8f0;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1;
}

.learning-track-nav-item.disabled .learning-track-nav-icon {
    margin-top: 0px;
}

.learning-track-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.learning-track-nav-text {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Indicador de scroll horizontal */
.learning-track-nav::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(45, 55, 72, 0.9));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.learning-track-nav.has-overflow::after {
    opacity: 1;
}

/* Game steps sidebar */
.learning-track-steps-sidebar {
    flex: 0 0 30%; /* Ocupa 30% da largura */
    border: 1px solid #303030;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a1a;
    height: fit-content;
}

.learning-track-steps-active {
    border-left: 3px solid #feaf50;
}

.learning-track-steps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #252525;
    border-bottom: 1px solid #303030;
}

.learning-track-steps-info {
    display: flex;
    flex-direction: column;
}

.learning-track-steps-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.learning-track-steps-highlighted-title {
    color: #98FB98;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(152, 251, 152, 0.3);
}

.learning-track-steps-count {
    font-size: 13px;
    color: #aaa;
    margin-top: 4px;
}

.learning-track-steps-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.learning-track-steps-content-list {
    max-height: 600px;
    overflow-y: auto;
    width: 100%;
}

.learning-track-steps-content-list::-webkit-scrollbar {
    width: 6px;
}

.learning-track-steps-content-list::-webkit-scrollbar-track {
    background: #222;
}

.learning-track-steps-content-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.learning-track-steps-content-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #303030;
    width: 100%;
    box-sizing: border-box;
}

.learning-track-steps-content-item.active {
    background-color: #202020;
    border: solid 1px #101010;
}

.learning-track-steps-content-number {
    color: #aaa;
    font-size: 14px;
    min-width: 24px;
    padding-top: 4px;
}

.learning-track-steps-content-single-row {
    display: flex;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.learning-track-steps-content-double-row {
    display: flex;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.learning-track-steps-content-thumbnail-vert {
    position: relative;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.learning-track-steps-content-thumbnail-vert img {
    width: 100%;
}

.learning-track-steps-content-thumbnail {
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.learning-track-steps-content-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learning-track-steps-content-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 12px;
}

.learning-track-steps-content-header {
    padding: 16px;
    background-color: #252525;
    border-radius: 8px;
    margin-bottom: 16px;

}
.learning-track-steps-content-body {
    display: block; 
    width: 100%; 
    margin-top: 16px;
    font-size: 14px;
    color: #e0e0e0;
    box-sizing: border-box;
}

.learning-track-steps-content-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.learning-track-steps-content-name {
    font-size: 18px;
    font-weight: 600;
    color: #feaf50;
}

.learning-track-steps-content-name-vert {
    font-size: 18px;
    font-weight: 600;
    color: #feaf50;
    text-align: center;
}

.learning-track-steps-content-text {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.learning-track-steps-content-text-vert {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.5;
    text-align: center;
}

.learning-track-steps-content-body ul,
.learning-track-steps-content-body ol {
    padding-left: 0 !important;
}
.learning-track-steps-content-body ul li,
.learning-track-steps-content-body ol li {
    list-style-type: none;
    padding-left: 0 !important;
    margin-bottom: 10px;
}

.learning-track-steps-content-body ul li i {
    font-size: 1.2rem;
    margin-right: 5px;
}
.learning-track-steps-content-field {
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.learning-track-steps-content-field:first-child {
    margin-top: 0;
}

.learning-track-steps-content-field-title {
    color: #feaf50;
    font-weight: bold;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.learning-track-steps-content-field-title:first-child {
    margin-top: 0;
}

.learning-track-steps-content-field input,
.learning-track-steps-content-field textarea {
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #303030;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.learning-track-steps-content-field textarea {
    min-height: 200px;
    max-width: 100%;
}

.learning-track-steps-content-field button {
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}

.learning-track-steps-content-field-max-length {
    font-size: 12px;
    color: lightcoral;
    margin: 5px 0 5px 0;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

.learning-track-steps-content-field-answer {
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.learning-track-steps-details-button {
    align-self: flex-start;
    padding: 8px 24px;
    background-color: #feaf50;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.learning-track-steps-details-button:hover {
    background-color: #e09d45;
    transform: translateY(-2px);
}

/* Estilos para o wrapper de conteúdo dos passos */
.learning-track-steps-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.learning-track-steps-content-thumbnail {
    flex: 0 0 auto;
    width: 300px;
    height: 250px;
}

.learning-track-steps-content-thumbnail img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
}

/* Estilos para o modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    max-height: 70vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-text {
    line-height: 1.6;
    color: #333;
}

.modal-text p {
    margin-bottom: 15px;
}

/* Estilos para a página de aprovação */
.approval-container {
    margin: 2rem auto;
    background-color: #1a1b1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.approval-header {
    background-color: #2d3748;
    padding: 1.5rem;
    border-bottom: 1px solid #3a4a5e;
}

.approval-header h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.approval-content {
    padding: 1.5rem;
}

.approval-success {
    background-color: #252525;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #303030;
}

.approval-success h3 {
    color: #4ade80;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.approval-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approval-info-item {
    display: flex;
    border-bottom: 1px solid #303030;
    padding-bottom: 1rem;
}

.approval-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.approval-info-label {
    flex: 0 0 30%;
    color: #a0aec0;
    font-weight: 500;
}

.approval-info-value {
    flex: 0 0 70%;
    color: #e2e8f0;
}

/* Estilos para o cabeçalho dos comentários */
.comments-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0.5rem 0 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, #2d3748 0%, #1a1b1e 100%);
    border-radius: 8px;
    border-left: 4px solid #feaf50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start !important;
    text-align: left !important;
}

.comments-header i {
    color: #feaf50;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.comments-list {
    margin-top: 1rem;
    width: 100%;
}

/* Estilos para as abas do jogo */
.learning-track-tabs {
    background: #2d3748;
    padding: 0.5rem;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.learning-track-tabs-container {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.learning-track-tab {
    flex: 1;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: #1a1b1e;
    border: 1px solid transparent;
}

.learning-track-tab-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
}

.learning-track-tab.active {
    background: #feaf50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(254, 175, 80, 0.3);
}

.learning-track-tab.active .learning-track-tab-icon,
.learning-track-tab.active .learning-track-tab-text {
    color: #000;
}

.learning-track-tab:not(.disabled):hover {
    transform: translateY(-1px);
    background: #4a5568;
}

.learning-track-tab.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.learning-track-tab-icon {
    font-size: 1.25rem;
    color: #e2e8f0;
}

.learning-track-tab-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Indicador de desabilitado */
.learning-track-tab.disabled::after {
    content: '🔒';
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

.learning-track-tab-arrow {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    flex: 0 0 50px;
    max-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
}

.learning-track-tab-arrow[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

.learning-track-tab-arrow .learning-track-tab-content {
    padding: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.learning-track-tab-arrow .learning-track-tab-icon {
    font-size: 1.5rem;
    margin: 0;
}

.learning-track-tab-arrow .learning-track-tab-text {
    display: none;
}

.learning-track-tab-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.learning-track-tab-arrow.disabled .learning-track-tab-icon,
.learning-track-tab-arrow.disabled .learning-track-tab-text {
    color: #a0aec0;
}

.learning-track-tab-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Banner da trilha */
.track-banner-bar {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.12) 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}


.track-banner-bar-content {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px 10px 20px;
    position: relative;
    z-index: 1;
}

.track-banner-bar-thumbnail {
    width: 200px;
    height: 180px;
    margin-right: 24px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
}

.track-banner-bar-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.track-banner-bar-info {
    flex: 1;
}

.track-banner-bar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.track-banner-bar-title-highlight {
    color: #feaf50;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.track-banner-bar-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #feaf50;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.track-banner-bar-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0.9;
}

.track-banner-bar-description {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 12px;
}

.track-banner-bar-description::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #feaf50;
    font-size: 16px;
}

.track-banner-bar-cta {
    margin-top: 16px;
    position: relative;
}

.track-banner-bar-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #feaf50 0%, #ffc107 100%);
    color: #000;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(254, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.track-banner-bar-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.track-banner-bar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0px 0;
}

.track-banner-bar-list li {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 0px;
    line-height: 1.5;
    font-weight: 400;
}

.track-banner-bar-bullet-icon {
    font-size: 1.2em;
    color: #feaf50;
    margin-right: 10px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Sidebar de módulos */
.learning-track-module-sidebar {
    width: 380px;
    min-width: 380px;
    border: 1px solid #303030;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a1a;
    height: fit-content;
}

.learning-track-module-active {
    border-left: 3px solid #feaf50;
}

.learning-track-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #252525;
    border-bottom: 1px solid #303030;
}

.learning-track-module-info {
    display: flex;
    flex-direction: column;
}

.learning-track-module-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.learning-track-module-count {
    font-size: 13px;
    color: #aaa;
    margin-top: 4px;
}

.learning-track-module-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.learning-track-video-list {
    max-height: 600px;
    overflow-y: auto;
}

.learning-track-video-list::-webkit-scrollbar {
    width: 6px;
}

.learning-track-video-list::-webkit-scrollbar-track {
    background: #222;
}

.learning-track-video-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.learning-track-video-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #303030;
}

.learning-track-video-item.active {
    border: solid 1px #101010;
}

.learning-track-video-item:hover {
    background-color: #202020;
}

.learning-track-video-number {
    color: #aaa;
    font-size: 14px;
    min-width: 24px;
    padding-top: 4px;
}

.learning-track-video-link {
    display: flex;
    flex: 1;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.learning-track-video-thumbnail {
    position: relative;
    width: 120px;
    height: 68px;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.learning-track-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learning-track-video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 12px;
}

.learning-track-video-details {
    flex: 1;
    min-width: 0;
}

.learning-track-video-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learning-track-video-instructor {
    font-size: 12px;
    color: #aaa;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
    .watch-container {
        flex-direction: column;
    }
    
    .module-sidebar {
        width: 100%;
        min-width: 0;
        margin-top: 24px;
    }
}
@media (max-width: 1024px) {
    .learning-track-steps-content-thumbnail img {
        max-width: 250px;
    }

    .learning-track-thumbnail-img {
        height: 200px;
        object-position: center calc(50% - 30px);
        
    }

    .learning-track-steps-content-badge {
        position: absolute;
        bottom: 4px;
        left: 4px;
        width: 100px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .learning-track-container {
        flex-direction: column;
    }
    
    .learning-track-steps-sidebar,
    .main-content-area {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .video-container {
        width: 100%;
    }

    .player-wrapper {
        width: 100%;
    }

    .learning-track-header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding-top: 1rem;
    }

    .learning-track-thumbnail {
        flex: none;
        height: 200px;
        margin: -1rem -1rem 1rem -1rem;
        width: calc(100% + 2rem);
    }

    .learning-track-thumbnail-img {
        border-radius: 0;
        border: none;
        height: 200px;
        object-position: center calc(50% - 30px);
    }

    .learning-track-info {
        min-width: 0;
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .learning-track-phase {
        width: 100%;
        box-sizing: border-box;
    }

    .phase-description {
        font-size: 0.85rem;
        padding-right: 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .learning-track-stats {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        text-align: left;
        padding: 0 0.5rem;
    }

    .score-container, .ranking-container {
        margin-bottom: 0;
        flex: 0 0 48%;
    }

    .learning-track-nav-item {
        min-width: 90px;
        padding: 0.5rem 1rem;
    }
    
    .learning-track-steps-content-list {
        width: 100%;
        box-sizing: border-box;
    }
    
    .learning-track-steps-content-item {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }
    
    .learning-track-steps-content-body {
        width: 100%;
        box-sizing: border-box;
        margin-top: 12px;
    }
    
    .learning-track-steps-content-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }
    
    .learning-track-steps-content-thumbnail {
        width: 100%;
        height: 250px;
        box-sizing: border-box;
    }
    
    .learning-track-steps-content-details {
        width: 100%;
        box-sizing: border-box;
    }
    
    .learning-track-steps-content-text {
        font-size: 14px;
        color: #e0e0e0;
        line-height: 1.5;
        width: 90%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .learning-track-steps-content-field {
        width: 90%;
        box-sizing: border-box;
        margin-top: 15px;
        overflow: hidden;
    }
    
    .learning-track-steps-content-field:first-child {
        margin-top: 0;
    }
    
    .learning-track-steps-content-field input,
    .learning-track-steps-content-field textarea {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .learning-track-steps-content-field p {
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .learning-track-steps-content-field-answer {
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .approval-info-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .approval-info-label,
    .approval-info-value {
        flex: 0 0 100%;
    }
    
    .learning-track-tabs-container {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .learning-track-tab-content {
        padding: 0.5rem;
    }

    .track-banner-bar-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    .track-banner-bar-thumbnail {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 20px;
        align-self: auto;
    }
    .track-banner-bar-title {
        font-size: 18px;
    }
    .track-banner-bar-subtitle {
        font-size: 15px;
    }
    .track-banner-bar-description {
        font-size: 14px;
    }
    .track-banner-bar-cta {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    .track-banner-bar-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .video-item {
        padding: 8px;
    }
    
    .video-thumbnail {
        width: 100px;
        height: 56px;
    }
    
    .related-videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .comment-actions-buttons {
        flex-wrap: wrap;
    }
}

/* Media query específica para smartphones (telas menores) */
@media (max-width: 480px) {
    .learning-track-thumbnail-img {
        height: 180px;
        object-position: center calc(50% + 10px);
    }
    .learning-track-tabs {
        padding:0;
        padding-top:1rem;
        padding-bottom:0.5rem;
    }
}

/* Media query específica para iPads em modo retrato */
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
    .learning-track-thumbnail-img {
        height: 220px;
        object-position: center calc(50% - 40px);
    }
}

/* Estilos para validação de textarea */
.textarea-too-short {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 0 1px #ff4d4d;
}

.textarea-error-message {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Estilos para a página de aprendizado */
.learning-page-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background-color: #1a1b1e;
    border-radius: 8px;
    margin-bottom: 24px;
}

.learning-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
}

.learning-video-container {
    width: 100%;
    position: relative;
}

.learning-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.learning-instruction {
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.learning-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.learning-textarea-container {
    width: 100%;
}

.learning-textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #303030;
    background-color: #252525;
    color: #e2e8f0;
    font-size: 1rem;
    resize: vertical;
}

.learning-submit-container {
    display: flex;
    justify-content: flex-end;
}

.learning-submit-button {
    padding: 10px 20px;
    background-color: #feaf50;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.learning-submit-button:hover {
    background-color: #e09d45;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .learning-page-container {
        padding: 16px;
    }
}

/* Estilos para o mapa do jogo */
.learning-track-map-container {
    position: relative;
    width: 100%;
    padding: 10px 20px;
    margin-bottom: 10px;
    height: 60px;
}

.learning-track-map-progress-container {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 4px;
    background-color: #2d3748;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    cursor: help;
}

.learning-track-map-progress-container::after {
    content: attr(data-progress) '% do jogo concluído';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(254, 175, 80, 0.9);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.learning-track-map-progress-container:hover::after {
    opacity: 1;
    visibility: visible;
}

.learning-track-map-progress-info {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 11px;
    color: #a0aec0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learning-track-map-progress-bar {
    height: 100%;
    background-color: #feaf50;
    transition: width 0.3s ease;
    border-radius: 2px;
    position: relative;
}

.learning-track-map-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    z-index: 2;
    padding: 0 20px;
}

.learning-track-map-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.learning-track-map-step-link {
    text-decoration: none;
    outline: none;
}

.learning-track-map-step-link:hover,
.learning-track-map-step-link:focus {
    text-decoration: none;
    outline: none;
}

.learning-track-map-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #2d3748;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.learning-track-map-step.active .learning-track-map-step-number {
    background-color: #feaf50;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(254, 175, 80, 0.5);
    animation: pulseGlow 2s infinite ease-in-out;
    border: 2px solid #fff;
    font-weight: 800;
}

.learning-track-map-step:hover .learning-track-map-step-number {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(254, 175, 80, 0.5);
    background-color: #3a4a63;
    color: #feaf50;
}

.learning-track-map-step.active:hover .learning-track-map-step-number {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(254, 175, 80, 0.7);
    background-color: #feaf50;
    color: #000;
}

.learning-track-map-current-indicator {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: help;
}

.learning-track-map-current-indicator::after {
    content: 'Você está aqui';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(254, 175, 80, 0.9);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.learning-track-map-current-indicator:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

.learning-track-map-arrow {
    color: #00ff9d;
    font-size: 18px;
    animation: floatUpDown 1s infinite ease-in-out;
    text-shadow: 0 0 5px rgba(0, 255, 157, 0.5);
}

/* Estados desativados */
.learning-track-map-step.disabled {
    cursor: not-allowed;
    position: relative;
}

.learning-track-map-step.disabled .learning-track-map-step-link {
    pointer-events: none;
}

.learning-track-map-step.disabled .learning-track-map-step-number {
    background-color: #2d3748;
    color: #a0aec0;
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #4a5568;
}

.learning-track-map-step.disabled .learning-track-map-step-number::after {
    content: '🔒';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    background-color: #2d3748;
    border-radius: 50%;
    padding: 2px;
    border: 1px solid #4a5568;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.learning-track-map-step.disabled:hover .learning-track-map-step-number {
    transform: scale(1.05);
    background-color: #3a4a63;
    color: #cbd5e0;
    box-shadow: 0 0 10px rgba(74, 85, 104, 0.3);
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(254, 175, 80, 0.5),
                   0 0 10px rgba(254, 175, 80, 0.3),
                   0 0 15px rgba(254, 175, 80, 0.2);
        transform: scale(1.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(254, 175, 80, 0.7),
                   0 0 20px rgba(254, 175, 80, 0.5),
                   0 0 30px rgba(254, 175, 80, 0.3);
        transform: scale(1.15);
    }
    100% {
        box-shadow: 0 0 5px rgba(254, 175, 80, 0.5),
                   0 0 10px rgba(254, 175, 80, 0.3),
                   0 0 15px rgba(254, 175, 80, 0.2);
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .learning-track-map-container {
        padding: 10px;
        height: 50px;
    }

    .learning-track-map-steps {
        padding: 0 10px;
        gap: 8px;
    }

    .learning-track-map-progress-container {
        left: 25px;
        right: 25px;
    }

    .learning-track-map-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .learning-track-map-arrow {
        font-size: 16px;
        bottom: -14px;
    }

    .learning-track-map-step.disabled .learning-track-map-step-number::after {
        font-size: 10px;
        top: -3px;
        right: -3px;
    }

    /* Ajustes para telas muito pequenas */
    @media (max-width: 360px) {
        .learning-track-map-container {
            padding: 10px 5px;
        }

        .learning-track-map-steps {
            padding: 0 5px;
            gap: 5px;
        }

        .learning-track-map-step-number {
            width: 28px;
            height: 28px;
            font-size: 13px;
        }

        .learning-track-map-progress-container {
            left: 20px;
            right: 20px;
        }
    }

    .learning-track-map-progress-info {
        font-size: 10px;
    }
}

.learning-track-map-step.enabled .learning-track-map-step-number {
    cursor: pointer;
    position: relative;
}

.learning-track-map-step.enabled .learning-track-map-step-number::after {
    content: 'Acesse o Passo ' attr(data-phase);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(254, 175, 80, 0.9);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.learning-track-map-step.enabled .learning-track-map-step-number:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Estilos para a barra de números do jogador */
.player-numbers-bar {
    background-color: #1a1b1e;
    border-bottom: 1px solid #303030;
    padding: 12px 0;
    margin-bottom: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.player-numbers-bar.hidden {
    display: none;
}

.player-numbers-toggle {
    display: none; /* Esconde por padrão em desktop */
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #252525;
    border: 1px solid #303030;
    border-radius: 4px;
    color: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.player-numbers-toggle:hover {
    background-color: #2d3748;
    transform: translateY(-1px);
}

.player-numbers-toggle i {
    font-size: 16px;
    color: #feaf50;
}

@media (max-width: 768px) {
    .player-numbers-bar {
        display: none;
    }
    
    .player-numbers-bar.visible {
        display: block;
    }
    
    .player-numbers-toggle {
        display: flex; /* Mostra apenas em mobile */
        width: 100%;
        margin: 0 0 16px 0;
    }
}

.player-numbers-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.player-numbers-left,
.player-numbers-right {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex: 0 0 auto;
    padding: 0 16px;
    background-color: #1a1b1e;
}

.player-numbers-description {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    background-color: #252525;
    border-radius: 8px;
    border: 1px solid #303030;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.level-title {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
    line-height: 16px;
}

.level-description-title {
    font-size: 18px;
    font-weight: 600;
    color: #feaf50;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
    line-height: 22px;
}

.level-description-subtitle {
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    color: #a0aec0;
    margin-bottom: 8px;
    margin-top: 0px;
}

.level-description-text {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.5;
    max-width: 100%;
    cursor: help;
}

.level-description-text:hover {
    color: #feaf50;
}

.player-number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 12px;
    flex: 1;
    min-width: 160px;
}

.player-number-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: #303030;
}

.player-number-label {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-number-value {
    font-size: 24px;
    font-weight: 700;
    color: #feaf50;
    margin-bottom: 2px;
    text-shadow: 0 0 10px rgba(254, 175, 80, 0.3);
}

.player-number-subtitle {
    font-size: 11px;
    color: #718096;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}

.subtitle-label {
    color: #a0aec0;
    font-weight: 500;
}

.subtitle-value {
    color: #feaf50;
    font-weight: 600;
}

.quality-score-bar {
    width: 100px;
    height: 4px;
    background-color: #2d3748;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.quality-score-progress {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 1024px) {
    .player-numbers-container {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .player-numbers-left,
    .player-numbers-right {
        padding: 0;
        justify-content: center;
        width: 100%;
    }
    
    .player-numbers-description {
        min-width: 0;
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .player-numbers-left,
    .player-numbers-right {
        flex-direction: column;
    }
    
    .player-number-item {
        width: 100%;
        min-width: 0;
    }
}

.player-number-thumbnail {
    margin-top: 12px;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #303030;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.player-number-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.player-number-thumbnail:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .player-number-thumbnail {
        width: 160px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .player-number-thumbnail {
        width: 100%;
        height: 180px;
        margin: 12px auto 0;
    }
}

/* Estilos para a barra de evolução do nível */
.level-evolution-bar {
    background-color: #1a1b1e;
    border-radius: 12px;
    border: 1px solid #303030;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.level-evolution-container {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 24px;
    min-height: 400px;
    height: auto;
}

.level-evolution-left {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.level-evolution-thumbnail {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #303030;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.level-evolution-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.level-evolution-thumbnail:hover img {
    transform: scale(1.05);
}

.level-evolution-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.level-evolution-boxes {
    display: flex;
    gap: 16px;
    height: 100%;
}

.level-evolution-box {
    flex: 1;
    background-color: #252525;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #303030;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.level-evolution-boxes .level-evolution-box:nth-child(3) {
    background-color: #1e1f22;
    border: 1px solid #4a5568;
    box-shadow: 0 8px 16px rgba(254, 175, 80, 0.2),
                0 4px 8px rgba(254, 175, 80, 0.15),
                0 0 0 2px rgba(254, 175, 80, 0.1);
    position: relative;
    z-index: 1;
    transform: translateY(-2px);
}

.level-evolution-boxes .level-evolution-box:nth-child(3) .level-evolution-box-title {
    color: #feaf50;
    font-size: 14px;
    position: relative;
    padding-bottom: 8px;
}

.level-evolution-boxes .level-evolution-box:nth-child(3) .level-evolution-box-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: #4a5568;
}

.level-evolution-boxes .level-evolution-box:nth-child(3) .level-evolution-box-text {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
}

.level-evolution-box-title {
    font-size: 14px;
    font-weight: 600;
    color: #feaf50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.level-evolution-box-subtitle {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.level-evolution-box-text {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-y: auto;
    flex: 1;
    padding-right: 8px;
    max-height: 300px;
}

/* Estilização da barra de rolagem */
.level-evolution-box-text::-webkit-scrollbar {
    width: 6px;
}

.level-evolution-box-text::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 3px;
}

.level-evolution-box-text::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 3px;
}

.level-evolution-box-text::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

.player-number-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    background-color: #252525;
    border-radius: 8px;
    border: 1px solid #303030;
}

.player-number-label {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-number-value {
    font-size: 24px;
    font-weight: 700;
    color: #feaf50;
    margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(254, 175, 80, 0.3);
}

.player-number-subtitle {
    font-size: 12px;
    color: #718096;
    margin-bottom: 12px;
}

.quality-score-bar {
    width: 100%;
    height: 4px;
    background-color: #2d3748;
    border-radius: 2px;
    overflow: hidden;
}

.quality-score-progress {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 1024px) {
    .level-evolution-container {
        flex-direction: column;
        min-height: auto;
    }

    .level-evolution-left {
        flex: 0 0 auto;
        width: 100%;
    }

    .level-evolution-thumbnail {
        height: 200px;
    }

    .level-evolution-boxes {
        flex-direction: column;
        height: auto;
    }

    .level-evolution-box {
        min-height: 200px;
        max-height: 400px;
    }

    .level-evolution-box-text {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .level-evolution-container {
        padding: 16px;
        gap: 16px;
    }

    .level-evolution-box {
        padding: 12px;
    }

    .level-evolution-box-title {
        font-size: 13px;
    }

    .level-evolution-box-text {
        font-size: 13px;
    }

    .player-number-value {
        font-size: 20px;
    }
}

.no-evolution-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background-color: #1a1b1e;
    border-radius: 12px;
    border: 1px solid #303030;
    margin: 24px;
    text-align: center;
    gap: 24px;
}

.no-evolution-icon {
    font-size: 48px;
    color: #feaf50;
    opacity: 0.8;
}

.no-evolution-text h3 {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.no-evolution-text p {
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.5;
}

/* Estilos para o box de instruções */
.learning-track-instruction-box {
    background-color: #252525;
    border-radius: 8px;
    border: 1px solid #303030;
    margin-bottom: 24px;
    overflow: hidden;
}

.learning-track-instruction-box-header {
    background-color: #1a1b1e;
    padding: 16px;
    border-bottom: 1px solid #303030;
}

.learning-track-instruction-box-header h3 {
    color: #feaf50;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.learning-track-instruction-box-header h3::before {
    content: '📝';
    font-size: 20px;
}

.learning-track-instruction-box-content {
    padding: 16px;
}

.learning-track-instruction-box-title {
    color: #feaf50;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.learning-track-instruction-box-title i {
    font-size: 16px;
    color: #feaf50;
}

.learning-track-instruction-box-text,
.learning-track-instruction-box-full-text {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
}

.learning-track-instruction-box-toggle {
    color: #feaf50;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
    transition: all 0.2s ease;
}

.learning-track-instruction-box-toggle:hover {
    color: #e09d45;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .learning-track-instruction-box {
        margin-bottom: 16px;
    }

    .learning-track-instruction-box-header {
        padding: 12px;
    }

    .learning-track-instruction-box-header h3 {
        font-size: 16px;
    }

    .learning-track-instruction-box-content {
        padding: 12px;
    }

    .learning-track-instruction-box-title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .learning-track-instruction-box-title i {
        font-size: 15px;
    }

    .learning-track-instruction-box-text,
    .learning-track-instruction-box-full-text {
        font-size: 13px;
    }
}

.track-banner-bar-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.track-banner-bar-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.track-banner-bar-phase {
    font-size: 16px;
    color: #FDD835;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(254, 175, 80, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(254, 175, 80, 0.2);
}

.track-banner-bar-objective {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 10px;
}
.track-banner-bar-certification {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 0px;
}

.track-banner-bar-objective p,
.track-banner-bar-certification p {
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0;
}

.track-banner-bar-bullet-icon {
    font-size: 1.2em;
    color: #feaf50;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.track-banner-bar-details {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.track-banner-bar-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.track-banner-bar-detail-item span {
    font-size: 14px;
    color: #a0aec0;
}

@media (max-width: 768px) {
    .track-banner-bar-header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }

    .track-banner-bar-title {
        font-size: 20px;
    }

    .track-banner-bar-phase {
        font-size: 14px;
        align-self: flex-start;
    }

    .track-banner-bar-objective p,
    .track-banner-bar-certification p {
        font-size: 14px;
    }

    .track-banner-bar-details {
        flex-direction: column;
        gap: 12px;
    }
}

/* Estilos para os toggles do formulário de aprendizado */
.learning-toggles-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.learning-toggle-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.learning-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.learning-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.learning-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2d3748;
    transition: .4s;
    border-radius: 24px;
}

.learning-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.learning-toggle input:checked + .learning-toggle-slider {
    background-color: #feaf50;
}

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

.learning-toggle-content {
    flex: 1;
}

.learning-toggle-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.learning-toggle-description {
    font-size: 12px;
    color: #a0aec0;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .learning-toggle-item {
        gap: 12px;
    }

    .learning-toggle {
        width: 44px;
        height: 22px;
    }

    .learning-toggle-slider:before {
        height: 16px;
        width: 16px;
        left: 3px;
        bottom: 3px;
    }

    .learning-toggle input:checked + .learning-toggle-slider:before {
        transform: translateX(22px);
    }

    .learning-toggle-label {
        font-size: 13px;
    }

    .learning-toggle-description {
        font-size: 11px;
    }
}

/* Mensagem da próxima etapa */
.next-stage-message {
    background: linear-gradient(135deg, #1a1b1e 0%, #252525 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #303030;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.next-stage-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #feaf50, #ffc107, #feaf50);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.next-stage-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: #feaf50;
}

.next-stage-message-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.next-stage-message-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #feaf50, #ffc107);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(254, 175, 80, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(254, 175, 80, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(254, 175, 80, 0.5);
    }
}

.next-stage-message-icon i {
    font-size: 20px;
    color: #000;
    animation: spin 3s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.next-stage-message-text {
    flex: 1;
}

.next-stage-message-title {
    font-size: 18px;
    font-weight: 700;
    color: #feaf50;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(254, 175, 80, 0.3);
    letter-spacing: 0.5px;
}

.next-stage-message-description {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
    opacity: 0.9;
}

.next-stage-loading-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: #feaf50;
    border-radius: 50%;
    animation: loadingBounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .next-stage-message {
        padding: 20px;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .next-stage-message-content {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .next-stage-message-icon {
        width: 40px;
        height: 40px;
    }
    
    .next-stage-message-icon i {
        font-size: 18px;
    }
    
    .next-stage-message-title {
        font-size: 16px;
    }
    
    .next-stage-message-description {
        font-size: 13px;
    }
    
    .loading-dot {
        width: 6px;
        height: 6px;
    }
}

/* Links e Downloads */
.learning-track-links-downloads {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #2d2d2d;
}

.learning-track-links-downloads-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2d2d2d;
}

.learning-track-links-downloads-header i {
    font-size: 1.5rem;
    color: #feaf50;
}

.learning-track-links-downloads-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0;
}

.learning-track-links-section,
.learning-track-downloads-section {
    margin-bottom: 1.5rem;
}

.learning-track-links-section h4,
.learning-track-downloads-section h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.learning-track-links-list,
.learning-track-downloads-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learning-track-link-item,
.learning-track-download-item {
    margin-bottom: 0.75rem;
}

.learning-track-link-item:last-child,
.learning-track-download-item:last-child {
    margin-bottom: 0;
}

.learning-track-link-item a,
.learning-track-download-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #2d2d2d;
    border-radius: 6px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #3d3d3d;
}

.learning-track-link-item a:hover,
.learning-track-download-item a:hover {
    background: #3d3d3d;
    color: #feaf50;
    border-color: #feaf50;
    transform: translateY(-1px);
}

.learning-track-link-item i,
.learning-track-download-item i {
    font-size: 1.25rem;
    color: #9ca3af;
}

.learning-track-link-item a:hover i,
.learning-track-download-item a:hover i {
    color: #feaf50;
}

.file-size {
    margin-left: auto;
    font-size: 0.875rem;
    color: #9ca3af;
}

.learning-track-no-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    color: #9ca3af;
}

.learning-track-no-content i {
    font-size: 2rem;
    color: #6b7280;
}

.learning-track-no-content p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .learning-track-links-downloads {
        padding: 1rem;
        margin: 0.75rem 0;
    }

    .learning-track-links-downloads-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .learning-track-links-downloads-header i {
        font-size: 1.25rem;
    }

    .learning-track-links-downloads-header h3 {
        font-size: 1.1rem;
    }

    .learning-track-links-section h4,
    .learning-track-downloads-section h4 {
        font-size: 1rem;
    }

    .learning-track-link-item a,
    .learning-track-download-item a {
        padding: 0.5rem;
    }

    .learning-track-link-item i,
    .learning-track-download-item i {
        font-size: 1.1rem;
    }

    .file-size {
        font-size: 0.75rem;
    }
    .learning-track-tab-text {
        font-size: 0.7rem;
    }
}
