:root {
    --edu-primary: #4F46E5;
    --edu-secondary: #06B6D4;
    --edu-bg: #F8FAFC;
    --edu-card: #FFFFFF;
    --edu-accent: #F59E0B;
    --text-dark: #1E293B;
    --text-light: #64748B;
}

.edu-container {
    padding: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Header & Roles */
.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.role-switcher {
    display: flex;
    background: #E2E8F0;
    padding: 5px;
    border-radius: 50px;
}

.role-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.role-btn.active {
    background: var(--edu-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Dashboard Cards */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--edu-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-banner {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--edu-primary);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.project-reto {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Components for CNEB */
.rubrica-box {
    background: #F1F5F9;
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--edu-secondary);
}

.portfolio-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.achievement-badge {
    width: 60px;
    height: 60px;
    background: var(--edu-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Feedback & Metacognition */
.feedback-bubble {
    background: #EEF2FF;
    padding: 1rem;
    border-radius: 0 15px 15px 15px;
    margin-top: 10px;
    font-style: italic;
    color: var(--edu-primary);
}

.metacognition-form {
    background: #FFFBEB;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px dashed var(--edu-accent);
}
