/* Öğretmen Ödev Modülü — K12 haftalık liste & değerlendirme */
.hw-rte-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 0.75rem 0.75rem 0 0;
}
.hw-rte-toolbar button {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}
.hw-rte-toolbar button:hover { background: #ecfdf5; color: #059669; }
.hw-rte-editor {
    min-height: 7rem;
    max-height: 14rem;
    overflow-y: auto;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 0.75rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #1e293b;
}
.hw-rte-editor:focus { outline: 2px solid #a7f3d0; outline-offset: 0; }
.hw-week-block { border: 1px solid #e2e8f0; border-radius: 1rem; overflow: hidden; margin-bottom: 1rem; }
.hw-week-header {
    background: linear-gradient(90deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #d1fae5;
    font-size: 0.7rem;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hw-table th { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.03em; color: #64748b; }
.hw-table td { vertical-align: middle; }
.hw-table tr:hover td { background: #f8fafc; }
.hw-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 800;
    white-space: nowrap;
}
.hw-eval-mark-row { transition: background 0.15s; }
.hw-eval-mark-row.is-dirty { background: #fffbeb !important; }
.hw-mark-check {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    transition: all 0.12s;
    cursor: pointer;
    background: #fff;
}
.hw-mark-check.is-active { color: #fff; border-color: transparent; }
.hw-mark-check[data-status="approved"].is-active { background: #10b981; }
.hw-mark-check[data-status="not_done"].is-active { background: #f43f5e; }
.hw-mark-check[data-status="incomplete"].is-active { background: #f59e0b; }
.hw-mark-check[data-status="absent"].is-active { background: #64748b; }
.hw-mark-check[data-status="forgot"].is-active { background: #475569; }
.hw-eval-save-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, #fff 30%);
    border-top: 1px solid #e2e8f0;
    padding: 0.85rem 1rem;
    backdrop-filter: blur(8px);
}
@media (max-width: 767px) {
    .hw-mark-checks-desktop { display: none !important; }
    .hw-mark-dropdown-mobile { display: block !important; }
}
@media (min-width: 768px) {
    .hw-mark-checks-desktop { display: flex !important; }
    .hw-mark-dropdown-mobile { display: none !important; }
}
.hw-give-banner {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}
.hw-create-form-card {
    border: 2px solid #d1fae5;
    border-radius: 1.25rem;
    background: #fff;
    overflow: hidden;
}
.hw-create-form-header {
    background: linear-gradient(90deg, #ecfdf5, #f0fdf4);
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #d1fae5;
}
.hw-form-step-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #059669;
    margin-bottom: 0.35rem;
    display: block;
}
.hw-resource-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.65rem 0.75rem;
}
.hw-resource-row .hw-row-pages.is-locked {
    opacity: 0.35;
    pointer-events: none;
}
.hw-resource-row .hw-row-pages.is-locked input {
    background: #f1f5f9;
}
