/* need2meet (EZ Meet) — teal/meeting theme */
body {
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a2028;
  margin: 0;
}

/* Hero card — replaces Bootstrap jumbotron (removed in BS5) */
.jumbotron,
.hero-card {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  text-align: center;
}
.jumbotron h1, .hero-card h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a2028;
  margin: 0 0 .5rem;
  letter-spacing: -0.02em;
}
.jumbotron::after {
  content: "Find the best meeting spot and time for everyone";
  display: block;
  color: #596575;
  font-size: 1.1rem;
  margin-top: .5rem;
}

/* Content container for forms/results */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

/* Form sections */
form {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem auto;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.input-group {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 600px;
  display: flex;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.input-group form { background: transparent; padding: 0; margin: 0; box-shadow: none; flex-grow: 1; }
.input-group-btn { display: flex; align-items: center; }

/* Form controls */
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: .75rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

/* Buttons */
.btn {
  padding: .6rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-secondary {
  background: #0ea5e9;
  color: #fff;
}
.btn-secondary:hover { background: #0284c7; color: #fff; }
.btn-lg { padding: .9rem 2rem; font-size: 1.1rem; }

/* Big OR divider */
h2 {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  letter-spacing: .1em;
  margin: 1.5rem 0;
  position: relative;
  text-align: center;
}
h2::before, h2::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  vertical-align: middle;
  margin: 0 1rem;
}

/* Result headings */
h1 {
  font-weight: 600;
  color: #1a2028;
}
.hero-card h1, body > .container h1 { color: inherit; }

/* Final page — suggested time/location cards */
body > .container .row {
  margin: 1rem 0;
}
#Time\ 2, #Time\ 3, #Location\ 2 {
  width: 100%;
  min-height: 60px;
  background: #fff;
  color: #1a2028;
  border: 2px solid #0ea5e9;
  font-weight: 500;
  margin-bottom: .75rem;
}
#Time\ 2:hover, #Time\ 3:hover { background: #0ea5e9; color: #fff; }
#Location\ 2 { background: #10b981; border-color: #10b981; color: #fff; }
#Location\ 2:hover { background: #059669; border-color: #059669; }

/* Password fields show * */
input[type="password"]::placeholder { letter-spacing: 0; }

/* Search results section */
h3, center h3 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  margin: 1.5rem 0;
  text-align: center;
}

/* Time slots on the search result page */
[id^="1x"], [id^="2x"], [id^="3x"], [id^="4x"], [id^="5x"], [id^="6x"], [id^="7x"] {
  margin: .25rem;
  min-width: 85px;
}

/* Make the time-slot rows fit mobile */
@media (max-width: 768px) {
  .jumbotron h1 { font-size: 2rem; }
  .jumbotron { padding: 2rem 1rem; }
  .input-group { flex-direction: column; }
  .input-group-btn { width: 100%; }
  .btn-secondary { width: 100%; }
}
.text-center { text-align: center; }

[data-theme="dark"] body { background: linear-gradient(135deg, #0c4a6e 0%, #312e81 100%) !important; color: #e4e7ec !important; }
[data-theme="dark"] .jumbotron, [data-theme="dark"] .hero-card, [data-theme="dark"] form, [data-theme="dark"] .input-group {
  background: rgba(30,40,50,0.95) !important; color: #e4e7ec !important;
}
[data-theme="dark"] .jumbotron h1, [data-theme="dark"] .hero-card h1, [data-theme="dark"] h1 { color: #e4e7ec !important; }
[data-theme="dark"] .jumbotron::after { color: #9aa5b1 !important; }
[data-theme="dark"] .form-control { background: #2a3438 !important; color: #e4e7ec !important; border-color: #3a4448 !important; }

/* Utility classes for CSP-strict inline-style replacement */
.text-center-h1 { text-align: center; }
