/* ==========================================
   Neurocritical Care - EN Styles
   Light Blue Clinical Theme
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f4f9ff;
  --panel: #ffffff;
  --panel-soft: #eaf4ff;
  --accent: #3aa0ff;
  --accent-hover: #1f7fd6;
  --text: #1e293b;
  --muted: #5b6b7f;
  --border: #cfe5ff;
  --radius: 12px;
  --maxw: 1000px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Language Switcher */

.language-switcher {
  text-align: right;
  margin-bottom: 15px;
}

.language-switcher a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 6px;
}

.language-switcher a.active,
.language-switcher a:hover {
  color: var(--accent);
  font-weight: 600;
}

/* Breadcrumb */

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

/* Header */

.app-header {
  margin-bottom: 30px;
}

.subtitle {
  color: var(--muted);
}

/* Panels */

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(58, 160, 255, 0.08);
}

.panel h2 {
  margin-bottom: 12px;
  color: var(--accent);
}

/* Forms */

label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

select {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  transition: 0.2s ease;
}

select:focus {
  border-color: var(--accent);
  outline: none;
  background: #ffffff;
}

/* ================= BUTTONS – Clinical Premium ================= */

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 170px;
  padding: 13px 26px;

  border-radius: 12px;
  border: none;

  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;

  cursor: pointer;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);

  position: relative;
  overflow: hidden;
}

/* ================= PRIMARY ================= */

button.primary {
  background: linear-gradient(
    145deg,
    #49b3ff,
    #1f7fd6
  );
  color: white;

  box-shadow:
    0 6px 18px rgba(58,160,255,0.35),
    0 2px 6px rgba(31,127,214,0.25);
}

/* Hover elevation */
button.primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 24px rgba(58,160,255,0.45),
    0 4px 10px rgba(31,127,214,0.35);
}

/* Active press */
button.primary:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 10px rgba(58,160,255,0.3);
}

/* Subtle shine effect */
button.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.15)
  );
  transform: skewX(-20deg);
  transition: 0.6s;
}

button.primary:hover::after {
  left: 130%;
}

/* ================= SECONDARY ================= */

button.secondary {
  background: #ffffff;
  border: 2px solid var(--accent);
  color: var(--accent);

  box-shadow: 0 4px 12px rgba(58,160,255,0.12);
}

button.secondary:hover {
  background: var(--panel-soft);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

button.secondary:active {
  transform: translateY(0);
}

/* ================= FOCUS (Accessibility) ================= */

button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(58,160,255,0.35);
}


@media (max-width: 768px) {
  .container {
    padding: 25px 15px 50px;
  }
}
