/* Reset básico */
.tad-dashboard * {
    box-sizing: border-box;
    text-decoration: none;
}

/* Estilo principal del dashboard */
.tad-dashboard {
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    color: #333;
}

/* Título del dashboard */
.tad-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

/* Tarjetas resumen */
.tad-summary-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tad-card {
    background-color: #f7f7f7;
    padding: 1.5rem;
    border-radius: 1rem;
    flex: 1 1 250px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tad-card h4 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.tad-card .number {
    font-size: 2rem;
    font-weight: bold;
    color: #FF3670;
}

.tad-card .subtext {
    font-size: 0.9rem;
    color: #999;
}

/* Secciones */
.tad-section {
    margin-top: 3rem;
}

.tad-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

/* Cursos */
.tad-course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0!important;
}

.tad-course-item {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tad-course-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.tad-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 1rem;
    font-weight: 500;
    width: fit-content;
}

.tad-badge.completed {
    background-color: #80ffbc;
    color: #117a55;
}

.tad-badge.in-progress {
    background-color: #fff1cc;
    color: #a06d00;
}

.tad-badge.not-started {
    background-color: #ffe6e6;
    color: #cc0000;
}

/* Barra de progreso */
.tad-progress-bar {
    background-color: #eee;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.tad-progress-fill {
    height: 100%;
    background-color: #FF3670;
    transition: width 0.3s ease-in-out;
}

/* Últimos movimientos */
.tad-movements-list {
    list-style: none;
    padding-left: 0;
    border-left: 3px solid #FF3670;
    padding-left: 1rem;
}

.tad-movements-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.tad-movements-list .date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Mensajes de estado */
.tad-error-message,
.tad-login-message,
.tad-empty-message {
    background-color: #ffe6ec;
    border-left: 5px solid #FF3670;
    color: #b02d4e;
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
}