/*
  Base Styles (standalone CSS)

  Goal: Provide a lightweight, classless baseline for common HTML elements.

  Source of tokens:
  - main/view/src/main/webapp/static/less/variables.less
  - main/view/src/main/webapp/static/less/assets/bootstrap/variables.less
*/

:root {
  /* Typography */
  --base-font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --base-font-mono: Menlo, Monaco, Consolas, "Courier New", monospace;

  --base-font-size: 13px;
  --base-line-height: 1.428571429;

  --base-h1: 33px;
  --base-h2: 27px;
  --base-h3: 23px;
  --base-h4: 17px;
  --base-h5: 13px;
  --base-h6: 11px;

  /* Colors (Bootstrap 3 defaults) */
  --base-bg: #ffffff;
  --base-fg: #333333;
  --base-muted: #777777;

  --base-primary: #337ab7;
  --base-primary-hover: #23527c;
  --base-success: #5cb85c;
  --base-info: #5bc0de;
  --base-warning: #f0ad4e;
  --base-danger: #d9534f;

  --base-border: #cccccc;
  --base-border-muted: #eeeeee;

  /* Spacing */
  --base-body-padding: 10px;

  --base-pad-y: 5px;
  --base-pad-x: 10px;

  --base-radius: 4px;
  --base-focus-ring: 0 0 0 3px rgba(51, 122, 183, 0.25);
}

/* --- Minimal reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: var(--base-body-padding);
  font-family: var(--base-font-sans);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  color: var(--base-fg);
  background: var(--base-bg);
}

/* --- Headings & text --- */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

h1 { font-size: var(--base-h1); }
h2 { font-size: var(--base-h2); }
h3 { font-size: var(--base-h3); }
h4 { font-size: var(--base-h4); }
h5 { font-size: var(--base-h5); }
h6 { font-size: var(--base-h6); }

p {
  margin: 0 0 10px;
}

small {
  font-size: 85%;
  color: var(--base-muted);
}

hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid var(--base-border-muted);
}

blockquote {
  margin: 0 0 14px;
  padding: 10px 20px;
  border-left: 5px solid var(--base-border-muted);
  color: #555555;
}

/* --- Links --- */

a {
  color: var(--base-primary);
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--base-primary-hover);
  text-decoration: underline;
}

a:focus {
  outline: none;
  box-shadow: var(--base-focus-ring);
  border-radius: 2px;
}

/* --- Lists --- */

ul, ol {
  margin: 0 0 10px;
  padding-left: 40px;
}

li {
  margin: 0;
}

dl {
  margin: 0 0 10px;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
}

/* --- Code --- */

code, kbd, pre, samp {
  font-family: var(--base-font-mono);
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: var(--base-radius);
}

pre {
  display: block;
  margin: 0 0 10px;
  padding: 9px;
  font-size: 12px;
  line-height: 1.428571429;
  color: #333333;
  background-color: #f5f5f5;
  border: 1px solid var(--base-border-muted);
  border-radius: var(--base-radius);
  overflow: auto;
}

/* --- Tables --- */

table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
  border-collapse: collapse;
  background-color: transparent;
}

th {
  text-align: left;
}

th, td {
  padding: 7px;
  line-height: var(--base-line-height);
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dddddd;
}

/* --- Forms --- */

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}

input,
select,
textarea,
button {
  font: inherit;
  line-height: inherit;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea {
  display: block;
  width: 100%;
  padding: var(--base-pad-y) var(--base-pad-x);
  font-size: var(--base-font-size);
  line-height: 1.428571429;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid var(--base-border);
  border-radius: var(--base-radius);
}

textarea {
  min-height: 80px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(51, 122, 183, 0.6);
  box-shadow: var(--base-focus-ring);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
  font-size: 19px;
  line-height: inherit;
  color: #333333;
  border: 0;
  border-bottom: 1px solid var(--base-border-muted);
}

/* --- Buttons (classless, Bootstrap-ish) --- */

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  display: inline-block;
  padding: var(--base-pad-y) var(--base-pad-x);
  margin: 0;
  font-size: var(--base-font-size);
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;

  color: #333333;
  background-color: #ffffff;
  border: 1px solid var(--base-border);
  border-radius: var(--base-radius);
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #e6e6e6;
  border-color: #adadad;
}

button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus {
  outline: none;
  box-shadow: var(--base-focus-ring);
}

button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* --- Images & media --- */

img {
  max-width: 100%;
  height: auto;
}

/* --- Shared layout helpers & components (site-wide) --- */

:root {
  /* Neutral page background used by some pages */
  --base-bg-muted: #f5f5f5;
}

.text-center {
  text-align: center;
}

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

.container {
  width: 100%;
  margin: 0 auto;
}

.container--narrow {
  max-width: 780px;
}

.container--md {
  max-width: 920px;
}

.container--wide {
  max-width: 1200px;
}

.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  background: var(--base-bg);
  border: 1px solid var(--base-border-muted);
  border-radius: var(--base-radius);
  padding: 14px;
  margin: 14px 0;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}

@media (min-width: 760px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  border: 1px solid var(--base-border);
  border-radius: var(--base-radius);
  padding: 14px;
  background: var(--base-bg);
  text-align: left;
}

.card--info {
  border-left: 6px solid var(--base-info);
}

.card--success {
  border-left: 6px solid var(--base-success);
}

.card--warning {
  border-left: 6px solid var(--base-warning);
}

.card--primary {
  border-left: 6px solid var(--base-primary);
}

