/**
 * @file
 * Generic delete / confirm UI — matches the rest of the site (left-aligned
 * page title + a content-width white card). Applies to every confirm form via
 * the .perivallon-confirm-page body class (perivallon_preprocess_html()).
 */

/* Question / page title — same style as the other page titles. */
.perivallon-confirm-page .block-page-title-block h1,
.perivallon-confirm-page h1.page-title {
  font-family: Poppins, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2A315A;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

/* The confirm form as a standard site card (left-aligned, content width). */
.perivallon-confirm-page .region-content form {
  background: #ffffff;
  border: 1px solid #C5C9E0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(75, 88, 166, 0.08);
  padding: 1.5rem;
  font-family: Poppins, sans-serif;
}

.perivallon-confirm-page .region-content form .form-item,
.perivallon-confirm-page .region-content form p {
  margin: 0;
  color: #2A315A;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Actions row — left aligned, like the other forms. */
.perivallon-confirm-page .form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.perivallon-confirm-page .form-actions .button,
.perivallon-confirm-page .form-actions input[type="submit"] {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 0.625rem;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

/* Destructive primary (Διαγραφή) → red. */
.perivallon-confirm-page .form-actions .button--primary,
.perivallon-confirm-page .form-actions input[type="submit"] {
  background: #C9544F;
  color: #ffffff;
}

.perivallon-confirm-page .form-actions .button--primary:hover,
.perivallon-confirm-page .form-actions input[type="submit"]:hover {
  background: #b5433e;
  color: #ffffff;
}

/* Cancel (Άκυρο) → ghost. */
.perivallon-confirm-page .form-actions .button:not(.button--primary):not([type="submit"]) {
  background: #F2F4F8;
  color: #2A315A;
}

.perivallon-confirm-page .form-actions .button:not(.button--primary):not([type="submit"]):hover {
  background: #e6e9f2;
  color: #2A315A;
}
