/* Estilos para progresso de alunos */

/* Container principal */
.student-progress-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Card de curso */
.course-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 48px;
}

.course-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.course-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.course-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
}

.course-progress-info {
    text-align: right;
}

.course-progress-percentage {
    font-size: 30px;
    font-weight: 700;
    color: #2563eb;
}

.course-progress-bar-container {
    width: 128px;
    background-color: #f3f4f6;
    border-radius: 8px;
    height: 16px;
    margin-top: 12px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.course-progress-bar-fill {
    background-color: #2563eb;
    height: 16px;
    border-radius: 8px;
    transition: all 1s ease-out;
    position: relative;
}

/* Estado vazio */
.empty-state {
    text-align: center;
    padding: 48px 0;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
    color: #3b82f6;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.empty-state-description {
    color: #6b7280;
}

/* Módulos */
.modules-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.module-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.module-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.module-header {
    background-color: #f9fafb;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-header:hover {
    background-color: #f9fafb;
}

.module-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-info {
    flex: 1;
}

.module-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.module-progress-percentage {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}

.module-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
}

.module-progress-bar-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 12px;
    margin-top: 8px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.module-progress-bar-fill {
    background-color: #059669;
    height: 12px;
    border-radius: 9999px;
    transition: all 1s ease-out;
    position: relative;
}

.module-icon {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.accordion-icon {
    color: #6b7280;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

/* Conteúdo do accordion */
.accordion-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.accordion-content.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Cards de aulas */
.lesson-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.lesson-card:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border-color: #93c5fd;
}

.lesson-content {
    display: flex;
    align-items: center;
}

.lesson-icon-container {
    flex-shrink: 0;
}

.lesson-icon {
    width: 32px;
    height: 32px;
    background-color: #d1d5db;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.lesson-icon svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.lesson-info {
    flex: 1;
    margin-left: 20px;
}

.lesson-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.lesson-status {
    font-size: 12px;
}

.lesson-status-completed {
    color: #059669;
    font-weight: 500;
}

.lesson-status-pending {
    color: #6b7280;
}

.lesson-details {
    flex-shrink: 0;
    text-align: right;
}

.lesson-completed-info {
    font-size: 12px;
    color: #6b7280;
}

.lesson-completed-date {
    font-weight: 500;
    color: #059669;
}

.lesson-completed-time {
    color: #6b7280;
}

.lesson-completed-hour {
    color: #9ca3af;
}

.lesson-pending-info {
    font-size: 12px;
    color: #6b7280;
}

.lesson-pending-status {
    font-weight: 500;
}

.lesson-pending-subtitle {
    color: #9ca3af;
} 