/* File: core-ui.css
   Description: Shared global UI tokens and generic container primitives.
*/

/* =========================================
   Base tokens
========================================= */
:root {
  --bg-white: #fff;
  --bg-gray: #f5f5f5;
  --shadow-1: 0 2px 4px rgba(0,0,0,.1);
  --shadow-2: 0 2px 6px rgba(0,0,0,.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 9px;
}

/* =========================================
   Generic containers
========================================= */
.post-container,
.small-container {
  background: var(--bg-white);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-lg);
}

.post-container,
.large-container {
  width: 100%;
  max-width: 100%;
  padding: 15px;
  margin: 20px auto;
}

.small-container {
  max-width: 800px;
  margin: 20px auto 400px;
  padding: 5px 30px;
}

.large-container {
  border-radius: var(--radius-sm);
  background: blue;
  box-shadow: var(--shadow-1);
}

/* Fullscreen blue overlay for email-only views (NOT the dashboard modal). */
.large-container-email-only {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: blue;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 9999;
  overflow: auto;
  padding: 20px;
}

/* Email form container + layout. */
#email-form-container {
  background: var(--bg-white);
  box-shadow: var(--shadow-2);
  border-radius: var(--radius-sm);
}

#email-form-container form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================
   Shared confirmation states
========================================= */
.engagement-confirmed-message {
  color: red;
  font-weight: bold;
  line-height: 1.3;
  margin-top: 10px;
  text-align: center;
}

.engagement-confirmation-box {
  padding: 20px;
  background: #e6ffe6;
  border: 1px solid #b3ffb3;
  color: #1b4f1b;
  text-align: center;
}

#ll-email-only-form .email-input {
  margin-bottom: 12px;
  display: block;
}

.main {
  text-align: center;
}
