/* Style adapted from `001.txt` */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1,
h2,
h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 150px;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    resize: vertical;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

th,
td {
    border: 1px solid #eee;
    padding: 10px 15px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f9fbff;
}

.checkbox-group {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.checkbox-item {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #2c3e50;
    user-select: none;
}

.buttons {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: 500;
    font-family: inherit;
}

.btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.progress-container {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #007bff;
    transition: width 0.25s ease;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.stat-card {
    background-color: #fafbfc;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5em;
    color: #007bff;
    font-weight: bold;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 6px;
    color: #555;
}

.muted {
    color: #666;
}

.byline {
    margin-top: 20px;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 700;
    padding: 10px 12px;
    border-left: 4px solid #007bff;
    background: #f9fbff;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    table {
        display: block;
        overflow-x: auto;
    }
    .btn {
        width: 100%;
        box-sizing: border-box;
    }
}
