:root {
  --rose-deep: #5c2a3d;
  --rose: #b76e79;
  --rose-light: #e8c4c8;
  --cream: #fdf6f3;
  --gold: #c9a227;
  --gold-soft: #e8d5a3;
  --text: #3d2a32;
  --muted: #7a656c;
  --card: rgba(255, 255, 255, 0.82);
  --shadow: 0 12px 40px rgba(92, 42, 61, 0.12);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--text);
  background: linear-gradient(160deg, #fdf2f0 0%, #f5e6eb 45%, #ebe0f5 100%);
  line-height: 1.5;
}

.bg-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%235c2a3d' d='M40 68c-1-8-16-14-22-24-4-7-2-16 4-20 6-4 14-1 18 5 4-6 12-9 18-5 6 4 8 13 4 20-6 10-21 16-22 24z'/%3E%3C/svg%3E");
  z-index: 0;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.btn-header-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-refresh-icon {
  display: flex;
  align-items: center;
  opacity: 0.9;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.35rem 0.65rem 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(183, 110, 121, 0.28);
  box-shadow: 0 2px 12px rgba(92, 42, 61, 0.06);
}

.header-search-icon {
  flex-shrink: 0;
  color: var(--rose);
  opacity: 0.85;
  display: flex;
  align-items: center;
}

.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.header-search-input::placeholder {
  color: var(--muted);
  font-weight: 300;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  font-size: 2rem;
  color: var(--rose);
  line-height: 1;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

.brand h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  margin: 0;
  color: var(--rose-deep);
  letter-spacing: 0.03em;
}

.brand h1 .brand-tm {
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--rose);
}

.tagline {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
}

.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.calendar-panel {
  background: var(--card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.month-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rose-deep);
  margin: 0;
  min-width: 200px;
  text-align: center;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(183, 110, 121, 0.15);
  color: var(--rose-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-icon:hover {
  background: rgba(183, 110, 121, 0.28);
}

.btn-icon:active {
  transform: scale(0.95);
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-cell {
  aspect-ratio: 1;
  max-height: 104px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 4px 4px 5px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  font-family: var(--font-ui);
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
  position: relative;
  min-height: 0;
}

.cal-cell:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(92, 42, 61, 0.1);
}

.cal-cell:active {
  transform: scale(0.97);
}

.cal-cell.other-month {
  opacity: 0.35;
}

.cal-cell.cal-cell-search-miss {
  opacity: 0.38;
}

.cal-cell.cal-cell-search-miss.other-month {
  opacity: 0.22;
}

.cal-cell.today {
  outline: 2px solid var(--rose);
  outline-offset: -2px;
}

.cal-cell.selected {
  background: linear-gradient(145deg, rgba(232, 196, 200, 0.9), rgba(255, 255, 255, 0.95));
  box-shadow: 0 4px 20px rgba(183, 110, 121, 0.25);
}

.cal-cell .day-num {
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
  text-align: center;
}

.cal-cell .dots {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  margin-top: 3px;
  max-width: 100%;
  flex-shrink: 0;
}

.cal-cell .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Juste sous les points : hauteur suffisante pour éviter l’effet « barre » étirée */
.cal-cell-thumb {
  margin-top: 5px;
  width: 100%;
  height: 46px;
  min-height: 46px;
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(61, 42, 50, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(183, 110, 121, 0.08);
}

.cal-cell-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cal-day-preview {
  position: fixed;
  z-index: 85;
  width: 200px;
  max-width: calc(100vw - 20px);
  padding: 0.55rem 0.6rem 0.65rem;
  pointer-events: none;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid rgba(183, 110, 121, 0.4);
  box-shadow: 0 12px 36px rgba(61, 42, 50, 0.22);
}

.cal-day-preview[hidden] {
  display: none !important;
}

.cal-day-preview-img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.45rem;
  background: rgba(183, 110, 121, 0.12);
}

.cal-day-preview-img[hidden] {
  display: none !important;
}

.cal-day-preview-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--rose-deep);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

.side-panel {
  background: var(--card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  min-height: 200px;
}

.side-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: var(--rose-deep);
}

.hint {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.task-card {
  border: none;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  border-left: 4px solid var(--theme-color, var(--rose));
}

.task-card:hover {
  box-shadow: 0 6px 20px rgba(92, 42, 61, 0.08);
  transform: translateY(-1px);
}

.task-card .task-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 0.2rem;
}

.task-card .task-meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.theme-pill {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--theme-color) 22%, white);
  color: var(--rose-deep);
}

.field-label-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-icon-pin {
  flex-shrink: 0;
  color: var(--rose);
}

.field-location .field-hint {
  margin-top: 0;
}

.location-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0.35rem;
}

