/* ---- Color Palette ---- */
:root {
    --primary-purple: #6a0dad;
    --light-purple: #c094e4;
    --accent-purple: #7b29a8;
    --light-bg: #f5f0ff;
    --text-dark: #333;
    --text-light: #fff;
    --success-green: #28a745;
    --hover-green: #218838;
}

/* ---- General Body & Container Styles ---- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    box-sizing: border-box;
}

.container {
    background: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 550px;
    margin-bottom: 25px;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- New Navigation Links CSS --- */
.nav-links-container {
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 600;
}

.nav-links-container a {
    color: var(--primary-purple);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-links-container a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

/* --- Form and other content styles --- */
h2 {
    color: var(--primary-purple);
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 700;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.filter-controls label {
    flex-basis: 100%;
    margin-bottom: -10px;
}

.filter-controls select,
.filter-controls input {
    flex: 1;
    min-width: 150px;
    width: 100%;
    padding: 14px;
    border: 2px solid var(--light-purple);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

button {
    background-color: var(--primary-purple);
    color: var(--text-light);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s;
    box-shadow: 0 4px 10px rgba(106, 13, 173, 0.2);
}

button:hover {
    background-color: var(--accent-purple);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: var(--primary-purple);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: var(--light-bg);
}

tr:hover {
    background-color: #f0e6ff;
}