/* ── MODAL OVERLAY ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── MODAL BOX ── */
.modal-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  text-align: center;
  transform: translateY(-10px);
  transition: transform 0.25s ease;
  font-family:
    'SF Pro Display',
    'SF Pro Text',
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

/* ── MODAL ICON ── */
.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fdecea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon img {
  width: 24px;
  height: 24px;
}

/* ── MODAL TEXT ── */
.modal-title {
  font-size: 20px;

  color: #2c2c2c;
  font-weight: normal;
  margin-bottom: 10px;
}

.modal-message {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: #333;
  margin-bottom: 20px;
  resize: vertical;
  min-height: 80px;
  outline: none;
}

.modal-input:focus {
  border-color: #222;
}

/* ── MODAL BUTTONS ── */
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  letter-spacing: 0.5px;
}

.modal-btn:hover {
  opacity: 0.85;
}

.modal-btn-cancel {
  background: #f5f5ee;
  color: #555;
}

.modal-btn-confirm {
  background: #c0392b;
  color: #ffffff;
}

.modal-btn-positive {
  background: #7a8c6a;
  color: #ffffff;
}

.modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
