:root {
    --erasmus-blue: #003399;
    --erasmus-yellow: #ffcc00;
    --erasmus-green: #2ecc71;
    --text-color: #333;
    --bg-light: #f4f7f6;
}

.erasmus-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.erasmus-header {
    text-align: center;
    border-bottom: 3px solid var(--erasmus-blue);
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.erasmus-header h1 {
    color: var(--erasmus-blue);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--erasmus-yellow);
}

.stat-card span {
    font-size: 1.5rem; 
    line-height: 1.4;
    color: #555;
}

.stat-card strong {
    display: block;
    font-size: 2.5em;
    line-height: 1.4;
    color: var(--erasmus-blue);
}

.stat-card.total {
    background: var(--erasmus-blue);
    color: white;
    border-left: none;
}

.stat-card.total strong {
    color: var(--erasmus-yellow);
}

.stat-card.total span {
    color: var(--erasmus-yellow);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--erasmus-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--erasmus-yellow);
    border: 3px solid var(--erasmus-blue);
    border-radius: 50%;
}

.date {
    font-weight: bold;
    color: var(--erasmus-blue);
    font-size: 1.1em;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-top: 5px;
}

.tag.green {
    background: var(--erasmus-green);
    color: white;
}

.erasmus-footer {
    margin-top: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.highlight {
    font-style: italic;
    color: var(--erasmus-blue);
    font-weight: bold;
    margin-top: 10px;
}

/* ======================================= */
.legacy-table-container {
    width: 660px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #333333;
    margin: 0 auto;
  }
  .legacy-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
  }
  .legacy-table th, 
  .legacy-table td {
    border: 1px solid #cccccc;
    padding: 6px 8px;
    vertical-align: top;
    text-align: left;
    word-wrap: break-word;
  }
  .legacy-table th.title-header {
    background-color: #1f4e78;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
  }
  .legacy-table th.col-header {
    background-color: #d9e1f2;
    color: #000000;
    font-weight: bold;
  }
  .legacy-table tr:nth-child(even) td {
    background-color: #f9fbfd;
  }
  .legacy-table td.summary-label {
    background-color: #d9e1f2;
    font-weight: bold;
  }
  .legacy-table td.summary-value {
    background-color: #f2f2f2;
    font-weight: bold;
  }

  /* ================================= */