.card--danger {
  border-left: 6px solid var(--base-danger);
}

.callout {
  background: rgba(91, 192, 222, 0.16);
  border: 1px solid rgba(91, 192, 222, 0.35);
  padding: 10px 12px;
  border-radius: var(--base-radius);
}

.small {
  font-size: 85%;
  color: var(--base-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--base-radius);
  border: 1px solid var(--base-border);
  background: var(--base-bg);
  text-decoration: none;
  font-weight: 700;
  color: var(--base-fg);
}

.btn:hover {
  text-decoration: none;
  background: #e6e6e6;
  border-color: #adadad;
}

.btn:focus {
  outline: none;
  box-shadow: var(--base-focus-ring);
}

.cta {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--base-radius);
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  color: var(--base-bg);
  border: 1px solid transparent;
}

.cta:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

.cta:focus {
  outline: none;
  box-shadow: var(--base-focus-ring);
}

.cta--info {
  background: var(--base-info);
  border-color: var(--base-info);
}

.cta--success {
  background: var(--base-success);
  border-color: var(--base-success);
}

.cta--primary {
  background: var(--base-primary);
  border-color: var(--base-primary);
}

.u-mt-0 {
  margin-top: 0 !important;
}

.u-mt-10 {
  margin-top: 10px !important;
}

.h3-sm {
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* --- Page: Patadmin Advanced Info --- */

body.page--patadmininfo {
  padding: 0;
  background: var(--base-bg-muted);
}

.page--patadmininfo header {
  background: var(--base-bg);
  border-bottom: 1px solid var(--base-border-muted);
}

.page--patadmininfo .wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 18px;
}

.page--patadmininfo main.wrap {
  padding-top: 14px;
  padding-bottom: 26px;
}

/* --- Page: Somniumkino --- */

body.page--somniumkino {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--base-bg-muted);
}

.page--somniumkino main {
  width: 100%;
  max-width: 1200px;
}

.page--somniumkino .header {
  text-align: center;
  margin-bottom: 14px;
}

.page--somniumkino .cinema {
  position: relative;
  border: 1px solid var(--base-border);
  border-radius: var(--base-radius);
  background: var(--base-bg);
  padding: 14px;
}

.page--somniumkino .stage {
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--base-border-muted);
  border-radius: var(--base-radius);
  padding: 14px;
  background: var(--base-bg);
  overflow: hidden;
}

.page--somniumkino .curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6.5%;
  min-width: 18px;
  background: var(--base-danger);
  opacity: 0.9;
}

.page--somniumkino .curtain--left {
  left: 0;
  border-right: 1px solid var(--base-border);
}

.page--somniumkino .curtain--right {
  right: 0;
  border-left: 1px solid var(--base-border);
}

.page--somniumkino .screen-frame {
  width: min(1100px, 100%);
  border: 1px solid var(--base-border);
  border-radius: var(--base-radius);
  padding: 10px;
  background: var(--base-bg);
  position: relative;
  z-index: 1;
}

.page--somniumkino .screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 816;
  border: 1px solid var(--base-border-muted);
  border-radius: calc(var(--base-radius) - 1px);
  overflow: hidden;
  background: var(--base-border);
}

@supports not (aspect-ratio: 1 / 1) {
  .page--somniumkino .screen::before {
    content: "";
    display: block;
    padding-top: calc(816 / 1920 * 100%);
  }
}

.page--somniumkino .screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page--somniumkino .note {
  margin-top: 10px;
  text-align: center;
  color: var(--base-muted);
  font-size: 12px;
}

/* --- Page: Liesingdok --- */

body.page--liesingdok {
  --page-max: 980px;
  padding: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(91, 192, 222, 0.14), transparent 60%),
    radial-gradient(1000px 500px at 85% 0%, rgba(92, 184, 92, 0.12), transparent 55%),
    var(--base-bg);
}

.page--liesingdok .wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page--liesingdok header {
  padding: 28px 16px 12px;
}

.page--liesingdok main {
  flex: 1;
  padding: 0 16px 32px;
}

.page--liesingdok .container {
  max-width: var(--page-max);
}

.page--liesingdok .hero {
  text-align: center;
  padding: 18px 0 10px;
}

.page--liesingdok .hero h1 {
  margin-bottom: 8px;
}

.page--liesingdok .lead {
  max-width: 60ch;
  margin: 0 auto 12px;
  color: var(--base-muted);
}

.page--liesingdok nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.page--liesingdok nav a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--base-border);
  border-radius: var(--base-radius);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.page--liesingdok nav a:hover {
  text-decoration: none;
  background: #ffffff;
}

.page--liesingdok .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 860px) {
  .page--liesingdok .grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: start;
  }
}

.page--liesingdok .card {
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.page--liesingdok .card--accent {
  border-left: 6px solid var(--base-primary);
}

.page--liesingdok .meta {
  display: grid;
  gap: 10px;
}

.page--liesingdok .pillrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.page--liesingdok .pillrow li {
  border: 1px solid var(--base-border);
  border-radius: 999px;
  padding: 4px 10px;
  background: #ffffff;
  color: var(--base-fg);
  font-size: 12px;
}

.page--liesingdok .route {
  margin: 0;
  padding-left: 20px;
}

.page--liesingdok .video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--base-radius);
  overflow: hidden;
  border: 1px solid var(--base-border);
  background: #000;
}

.page--liesingdok .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page--liesingdok footer {
  padding: 18px 16px 28px;
  color: var(--base-muted);
}

.page--liesingdok footer .container {
  text-align: center;
}
