/* PracticalitiesChecklist.css */

.practicalities-checklist {
    padding: 0;
}

.practicalities-header {
    margin-bottom: 1rem;
}

.practicalities-header h3 {
    color: #372562;
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    font-family: 'Baloo 2', 'Quicksand', sans-serif;
}

.practicalities-header p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.checklist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.checklist-table thead th {
    background: linear-gradient(135deg, #ec5f59 0%, #D4605A 100%);
    color: white;
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.checklist-table thead th:last-child {
    text-align: center;
    width: 60px;
}

.checklist-table tbody tr {
    border-bottom: 1px solid #e1e5e9;
    transition: background 0.15s;
}

.checklist-table tbody tr:hover {
    background: #f8f5ff;
}

.checklist-table tbody td {
    padding: 0.65rem 0.75rem;
    color: #372562;
    vertical-align: top;
    line-height: 1.5;
}

.checklist-table tbody td:last-child {
    text-align: center;
    vertical-align: middle;
}

.checklist-table tbody td input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #372562;
    cursor: pointer;
}

.checklist-table tbody td em {
    color: #7c3aed;
    font-size: 0.85em;
}

.checklist-item-number {
    font-weight: 600;
    color: #372562;
    margin-right: 0.3rem;
}

.checklist-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: #f8f5ff;
    border-radius: 6px;
    border: 1px solid #C8DDD8;
}

.checklist-progress-bar {
    flex: 1;
    height: 8px;
    background: #C8DDD8;
    border-radius: 4px;
    overflow: hidden;
}

.checklist-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ec5f59 0%, #D4605A 100%);
    border-radius: 4px;
    transition: width 0.3s;
}

.checklist-progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #372562;
    white-space: nowrap;
}

.checklist-notes {
    margin-top: 1rem;
}

.checklist-notes label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #372562;
    display: block;
    margin-bottom: 0.3rem;
}

.checklist-notes textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #372562;
    resize: vertical;
    min-height: 60px;
}

.checklist-save-row {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checklist-save-row .btn-save {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #ec5f59 0%, #D4605A 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.checklist-save-row .btn-save:hover {
    opacity: 0.9;
}

.checklist-save-row .btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checklist-save-msg {
    font-size: 0.85rem;
}

/* Standalone card mode for school staff */
.practicalities-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.practicalities-card .card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.practicalities-card .card-title h3 {
    margin: 0;
    color: #372562;
    font-size: 1.2rem;
    font-family: 'Baloo 2', 'Quicksand', sans-serif;
}
