/* ==========================
   GENERAL LAYOUT
========================== */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #f6f7f9;
  color: #222;
}

.container {
  max-width: 720px;
  margin: auto;
  padding: 16px;
  position: relative;
  overflow: visible;
}

.form-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.form-header a { display: inline-flex; align-items: center; }

/* Watermark logo as subtle background */
.container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://centralsuitesthessaloniki.gr/wordpress/wp-content/uploads/2025/06/cslogo.png');
  background-repeat: no-repeat;
  background-position: center 48px; /* slightly top-centered */
  background-size: 45%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%) contrast(0.9);
}

/* Ensure form content renders above the watermark */
.container > * {
  position: relative;
  z-index: 1;
}
.form-logo {
  display: none; /* hide the inline logo; we use a subtle background watermark */
}
@media (max-width: 600px) {
  .form-logo { display: none; }
}

@media (max-width: 600px) {
  .container { padding-top: 64px; }
}


/* ==========================
   STEP LAYOUT
========================== */
.step {
  display: none;
}

.step.active {
  display: block;
}

label {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
}

input, select, textarea {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Validation styles */
.invalid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.06);
}
.field-error {
  color: #e53935;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Mark required labels with a red asterisk */
label.required::after {
  content: " *";
  color: #e53935;
  margin-left: 4px;
  font-weight: 700;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.form-banner {
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.form-banner.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid rgba(198,40,40,0.12);
}
.form-banner.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid rgba(46,125,50,0.12);
}

textarea {
  min-height: 100px;
}

/* Numeric fields smaller */
.numeric {
  max-width: 140px;
}

/* ==========================
   BUTTONS
========================== */
.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

button {
  flex: 1;
  padding: 14px;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.next {
  background: #0066ff;
  color: white;
}

.back {
  background: #ddd;
}

/* ==========================
   PROGRESS BAR
========================== */
.progress {
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-bar {
  height: 100%;
  background: #0066ff;
  width: 0%;
  transition: width 0.3s ease;
}

/* ==========================
   CHECKBOXES
========================== */
.checkbox-group label,
.facilities label {
  /*display: flex;*/
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.95rem;
}

/* ==========================
   FACILITIES CLEAN + RESPONSIVE
========================== */
/* ==========================
   FACILITIES CLEAN VERTICAL
========================== */
.facilities-group {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.facilities {
  display: flex;
  flex-direction: column; /* vertical stack */
  gap: 8px; /* space between checkboxes */
  margin-top: 8px;
}

@media(min-width: 600px){
  .facilities { 
    grid-template-columns: repeat(2, 1fr); 
  }
}

/* ==========================
   RESPONSIVE ADJUSTMENTS
========================== */
@media (min-width: 768px) {
  body {
    background: #e9ebee;
  }
}

