/* Dense list row actions — icon + label pills (Student, Attendance) */

.list-action-bar,
.student-list-action-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.2rem;
    max-width: 100%;
}

.list-action-btn,
.student-list-action-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    flex-shrink: 0;
    min-width: 2.35rem;
    padding: 0.12rem 0.15rem 0.14rem;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: #334155;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.05;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.list-action-btn:hover,
.list-action-btn:focus-visible,
.student-list-action-btn:hover,
.student-list-action-btn:focus-visible {
    background-color: rgba(255, 255, 255, 0.55);
}

.list-action-btn:active,
.student-list-action-btn:active {
    transform: translateY(1px);
}

.list-action-icon,
.student-action-icon {
    display: block;
    width: 1.65rem;
    height: 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: none;
}

.list-action-btn:hover .list-action-icon,
.list-action-btn:focus-visible .list-action-icon,
.student-list-action-btn:hover .student-action-icon,
.student-list-action-btn:focus-visible .student-action-icon {
    filter: brightness(0.97);
}

.list-action-label,
.student-action-label {
    max-width: 2.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--app-text-muted, #1e293b);
}

.list-action-btn--view .list-action-icon,
.list-action-btn--view .student-action-icon,
.student-list-action-btn--view .student-action-icon {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230969da' viewBox='0 0 16 16'%3E%3Cpath d='M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8M1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8Z'/%3E%3Cpath d='M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5'/%3E%3C/svg%3E");
}

.list-action-btn--qr .list-action-icon,
.list-action-btn--qr .student-action-icon,
.student-list-action-btn--qr .student-action-icon {
    background-color: #f5f3ff;
    border-color: #ddd6fe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h2v2H2zM6 0v6H0V0zM0 8h6v6H0zm8-8h6v6H8zm2 2h2v2h-2zm-2 6h2v2H8zm4 0h2v2h-2zm2-6h2v2h-2zm0 4h2v2h-2z'/%3E%3C/svg%3E");
}

.list-action-btn--progress .list-action-icon,
.list-action-btn--progress .student-action-icon,
.student-list-action-btn--progress .student-action-icon {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23059669' viewBox='0 0 16 16'%3E%3Cpath d='M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M9.5 7h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5m3 0h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5M2 10.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3.5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5'/%3E%3C/svg%3E");
}

.list-action-btn--edit .list-action-icon,
.list-action-btn--edit .student-action-icon,
.student-list-action-btn--edit .student-action-icon {
    background-color: #e0f2fe;
    border-color: #bae6fd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230284c7' viewBox='0 0 16 16'%3E%3Cpath d='M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325'/%3E%3C/svg%3E");
}

.list-action-btn--checkin .list-action-icon,
.list-action-btn--checkin .student-action-icon,
.student-list-action-btn--checkin .student-action-icon {
    background-color: #e8f5ee;
    border-color: #bbf7d0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231f7a4a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 1A1.5 1.5 0 0 0 5 2.5v11A1.5 1.5 0 0 0 6.5 15h6a1.5 1.5 0 0 0 1.5-1.5V7H8.086a1.5 1.5 0 0 1 0-3h2.914V2.5A1.5 1.5 0 0 0 9.5 1h-7zM14.5 4a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H10v-6.5h4.5z'/%3E%3C/svg%3E");
}

.list-action-btn--checkout .list-action-icon,
.list-action-btn--checkout .student-action-icon,
.student-list-action-btn--checkout .student-action-icon {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 1.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-13zm-2.5 0v13h-4v-13h4z'/%3E%3Cpath d='M14.5 4a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H10v-7h4.5z'/%3E%3C/svg%3E");
}

.list-action-btn--delete .list-action-icon,
.list-action-btn--delete .student-action-icon,
.student-list-action-btn--delete .student-action-icon {
    background-color: var(--app-action-delete-hover-bg, #fef2f2);
    border-color: var(--app-action-delete-border, #fecaca);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b91c1c' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z'/%3E%3Cpath d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z'/%3E%3C/svg%3E");
}

.list-action-btn--add .list-action-icon,
.list-action-btn--add .student-action-icon {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23059669' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4'/%3E%3C/svg%3E");
}

.list-action-btn--activate .list-action-icon,
.list-action-btn--activate .student-action-icon {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23059669' viewBox='0 0 16 16'%3E%3Cpath d='M15.854 8.354a.5.5 0 0 0-.708-.708L8.5 14.292 5.854 11.646a.5.5 0 0 10-.708l2.146 2.147 6.646-6.647z'/%3E%3Cpath d='M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0M8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4'/%3E%3C/svg%3E");
}

.list-action-btn--export .list-action-icon,
.list-action-btn--export .student-action-icon {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230284c7' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z'/%3E%3C/svg%3E");
}

.list-action-btn--compose .list-action-icon,
.list-action-btn--compose .student-action-icon {
    background-color: #f5f3ff;
    border-color: #ddd6fe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414zM0 4.697v7.104l5.803-3.558zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586zm3.436-.586L16 11.801V4.697z'/%3E%3C/svg%3E");
}

.list-action-btn--more .list-action-icon,
.list-action-btn--more .student-action-icon,
.student-list-action-btn--more .student-action-icon {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3'/%3E%3C/svg%3E");
}

.list-action-btn--more.is-open,
.student-list-action-btn--more.is-open {
    background-color: rgba(255, 255, 255, 0.65);
}

.list-action-btn--more.is-open .list-action-icon,
.student-list-action-btn--more.is-open .student-action-icon {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
}

/* More menu item icons */
.row-more-item__icon,
.student-list-more-item__icon {
    display: block;
    width: 1.35rem;
    height: 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.75rem;
    box-shadow: none;
}

.row-more-item__icon.list-action-btn--progress,
.student-list-more-item__icon.student-list-action-btn--progress {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23059669' viewBox='0 0 16 16'%3E%3Cpath d='M4 .5a.5.5 0 0 0-1 0V1H2a2 2 0 0 0-2 2v1h16V3a2 2 0 0 0-2-2h-1V.5a.5.5 0 0 0-1 0V1H4zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M9.5 7h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5m3 0h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5M2 10.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3.5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5'/%3E%3C/svg%3E");
}

.row-more-item__icon.list-action-btn--edit,
.student-list-more-item__icon.student-list-action-btn--edit {
    background-color: #e0f2fe;
    border-color: #bae6fd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230284c7' viewBox='0 0 16 16'%3E%3Cpath d='M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325'/%3E%3C/svg%3E");
}

.row-more-item__icon.list-action-btn--checkin,
.student-list-more-item__icon.student-list-action-btn--checkin {
    background-color: #e8f5ee;
    border-color: #bbf7d0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231f7a4a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 1A1.5 1.5 0 0 0 5 2.5v11A1.5 1.5 0 0 0 6.5 15h6a1.5 1.5 0 0 0 1.5-1.5V7H8.086a1.5 1.5 0 0 1 0-3h2.914V2.5A1.5 1.5 0 0 0 9.5 1h-7zM14.5 4a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H10v-6.5h4.5z'/%3E%3C/svg%3E");
}

.row-more-item__icon.list-action-btn--checkout,
.student-list-more-item__icon.student-list-action-btn--checkout {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 1.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-13zm-2.5 0v13h-4v-13h4z'/%3E%3Cpath d='M14.5 4a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H10v-7h4.5z'/%3E%3C/svg%3E");
}
