:root {
    --primary-color: #4a90e2;
    --secondary-color: #50e3c2;
    --success-color: #7ed321;
    --background-color: #f0f4f8;
    --text-color: #34495e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
    margin-bottom: 15px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover, nav a.active {
    background-color: var(--secondary-color);
}

section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3cb0a9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.star {
    color: gold;
    font-size: 1.2em;
    margin-right: 5px;
}

.actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.edit-btn {
    background-color: #f39c12;
}

.delete-btn {
    background-color: #e74c3c;
}

.progress-container {
    margin-top: 20px;
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.progress-cell {
    padding: 10px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.check-button {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto;
}

.check-button:hover {
    border-color: #4CAF50;
}

.check-button.completed {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.check-button.completed::after {
    content: "✓";
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.progress-table td {
    text-align: center;
    padding: 8px;
    vertical-align: middle;
}

.progress-table th {
    text-align: center;
    padding: 12px 8px;
    background-color: #2c3e50;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header, section {
        padding: 15px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }
}
