/*
Theme Name: MirrorPress Coming Soon
Theme URI: https://mirrorpress.local/
Author: MirrorPress
Description: A very basic coming soon theme for MirrorPress with a centered waitlist form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: mirrorpress-coming-soon
*/

:root {
  --mp-navy: #071936;
  --mp-blue: #0ea5ff;
  --mp-text: #172033;
  --mp-muted: #526174;
  --mp-bg-start: #eef5fb;
  --mp-bg-end: #f7f9fd;
  --mp-card: #ffffff;
  --mp-border: #d9e4ee;
  --mp-input: #e7edf4;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--mp-text);
  background:
    radial-gradient(circle at 50% 46%, rgba(14, 165, 255, 0.10), transparent 32rem),
    linear-gradient(105deg, var(--mp-bg-start) 0%, var(--mp-bg-end) 55%, #fbfcff 100%);
}

body.admin-bar .mp-coming-soon {
  min-height: calc(100vh - 32px);
}

.mp-coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px) 24px;
}

.mp-coming-soon__inner {
  width: min(100%, 760px);
  text-align: center;
  margin: 0 auto;
}

.mp-logo {
  display: block;
  width: min(100%, 645px);
  height: auto;
  margin: 0 auto clamp(30px, 4vw, 42px);
}

.mp-title {
  margin: 0;
  color: var(--mp-navy);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(7, 25, 54, 0.08);
}

.mp-subtitle {
  max-width: 720px;
  margin: 35px auto 46px;
  color: #223047;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.mp-form-card {
  width: min(100%, 650px);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 50px) clamp(28px, 4vw, 50px);
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(14, 165, 255, 0.08), 0 16px 36px rgba(7, 25, 54, 0.05);
}

.mp-form-card .forminator-ui,
.mp-form-card form {
  margin: 0 !important;
}

/* Forminator-friendly defaults. These are intentionally scoped to this card. */
.mp-form-card .forminator-row,
.mp-form-card .forminator-field,
.mp-form-card .forminator-button-submit,
.mp-form-card .forminator-col {
  margin-bottom: 0 !important;
}

.mp-form-card .forminator-row {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

.mp-form-card input[type='email'],
.mp-form-card input[type='text'],
.mp-form-card .forminator-input {
  width: 100% !important;
  min-height: 70px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--mp-input) !important;
  color: var(--mp-navy) !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  padding: 0 30px !important;
  box-shadow: none !important;
}

.mp-form-card input::placeholder,
.mp-form-card .forminator-input::placeholder {
  color: #768392 !important;
  opacity: 1 !important;
}

.mp-form-card button,
.mp-form-card input[type='submit'],
.mp-form-card .forminator-button-submit {
  min-height: 70px !important;
  padding: 0 40px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--mp-blue) !important;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 12px 18px rgba(14, 165, 255, 0.24) !important;
  cursor: pointer !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}

.mp-form-card button:hover,
.mp-form-card input[type='submit']:hover,
.mp-form-card .forminator-button-submit:hover {
  transform: translateY(-1px);
  background: #0497ee !important;
  box-shadow: 0 16px 24px rgba(14, 165, 255, 0.28) !important;
}

.mp-form-card .forminator-response-message,
.mp-form-card .forminator-error-message {
  margin-top: 16px !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
}

.mp-privacy-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  color: #182238;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mp-privacy-note .material-symbols-outlined {
  color: var(--mp-navy);
  font-size: 24px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

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

@media (max-width: 720px) {
  body.admin-bar .mp-coming-soon { min-height: calc(100vh - 46px); }

  .mp-logo { width: min(100%, 440px); }

  .mp-subtitle { margin-top: 24px; margin-bottom: 32px; }

  .mp-form-card .forminator-row { display: block !important; }

  .mp-form-card .forminator-col,
  .mp-form-card .forminator-field {
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .mp-form-card input[type='email'],
  .mp-form-card input[type='text'],
  .mp-form-card .forminator-input,
  .mp-form-card button,
  .mp-form-card input[type='submit'],
  .mp-form-card .forminator-button-submit {
    width: 100% !important;
    min-height: 62px !important;
    font-size: 18px !important;
  }

  .mp-privacy-note { font-size: 14px; line-height: 1.4; }
}
