@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  --color-primary: #14648C;
  --color-primary-hover: #0f4e6e;
  --color-secondary: #70A8BA;
  --color-background: #EFEAE4;
  --color-surface: #FFFFFF;
  --color-neutral: #CBC0AA;
  --color-accent: #F4D18F;
  --color-cta: #C97259;
  --color-cta-text: #A05B47; /* darkened terracotta: 5.1:1 on white, passes WCAG AA for small text */
  --color-text: #1A1A1A;
  --color-text-muted: #5c574f;
  --color-error: #b3261e;
  --color-error-bg: #fbebe9;

  --font-heading: "Poppins", "Open Sans", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-card: 0 2px 8px rgba(26, 26, 26, 0.08), 0 1px 2px rgba(26, 26, 26, 0.06);

  --duration-fast: 150ms;
  --duration-base: 220ms;
  --easing-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

p {
  margin: 0;
}

a {
  color: var(--color-primary);
}

button {
  font-family: inherit;
}

/* Layout */

.summit-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.summit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-neutral);
}

.summit-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.summit-header__logo {
  width: 36px;
  height: 36px;
  display: block;
}

.summit-header__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.summit-header__subtitle {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.summit-main {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4) var(--space-7);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--easing-out), transform var(--duration-fast) var(--easing-out);
  touch-action: manipulation;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text-muted);
  border: none;
  border-radius: var(--radius-md);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--duration-fast) var(--easing-out);
}

.btn-text:hover {
  background-color: var(--color-background);
}

.btn-text:active {
  transform: scale(0.97);
}

.btn-text:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Login card */

.login-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6) var(--space-5);
}

.login-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  display: block;
}

.login-card__title {
  font-size: 22px;
  text-align: center;
  margin-bottom: var(--space-2);
}

.login-card__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: var(--space-5);
}

.field {
  margin-bottom: var(--space-5);
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-neutral);
  background-color: var(--color-background);
  font-size: 16px;
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--easing-out), box-shadow var(--duration-fast) var(--easing-out);
}

.field input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.field input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 100, 140, 0.18);
}

.field input[aria-invalid="true"] {
  border-color: var(--color-error);
}

/* Alerts */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.alert-error {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(179, 38, 30, 0.25);
}

.alert-notice {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.alert svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

/* Breakout sessions list */

.summit-greeting {
  margin-bottom: var(--space-5);
}

.summit-greeting__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-1);
}

.summit-greeting h1 {
  font-size: 24px;
}

.summit-greeting p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: var(--space-2);
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.session-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.session-card__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
}

.session-card__header:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: -3px;
  border-radius: var(--radius-lg);
}

.session-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.session-card__chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-card__chevron svg {
  width: 16px;
  height: 16px;
  color: var(--color-text);
}

.session-card__panel {
  height: 0;
  overflow: hidden;
}

.session-card__panel-inner {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid var(--color-background);
  padding-top: var(--space-3);
}

.session-card__panel-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-cta-text);
  margin-bottom: var(--space-2);
}

.empty-state {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (min-width: 640px) {
  .summit-main {
    padding-top: var(--space-7);
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
