/* ========================================
   DELETE LITTER MODAL — bezpečné potvrzení
   Mobile first
   ======================================== */

.delete-litter-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.delete-litter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}

.delete-litter-modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    animation: deleteLitterSlideUp 0.22s ease-out;
    overflow: hidden;
}

@keyframes deleteLitterSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.delete-litter-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid #fee2e2;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.delete-litter-modal__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}
.delete-litter-modal__icon svg { width: 22px; height: 22px; }

.delete-litter-modal__header-text { flex: 1; min-width: 0; padding-top: 2px; }

.delete-litter-modal__title {
    font-size: 17px;
    font-weight: 700;
    color: #7f1d1d;
    margin: 0 0 2px;
    line-height: 1.25;
}

.delete-litter-modal__subtitle {
    font-size: 13px;
    color: #991b1b;
    margin: 0;
    line-height: 1.35;
}

.delete-litter-modal__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: #7f1d1d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delete-litter-modal__close:hover { background: #ffffff; }
.delete-litter-modal__close svg { width: 16px; height: 16px; }

.delete-litter-modal__body {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1;
}

.delete-litter-modal__warning {
    font-size: 14px;
    color: #374151;
    margin: 0 0 10px;
    line-height: 1.5;
}

.delete-litter-modal__list {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 16px;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

/* Checkbox "rozumím" */
.delete-litter-modal__ack {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid #fde68a;
    border-radius: 10px;
    background: #fffbeb;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.delete-litter-modal__ack:hover { background: #fef3c7; }

.delete-litter-modal__ack input { position: absolute; opacity: 0; pointer-events: none; }

.delete-litter-modal__ack-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #d97706;
    border-radius: 6px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.15s ease;
}

.delete-litter-modal__ack-box svg { width: 14px; height: 14px; }

.delete-litter-modal__ack input:checked ~ .delete-litter-modal__ack-box {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: #b91c1c;
    color: #ffffff;
}

.delete-litter-modal__ack input:checked ~ .delete-litter-modal__ack-text {
    color: #7f1d1d;
    font-weight: 600;
}

.delete-litter-modal__ack-text {
    font-size: 13px;
    color: #78350f;
    line-height: 1.4;
    padding-top: 2px;
    transition: color 0.15s ease;
}

/* Footer */
.delete-litter-modal__footer {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.delete-litter-modal__btn {
    flex: 1;
    padding: 11px 16px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.delete-litter-modal__btn svg { width: 14px; height: 14px; }

.delete-litter-modal__btn--secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}
.delete-litter-modal__btn--secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.delete-litter-modal__btn--danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}
.delete-litter-modal__btn--danger:hover:not(:disabled) {
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.delete-litter-modal__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* === TABLET + DESKTOP === */
@media (min-width: 768px) {
    .delete-litter-modal {
        align-items: center;
        padding: 20px;
    }
    .delete-litter-modal__dialog {
        border-radius: 16px;
    }
}
