/* ==========================================================================
   Modal: Naplánovat vrh
   Mobile-first. Na mobilu: full-screen sheet. Na desktopu: centered dialog.
   ========================================================================== */

.planned-litter-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    -webkit-overflow-scrolling: touch;
}

.planned-litter-modal__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    background: #fff;
    overflow: hidden;
    animation: plmSlideUp 0.25s ease-out;
}

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

/* HEADER */
.planned-litter-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.planned-litter-modal__title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
}

.planned-litter-modal__close {
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 26px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
}

.planned-litter-modal__close:hover {
    background: #f1f5f9;
}

/* BACK tlačítko (Změnit směr) — viditelné jen ve wizard kroku "main" */
.planned-litter-modal__back {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 6px 10px 6px 6px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.planned-litter-modal__back svg {
    width: 16px;
    height: 16px;
}

.planned-litter-modal__back:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* WIZARD GATE: ve kroku "direction" je viditelná jen sekce direction; vše ostatní skryto. */
.planned-litter-modal[data-wizard-step="direction"] .planned-litter-modal__section:not(.planned-litter-modal__section--direction) {
    display: none;
}

.planned-litter-modal[data-wizard-step="direction"] .planned-litter-modal__footer {
    display: none;
}

/* V kroku "main" naopak skryjeme sekci direction (rozhodnuto, pojďme dál). */
.planned-litter-modal[data-wizard-step="main"] .planned-litter-modal__section--direction {
    display: none;
}

/* Back tlačítko ukazujeme jen v kroku "main" */
.planned-litter-modal[data-wizard-step="main"] .planned-litter-modal__back {
    display: inline-flex;
}

/* Když je BACK skryté, nadpis se posune doleva — kompenzace přes flex */

/* BODY */
.planned-litter-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #f8fafc;
}

/* SECTION */
.planned-litter-modal__section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hidden atribut musí přebít display: flex výše */
.planned-litter-modal__section[hidden] {
    display: none;
}

.planned-litter-modal__step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.planned-litter-modal__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(249, 115, 22, 0.35);
}

.planned-litter-modal__step-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

/* FIELD */
.planned-litter-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.planned-litter-modal__label {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.planned-litter-modal__input,
.planned-litter-modal__textarea,
.planned-litter-modal__select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
    font-family: inherit;
}

.planned-litter-modal__input:focus,
.planned-litter-modal__textarea:focus,
.planned-litter-modal__select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.planned-litter-modal__textarea {
    resize: vertical;
    min-height: 72px;
}

.planned-litter-modal__hint {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.planned-litter-modal__inline-link {
    color: #f97316;
    font-size: 12px;
    text-decoration: none;
}

.planned-litter-modal__inline-link:hover {
    text-decoration: underline;
}

/* ŘÁDKY (na desktopu vedle sebe) */
.planned-litter-modal__row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   ANIMACE — nově přidaná karta vrhu po uložení
   ========================================================================== */
.planned-litter-modal__new-card {
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.0);
}

.planned-litter-modal__new-card--in {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

/* Po 1.5s necháme highlight zmizet */
.planned-litter-modal__new-card--in {
    animation: plmCardHighlightFade 2s ease-out 1.2s forwards;
}
@keyframes plmCardHighlightFade {
    to { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0); }
}

/* ==========================================================================
   DOG PICKER — výběr feny / psa formou karet (Krok 2)
   ========================================================================== */
.dog-picker {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dog-picker__card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 10px 36px 10px 10px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.18s ease;
    outline: none;
}

.dog-picker__card:hover:not(.dog-picker__card--disabled) {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.dog-picker__card:focus-visible {
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.35);
}

.dog-picker__card--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f8fafc;
}

.dog-picker__avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.dog-picker__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dog-picker__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.dog-picker__name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.dog-picker__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1.4;
    white-space: nowrap;
}

