/*
 * WC.css - Stylesheet for Workshops Conducted Page
 * Primary Color: Dark Blue (#003366)
 * Secondary Color: Light Blue/Grey (#f0f8ff)
 */

:root {
    --primary-color: #003366; /* Dark Blue */
    --secondary-color: #e6f7ff; /* Very light blue background for stripe/hover */
    --text-color: #333;
    --border-color: #aaa;
    --background-color: #f4f7f9; /* Light grey/blue page background */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

.section {
    max-width: 1000px;
    margin: 20px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.8em;
}

h3 {
    color: #333333;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 30px;
    font-size: 1.4em;
}

/* --- Navigation Bar Style --- */
.navbar {
    background-color: var(--primary-color);
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.navbar a:hover {
    background-color: #005a9c; /* Lighter blue on hover */
}

/* --- Overview Table Style --- */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.overview-table th, .overview-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.overview-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.overview-table tr:nth-child(even) {
    background-color: var(--secondary-color);
}

/* --- Workshop Accordion Styles --- */
.workshop-accordion {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1.2em;
    overflow: hidden;
}

.workshop-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.5em;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s;
}

.workshop-accordion summary:hover {
    background-color: #005a9c;
}

/* Custom indicator for the summary icon */
.workshop-accordion summary::marker,
.workshop-accordion summary::-webkit-details-marker {
    display: none;
}

.workshop-accordion summary::after {
    content: '+';
    font-size: 1em;
    transition: transform 0.3s;
}

.workshop-accordion[open] summary::after {
    content: '+';
}

.workshop-accordion .date-info {
    font-weight: normal;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Style for the content inside the details (the table) */
.workshop-accordion .table-container {
    padding: 0.5em 1.5em 1.5em;
    background-color: #ffffff;
}

/* --- Participant List Table Style (styled-table) --- */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.styled-table th, .styled-table td {
    border: 1px solid #eee;
    padding: 10px 15px;
    text-align: left;
}

.styled-table thead th {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.styled-table tbody tr:hover {
    background-color: #f0f8ff;
}