.place-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.place-wrap input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(183, 110, 121, 0.35);
  background: #fff;
  color: var(--text);
}

.place-bias-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--rose);
  font-weight: 500;
}

.place-chips {
  margin-top: 0.55rem;
}

.place-chips-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.place-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.place-chip {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 110, 121, 0.4);
  background: rgba(255, 255, 255, 0.85);
  color: var(--rose-deep);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.place-chip:hover {
  background: rgba(232, 196, 200, 0.45);
  border-color: var(--rose);
}

.place-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(183, 110, 121, 0.4);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(61, 42, 50, 0.18);
}

.place-suggestions li {
  margin: 0;
}

.place-suggestion-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.3;
}

.place-suggestion-item:hover,
.place-suggestion-item:focus-visible {
  background: rgba(232, 196, 200, 0.35);
  outline: none;
}

.btn-geo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(183, 110, 121, 0.45);
  background: rgba(255, 255, 255, 0.95);
  color: var(--rose-deep);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-geo:hover:not(:disabled) {
  background: rgba(232, 196, 200, 0.45);
  border-color: var(--rose);
}

.btn-geo:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-geo-icon {
  display: block;
  color: var(--rose);
}

@media (max-width: 380px) {
  .btn-geo-text {
    display: none;
  }
  .btn-geo {
    padding: 0.45rem 0.55rem;
  }
}

.geo-footer {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.geo-status {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.geo-status--error {
  color: #8b2942;
}

.geo-osm {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.4;
}

.geo-osm a {
  color: var(--rose);
}

.btn-link-geo {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--rose);
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 2px;
}

.btn-link-geo:hover {
  color: var(--rose-deep);
}

.task-place-link,
.task-place-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 100%;
}

.task-place-link {
  color: var(--rose);
  text-decoration: none;
  font-weight: 500;
}

.task-place-link:hover {
  text-decoration: underline;
  color: var(--rose-deep);
}

.task-place-link span,
.task-place-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-pin {
  flex-shrink: 0;
  color: var(--rose);
}

.btn {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(92, 42, 61, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--rose-deep);
  border: 1px solid rgba(183, 110, 121, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(61, 42, 50, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(100%, 440px);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(61, 42, 50, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(183, 110, 121, 0.2);
}

.modal-head h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
  color: var(--rose-deep);
}

.btn-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.btn-close:hover {
  color: var(--rose-deep);
  background: rgba(183, 110, 121, 0.12);
}

#task-form {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field > span:first-child {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(183, 110, 121, 0.35);
  background: #fff;
  color: var(--text);
}

.field textarea {
  resize: vertical;
  min-height: 72px;
}

.field-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.file-input {
  font-size: 0.85rem;
}

.compress-status {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--rose-deep);
  font-weight: 500;
  line-height: 1.35;
}

.media-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-top: 0.5rem;
}

.media-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(183, 110, 121, 0.12);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(92, 42, 61, 0.2);
}

.media-thumb:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.media-thumb img,
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.media-thumb .remove-media {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(61, 42, 50, 0.75);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.media-thumb .media-thumb-open-hint {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(61, 42, 50, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.media-thumb:hover .media-thumb-open-hint,
.media-thumb:focus-visible .media-thumb-open-hint {
  opacity: 1;
}

.media-thumb-open-hint svg {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

body.media-lightbox-open {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(1.25rem, 4vw);
  background: rgba(20, 10, 14, 0.92);
  backdrop-filter: blur(10px);
  animation: mediaLbFade 0.25s ease;
}

@keyframes mediaLbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: min(96vw, 1100px);
  max-height: min(92vh, 900px);
  width: 100%;
  padding-bottom: 2rem;
}

.media-lightbox-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  max-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.media-lightbox-stage img {
  max-width: 100%;
  max-height: min(88vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.media-lightbox-stage video {
  max-width: 100%;
  max-height: min(88vh, 820px);
  width: 100%;
  border-radius: 8px;
  background: #000;
}

.media-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.media-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.media-lightbox-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  align-self: center;
}

.media-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 520px) {
  .media-lightbox-frame {
    flex-wrap: wrap;
    justify-content: center;
  }

  .media-lightbox-nav.media-lightbox-prev {
    order: 2;
  }

  .media-lightbox-stage {
    order: 1;
    flex: 1 1 100%;
    max-height: min(70vh, 560px);
  }

  .media-lightbox-nav.media-lightbox-next {
    order: 3;
  }
}

.media-lightbox-counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(183, 110, 121, 0.15);
  margin-top: 0.25rem;
}

.modal-actions .spacer {
  flex: 1;
}

#btn-delete-task {
  color: #8b2942;
  border-color: rgba(139, 41, 66, 0.35);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.empty-side {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}
