/* -------------------------------------------------------------
 * Tierpflegerin Kiosk System - Premium CSS Stylesheet
 * Pure CSS Layout & Aesthetics (No Image Assets)
 * ------------------------------------------------------------- */

/* Google Fonts Import & Fallbacks handled in HTML, styled here */

:root {
  --bg-dark: #09090c;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  
  /* Brand colors */
  --pink-accent: #e06a7c;
  --pink-glow: rgba(224, 106, 124, 0.4);
  --pink-glow-heavy: rgba(224, 106, 124, 0.8);
  --green-accent: #86efac;
  --green-glow: rgba(134, 239, 172, 0.2);
  
  /* Glassmorphism settings */
  --card-bg: rgba(20, 20, 25, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(10, 10, 12, 0.7);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-focus: #e06a7c;
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Premium CSS-only background using multiple overlapping radial gradients */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: 
    /* Warm lighting top-right (representing physical room lamp) */
    radial-gradient(circle at 80% 15%, rgba(224, 153, 90, 0.18), transparent 45%),
    /* Pink neon glow left (matching wall letters) */
    radial-gradient(circle at 10% 40%, rgba(224, 106, 124, 0.15), transparent 45%),
    /* Pink neon glow right (matching wall paw) */
    radial-gradient(circle at 90% 50%, rgba(224, 106, 124, 0.12), transparent 40%),
    /* Center bottom soft ambient fill */
    radial-gradient(circle at 50% 90%, rgba(30, 30, 40, 0.8), transparent 60%),
    /* Base dark color */
    #0a0a0d;
}

/* Grid overlay for subtle high-tech/room-panel texture */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.02;
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  pointer-events: none;
}

/* Main Wrapper */
.kiosk-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------
 * HEADER
 * ------------------------------------------------------------- */
.kiosk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 3rem;
  background: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), transparent);
}

/* Logo block */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-svg {
  width: 2.75rem;
  height: 2.75rem;
  filter: drop-shadow(0 0 6px var(--pink-glow));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--pink-accent);
}

/* Status block in center */
.kiosk-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--pink-accent);
  animation: pulse-slow 3s infinite ease-in-out;
}

.status-text {
  display: flex;
  flex-direction: column;
}

.status-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-main);
}

.status-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* DateTime block */
.kiosk-datetime {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.time-display {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.date-display {
  font-size: 0.75rem;
  color: var(--pink-accent);
  font-weight: 500;
}

/* -------------------------------------------------------------
 * MAIN CONTENT
 * ------------------------------------------------------------- */
.kiosk-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  align-items: center;
  padding: 0 4rem;
  gap: 2rem;
  position: relative;
}

/* Neon Text left */
.neon-wall-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: rotate(-6deg) translateY(-20px);
  user-select: none;
}

.neon-line {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: #fff0f2;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 
    0 0 4px #fff,
    0 0 10px var(--pink-accent),
    0 0 20px var(--pink-accent),
    0 0 40px var(--pink-accent);
  animation: neon-flicker 4s infinite alternate;
}

.neon-line:nth-child(2) {
  animation-delay: 0.5s;
}
.neon-line:nth-child(3) {
  animation-delay: 1.2s;
}
.neon-line:nth-child(4) {
  animation-delay: 0.8s;
}

/* -------------------------------------------------------------
 * LOGIN CARD (Glassmorphism)
 * ------------------------------------------------------------- */
.login-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  width: 100%;
  max-width: 480px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 2.75rem 2.5rem 2rem 2.5rem;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Lock Icon Header */
.login-badge-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}

.glowing-lock-wrapper {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid var(--pink-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--pink-accent);
  margin-bottom: 1.25rem;
  background: rgba(224, 106, 124, 0.05);
  box-shadow: 
    0 0 15px var(--pink-glow),
    inset 0 0 10px var(--pink-glow);
  position: relative;
  animation: glow-pulse 3s infinite ease-in-out;
}

.glowing-lock-icon {
  width: 2rem;
  height: 2rem;
  filter: drop-shadow(0 0 4px var(--pink-glow-heavy));
}

.welcome-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-accent);
  margin-bottom: 0.35rem;
  text-shadow: 0 0 8px var(--green-glow);
}

.login-title {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.login-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Styles */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-icon-wrapper {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.input-icon-wrapper svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: var(--transition-smooth);
}

.input-group input {
  width: 100%;
  padding: 1.1rem 1rem 1.1rem 3.25rem;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition-smooth);
}

.input-group input::placeholder {
  color: #52525b;
}

.input-group input:focus {
  outline: none;
  border-color: var(--pink-accent);
  background-color: rgba(12, 12, 16, 0.9);
  box-shadow: 
    0 0 0 1px var(--pink-accent),
    0 0 14px var(--pink-glow);
}

/* Icon change on focus */
.input-group input:focus ~ .input-icon-wrapper svg {
  color: var(--pink-accent);
  filter: drop-shadow(0 0 4px var(--pink-glow));
}