.dog-picker__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dog-picker__status--green  { background: #dcfce7; color: #166534; }
.dog-picker__status--green  .dog-picker__status-dot { background: #22c55e; }
.dog-picker__status--amber  { background: #fef3c7; color: #92400e; }
.dog-picker__status--amber  .dog-picker__status-dot { background: #eab308; }
.dog-picker__status--red    { background: #fee2e2; color: #991b1b; }
.dog-picker__status--red    .dog-picker__status-dot { background: #ef4444; }
.dog-picker__status--gray   { background: #f1f5f9; color: #475569; }
.dog-picker__status--gray   .dog-picker__status-dot { background: #94a3b8; }

.dog-picker__breed {
    font-size: 12.5px;
    color: #64748b;
}

.dog-picker__meta {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    font-size: 12px;
    color: #475569;
}

.dog-picker__meta span { color: #94a3b8; }
.dog-picker__meta strong { color: #0f172a; font-weight: 600; margin-left: 3px; }

.dog-picker__detail {
    margin: 4px 0 0 0;
    font-size: 11.5px;
    line-height: 1.4;
}
.dog-picker__detail--green { color: #166534; }
.dog-picker__detail--amber { color: #92400e; }
.dog-picker__detail--red   { color: #991b1b; }
.dog-picker__detail--gray  { color: #475569; }

/* CHECK ikona (vpravo) — viditelná u vybrané karty */
.dog-picker__check {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5e7eb;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}
.dog-picker__check svg { width: 14px; height: 14px; }

/* === Vybraná karta (selected) — barva podle pohlaví === */
.dog-picker--female .dog-picker__card[aria-checked="true"] {
    border-color: #ec4899;
    background: #fdf2f8;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.18);
}
.dog-picker--female .dog-picker__card[aria-checked="true"] .dog-picker__check {
    background: #ec4899;
    color: #fff;
}

.dog-picker--male .dog-picker__card[aria-checked="true"] {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.18);
}
.dog-picker--male .dog-picker__card[aria-checked="true"] .dog-picker__check {
    background: #3b82f6;
    color: #fff;
}

/* INFO KARTA O FENĚ */
.planned-litter-modal__dog-info {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
}

.planned-litter-modal__dog-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
}

.planned-litter-modal__dog-details {
    flex: 1 1 auto;
    min-width: 0;
}

.planned-litter-modal__dog-name {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.planned-litter-modal__dog-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 12.5px;
    color: #475569;
}

.planned-litter-modal__dog-stats span {
    color: #64748b;
}

.planned-litter-modal__dog-stats strong {
    color: #0f172a;
    font-weight: 600;
    margin-left: 4px;
}

/* KROK 1 - KOMU PLÁNUJETE VRH (feně / psovi) */
.planned-litter-modal__direction-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.planned-litter-modal__direction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 18px 14px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}

.planned-litter-modal__direction-btn svg {
    width: 44px;
    height: 44px;
    padding: 9px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    transition: all 0.18s ease;
}

.planned-litter-modal__direction-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.planned-litter-modal__direction-hint {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
}

/* === FEMALE varianta (růžová) === */
.planned-litter-modal__direction-btn[data-direction="from-female"] svg {
    color: #ec4899;
    background: #fce7f3;
}

.planned-litter-modal__direction-btn[data-direction="from-female"]:hover {
    border-color: #f9a8d4;
    background: #fdf2f8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.12);
}

.planned-litter-modal__direction-btn[data-direction="from-female"].planned-litter-modal__direction-btn--active {
    border-color: #ec4899;
    background: #fdf2f8;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.18);
}

.planned-litter-modal__direction-btn[data-direction="from-female"].planned-litter-modal__direction-btn--active svg {
    background: #ec4899;
    color: #fff;
}

.planned-litter-modal__direction-btn[data-direction="from-female"].planned-litter-modal__direction-btn--active .planned-litter-modal__direction-title {
    color: #be185d;
}

/* === MALE varianta (modrá) === */
.planned-litter-modal__direction-btn[data-direction="from-male"] svg {
    color: #3b82f6;
    background: #dbeafe;
}

.planned-litter-modal__direction-btn[data-direction="from-male"]:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.planned-litter-modal__direction-btn[data-direction="from-male"].planned-litter-modal__direction-btn--active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.18);
}

.planned-litter-modal__direction-btn[data-direction="from-male"].planned-litter-modal__direction-btn--active svg {
    background: #3b82f6;
    color: #fff;
}

.planned-litter-modal__direction-btn[data-direction="from-male"].planned-litter-modal__direction-btn--active .planned-litter-modal__direction-title {
    color: #1d4ed8;
}

/* ZDROJ KRYCÍHO PSA - tlačítka */
.planned-litter-modal__source-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.planned-litter-modal__source-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    text-align: left;
    transition: all 0.15s ease;
}

.planned-litter-modal__source-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #64748b;
}

.planned-litter-modal__source-btn:hover {
    border-color: #fdba74;
    background: #fffbf5;
}

.planned-litter-modal__source-btn--active {
    border-color: #f97316;
    background: #fff7ed;
    color: #c2410c;
}

.planned-litter-modal__source-btn--active svg {
    color: #f97316;
}

/* SEARCH input s ikonou */
.planned-litter-modal__search {
    position: relative;
}

.planned-litter-modal__search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.planned-litter-modal__search .planned-litter-modal__input {
    padding-left: 36px;
}

/* ==========================================================================
   AUTOCOMPLETE — vyhledávání chovných psů/fen v katalogu
   ========================================================================== */
.planned-litter-modal__autocomplete {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.planned-litter-modal__ac-results {
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.planned-litter-modal__ac-results[hidden] { display: none; }

.planned-litter-modal__ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s ease;
}

.planned-litter-modal__ac-item:hover,
.planned-litter-modal__ac-item--active {
    background: #f1f5f9;
}

.planned-litter-modal__ac-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.planned-litter-modal__ac-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.planned-litter-modal__ac-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.planned-litter-modal__ac-meta {
    font-size: 11.5px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.planned-litter-modal__ac-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1.4;
    white-space: nowrap;
}
.planned-litter-modal__ac-status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.planned-litter-modal__ac-status--green { background: #dcfce7; color: #166534; }
.planned-litter-modal__ac-status--green .planned-litter-modal__ac-status-dot { background: #22c55e; }
.planned-litter-modal__ac-status--amber { background: #fef3c7; color: #92400e; }
.planned-litter-modal__ac-status--amber .planned-litter-modal__ac-status-dot { background: #eab308; }
.planned-litter-modal__ac-status--red   { background: #fee2e2; color: #991b1b; }
.planned-litter-modal__ac-status--red   .planned-litter-modal__ac-status-dot { background: #ef4444; }
.planned-litter-modal__ac-status--gray  { background: #f1f5f9; color: #475569; }
.planned-litter-modal__ac-status--gray  .planned-litter-modal__ac-status-dot { background: #94a3b8; }

.planned-litter-modal__ac-empty {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

/* Vybraná položka — chip */
.planned-litter-modal__ac-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border: 1.5px solid #f97316;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12);
}

.planned-litter-modal__ac-selected[hidden] { display: none; }

.planned-litter-modal__ac-selected-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.planned-litter-modal__ac-selected-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.planned-litter-modal__ac-selected-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.planned-litter-modal__ac-selected-meta {
    font-size: 12px;
    color: #64748b;
}

.planned-litter-modal__ac-clear {
    background: #f1f5f9;
    border: 0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    flex-shrink: 0;
}
.planned-litter-modal__ac-clear:hover { background: #e2e8f0; color: #0f172a; }
.planned-litter-modal__ac-clear svg { width: 16px; height: 16px; }

/* SEMAFOR PRAVIDEL */
.planned-litter-modal__rules {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.planned-litter-modal__rules-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.planned-litter-modal__rules-header svg {
    width: 18px;
    height: 18px;
    color: #0284c7;
}

.planned-litter-modal__rules-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #0c4a6e;
}

.planned-litter-modal__rules-group {
    margin-top: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
}

.planned-litter-modal__rules-group-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e0f2fe;
}

.planned-litter-modal__rules-group-icon {
    width: 14px;
    height: 14px;
    color: #0284c7;
    flex-shrink: 0;
}

.planned-litter-modal__rules-group-title {
    font-size: 12px;
    font-weight: 700;
    color: #0c4a6e;
    letter-spacing: 0.2px;
}

.planned-litter-modal__rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.planned-litter-modal__rule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}

.planned-litter-modal__rule-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.planned-litter-modal__rule--ok .planned-litter-modal__rule-dot { background: #22c55e; }
.planned-litter-modal__rule--warn .planned-litter-modal__rule-dot { background: #eab308; }
.planned-litter-modal__rule--error .planned-litter-modal__rule-dot { background: #ef4444; }

.planned-litter-modal__rules-hint {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* FOOTER */
.planned-litter-modal__footer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.planned-litter-modal__btn {
    flex: 1 1 auto;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.planned-litter-modal__btn--ghost {
    background: #f1f5f9;
    color: #475569;
}

.planned-litter-modal__btn--ghost:hover {
    background: #e2e8f0;
}

.planned-litter-modal__btn--primary {
    background: #f97316;
    color: #fff;
    flex: 2 1 auto;
}

.planned-litter-modal__btn--primary:hover {
    background: #ea580c;
}

.planned-litter-modal__btn--primary:disabled,
.planned-litter-modal__btn--primary[aria-disabled="true"] {
    background: #fcd9b8;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   TABLET (>= 640px) - dialog začne mít okraje
   ========================================================================== */
@media (min-width: 640px) {
    .planned-litter-modal {
        align-items: center;
        padding: 24px;
    }

    .planned-litter-modal__inner {
        max-width: 720px;
        max-height: calc(100vh - 48px);
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }

    .planned-litter-modal__source-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .planned-litter-modal__direction-grid {
        grid-template-columns: 1fr 1fr;
    }

    .planned-litter-modal__source-btn {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 14px 10px;
    }

    .planned-litter-modal__source-btn svg {
        width: 24px;
        height: 24px;
    }

    .planned-litter-modal__row {
        flex-direction: row;
    }

    .planned-litter-modal__row .planned-litter-modal__field {
        flex: 1 1 0;
    }

    .planned-litter-modal__dog-stats {
        grid-template-columns: 1fr 1fr;
        gap: 4px 16px;
    }

    .planned-litter-modal__btn {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .planned-litter-modal__footer {
        justify-content: flex-end;
    }
}