/* Password eye button */
.password-toggle {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.password-toggle:hover {
  color: var(--text-main);
}

.password-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Submit Button */
.login-button {
  width: 100%;
  padding: 1.1rem;
  background-color: var(--pink-accent);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(224, 106, 124, 0.3);
}

.login-button:hover {
  background-color: #e57d8e;
  box-shadow: 
    0 6px 20px rgba(224, 106, 124, 0.5),
    0 0 12px var(--pink-glow-heavy);
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(224, 106, 124, 0.3);
}

.btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* Button Spinner */
.btn-spinner {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  left: calc(50% - 0.75rem);
  top: calc(50% - 0.75rem);
  animation: spin 0.8s linear infinite;
}

.hidden {
  display: none !important;
}

.invisible-text {
  visibility: hidden;
  opacity: 0;
}

/* Handwritten Script Slogan */
.script-slogan {
  font-family: 'Great Vibes', cursive;
  font-size: 1.85rem;
  color: #ffcad1;
  margin: 1.5rem 0;
  user-select: none;
  text-shadow: 0 0 10px rgba(224, 106, 124, 0.2);
}

.heart-symbol {
  color: var(--pink-accent);
  display: inline-block;
  animation: heart-beat 1.6s infinite ease-in-out;
}

/* Login Card Badges Row */
.login-badges {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.login-badge-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge-circle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.badge-circle svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.login-badge-item:hover .badge-circle {
  border-color: var(--pink-accent);
  background: rgba(224, 106, 124, 0.05);
  box-shadow: 0 0 8px var(--pink-glow);
}

.login-badge-item:hover .badge-circle svg {
  color: var(--pink-accent);
  filter: drop-shadow(0 0 2px var(--pink-glow));
}

.badge-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.badge-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.badge-desc {
  font-size: 0.55rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* -------------------------------------------------------------
 * NEON WALL PAW (Right Column)
 * ------------------------------------------------------------- */
.neon-wall-paw {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-20px);
}

.neon-paw-svg {
  width: 7.5rem;
  height: 7.5rem;
  fill: none;
  stroke: #fff0f2;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 6px var(--pink-accent)) drop-shadow(0 0 16px var(--pink-accent));
  animation: neon-glow-pulse 4s infinite ease-in-out;
}

/* -------------------------------------------------------------
 * HEADER NAVIGATION & DROPDOWN
 * ------------------------------------------------------------- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--pink-accent);
}

.nav-link-btn {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.nav-link-btn:hover {
  border-color: var(--pink-accent);
  background: rgba(224, 106, 124, 0.05);
  box-shadow: 0 0 10px var(--pink-glow);
  color: var(--pink-accent);
}

/* -------------------------------------------------------------
 * FOOTER (Expanded)
 * ------------------------------------------------------------- */
.kiosk-footer {
  background: rgba(7, 7, 10, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 3rem 1.5rem 3rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon-wrapper {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--pink-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.feature-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Footer Middle (Columns) */
.footer-middle {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.col-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
}

.col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.col-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.col-links a:hover {
  color: var(--pink-accent);
}

.col-link-icon {
  width: 1rem;
  height: 1rem;
  color: var(--pink-accent);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-success {
  background: rgba(134, 239, 172, 0.1);
  color: var(--green-accent);
  border: 1px solid rgba(134, 239, 172, 0.2);
}

.badge-info {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Footer Bottom (Copyright) */
.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * MODAL OVERLAY & CONTENT (Glassmorphism)
 * ------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: var(--transition-smooth);
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.glass-modal {
  background: rgba(22, 22, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  width: 90%;
  max-width: 550px;
  padding: 3rem 2.5rem;
  position: relative;
  animation: modal-zoom-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-zoom-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(224, 106, 124, 0.1);
  color: var(--pink-accent);
  border-color: var(--pink-accent);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.modal-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* Modal specific content modules */
.modal-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.modal-input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-input-group input,
.modal-input-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.modal-input-group input:focus,
.modal-input-group textarea:focus {
  outline: none;
  border-color: var(--pink-accent);
  box-shadow: 0 0 10px var(--pink-glow);
}

.modal-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--pink-accent);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(224, 106, 124, 0.3);
}

.modal-submit-btn:hover {
  background: #e57d8e;
  box-shadow: 0 6px 18px rgba(224, 106, 124, 0.5);
}

/* Status Banner inside Modal */
.status-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.status-banner.operational {
  background: rgba(134, 239, 172, 0.08);
  border: 1px solid rgba(134, 239, 172, 0.15);
  color: var(--green-accent);
}

.status-indicator-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 10px var(--green-accent);
  animation: pulse-slow 2s infinite ease-in-out;
}

.status-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.status-service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.service-name {
  font-size: 0.9rem;
  color: var(--text-main);
}

.status-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

/* Portal Mock module */
.portal-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.portal-card h4 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.license-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.license-name {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

.license-details {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.portal-quick-actions {
  display: flex;
  gap: 1rem;
}

.portal-btn {
  flex: 1;
  padding: 0.85rem;
  background: var(--pink-accent);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.portal-btn:hover {
  background: #e57d8e;
}

.portal-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.portal-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Guide items inside Modal */
.guides-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.guide-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
}

.guide-item h5 {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.guide-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -------------------------------------------------------------
 * NOTIFICATION TOAST
 * ------------------------------------------------------------- */
.notification-toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(18, 18, 23, 0.9);
  border: 1px solid var(--pink-accent);
  border-radius: 12px;
  padding: 0.9rem 2rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 100;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 15px var(--pink-glow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  display: flex;
  align-items: center;
  animation: toast-slide-in 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-toast.success {
  border-color: var(--green-accent);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 15px var(--green-glow);
}

/* -------------------------------------------------------------
 * ANIMATIONS
 * ------------------------------------------------------------- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 
      0 0 12px var(--pink-glow),
      inset 0 0 8px var(--pink-glow);
    border-color: var(--pink-accent);
  }
  50% {
    box-shadow: 
      0 0 20px rgba(224, 106, 124, 0.6),
      inset 0 0 12px rgba(224, 106, 124, 0.6);
    border-color: #ff8b9c;
  }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 
      0 0 4px #fff,
      0 0 10px var(--pink-accent),
      0 0 20px var(--pink-accent),
      0 0 40px var(--pink-accent);
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.7;
  }
}

@keyframes neon-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px var(--pink-accent)) drop-shadow(0 0 12px var(--pink-accent));
    stroke: #fff0f2;
    opacity: 0.9;
  }
  50% {
    filter: drop-shadow(0 0 8px var(--pink-accent)) drop-shadow(0 0 22px var(--pink-accent));
    stroke: #ffcad1;
    opacity: 1;
  }
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.15); }
  60% { transform: scale(1.05); }
  80% { transform: scale(1.15); }
}

@keyframes toast-slide-in {
  from {
    transform: translateX(-50%) translateY(1.5rem);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* -------------------------------------------------------------
 * RESPONSIVITÄT & ANPASSUNGEN (Kiosk Safe Layout)
 * ------------------------------------------------------------- */
@media (max-width: 1200px) {
  .kiosk-main {
    grid-template-columns: 1fr 1.5fr;
    padding: 0 2rem;
  }
  .neon-wall-paw {
    display: none; /* Verstecke Pfote auf kleineren Screens */
  }
  .footer-columns {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .kiosk-main {
    grid-template-columns: 1fr;
    justify-content: center;
    padding: 0 1.5rem;
  }
  .neon-wall-text {
    display: none; /* Verstecke Neon-Texte auf Hochkant-Terminals/Tablets */
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .kiosk-header {
    padding: 1.5rem;
  }
  .kiosk-footer {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .header-nav {
    display: none; /* Verberge Nav auf Tablet/Mobile Kiosk-Kopfzeile */
  }
}

@media (max-width: 600px) {
  body {
    overflow: auto; /* Erlaube Scrollen auf winzigen Displays */
  }
  .kiosk-wrapper {
    height: auto;
    min-height: 100vh;
  }
  .kiosk-header {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
  .kiosk-datetime {
    align-items: center;
    text-align: center;
  }
  .login-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .login-badges {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .login-badge-item {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
    width: 100%;
    max-width: 260px;
  }
  .badge-circle {
    margin-bottom: 0;
  }
  .glass-modal {
    padding: 2rem 1.5rem;
  }
  .portal-quick-actions {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------
 * LEGAL MODALS SCROLLABLE TEXT
 * ------------------------------------------------------------- */
.legal-text-scroll {
  max-height: 280px;
  overflow-y: auto;
  text-align: left;
  padding-right: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal-text-scroll p {
  margin-bottom: 1rem;
}

.legal-text-scroll strong {
  color: var(--text-main);
}

/* Custom Scrollbar for Legal Modals */
.legal-text-scroll::-webkit-scrollbar {
  width: 6px;
}
.legal-text-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.legal-text-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.legal-text-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--pink-accent);
}

/* -------------------------------------------------------------
 * COOKIE BANNER (Floating Glassmorphic Card)
 * ------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: calc(100% - 4rem);
  max-width: 400px;
  z-index: 9999;
  animation: cookie-slide-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(3rem);
  opacity: 0;
  pointer-events: none;
}

.glass-cookie {
  background: rgba(18, 18, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(224, 106, 124, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-icon-svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--pink-accent);
  filter: drop-shadow(0 0 4px var(--pink-glow));
}

.cookie-header-row h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.cookie-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.cookie-btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cookie-btn:not(.secondary) {
  background: var(--pink-accent);
  color: #fff;
  box-shadow: 0 4px 10px rgba(224, 106, 124, 0.2);
}

.cookie-btn:not(.secondary):hover {
  background: #e57d8e;
  box-shadow: 0 4px 12px rgba(224, 106, 124, 0.4);
}

.cookie-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.cookie-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

@keyframes cookie-slide-in {
  from {
    transform: translateY(4rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Adjust cookie banner position on mobile */
@media (max-width: 600px) {
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    max-width: none;
  }
}
