/*
 * Autor: Piotr Łebek
 * email: piotr@camtronic.pl
 * Rok: 2026
 * Wszystkie Prawa Zastrzeżone
 * Typ: Frontend
 * Tytuł: Elunch - Wspólne nowoczesne style aplikacji
 * Rola: Definiuje bazowy wygląd aplikacji, navbar, komponenty, utility i współdzielone reguły responsywne.
 * Wykorzystanie: Ładowany przez aktywne widoki jako wspólny arkusz bazowy root i deploy.
 */
/* ============================================
  NOWOCZESNY DESIGN ELUNCH 2025
  - Glassmorphism
  - Dark Mode Support
  - Modern Gradients
  - Smooth Animations
  ============================================ */
:root {
  color-scheme: light;
  /* Kolory główne */
  --primary-color: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;

  --secondary-color: #6366f1;
  --accent-color: #f59e0b;

  /* Tło */
  --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
  --bg-overlay: rgba(255, 255, 255, 0.95);

  /* Glass effect */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  /* Tekst */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #ffffff;

  /* Cienie */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Zaokrąglenia */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

/* Dark Mode jest wylaczony globalnie; aktywne widoki Elunch maja pozostac jasne. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    'Inter',
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
  GLASSMORPHISM CONTAINERS
  ============================================ */
.glass-container {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--glass-shadow);
  padding: var(--space-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* ============================================
  MODERN LOGIN PAGE
  ============================================ */
.body-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-md);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}
.body-login::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: backgroundMove 20s linear infinite;
}
@keyframes backgroundMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}
.login-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}
.login-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.login-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.login-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
}
.login-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.login-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
  MODERN FORMS
  ============================================ */
.form-group {
  margin-bottom: var(--space-md);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.form-input {
  width: 30%;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-lg);
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

/* Unified control height for date/select fields across app views */
.container-modern input[type='date'],
.container-modern select {
  box-sizing: border-box;
}

.container-modern input[type='date'] {
  height: 44px;
  min-height: 44px;
  padding: 10px 12px;
  line-height: 1.4;
}
.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-input::placeholder {
  color: #9ca3af;
}
.input-group {
  position: relative;
  margin-bottom: var(--space-md);
}
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.25rem;
}
.input-group .form-input {
  width: 100%;
  padding-left: 3rem;
}

/* ============================================
  MODERN BUTTONS
  ============================================ */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  outline: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 2px solid #e5e7eb;
}
.btn-secondary:hover {
  background: #f9fafb;
  border-color: var(--primary-color);
}

/* Bootstrap button override */
.btn {
  font-size: 1.5rem !important;
  padding: 0.875rem 1.5rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-lg) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.btn-success {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}
.btn-success:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}
.btn-success:active {
  transform: translateY(0) !important;
}
.btn-full {
  width: 100%;
}

/* ============================================
   MODERN NAVBAR
   ============================================ */

/* Override Bootstrap navbar styles */
nav.navbar-modern {
  background: rgba(255, 255, 255, 0.9) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  border: none !important;
  padding: 1rem 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm) !important;
  font-size: 1rem !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
}
.navbar-modern .navbar-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 var(--space-lg) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.navbar-modern .navbar-brand {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-sm) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  padding: 0 !important;
  height: auto !important;
  line-height: normal !important;
  margin-right: auto !important;
  text-align: left !important;
}
.navbar-modern .navbar-brand:hover,
.navbar-modern .navbar-brand:focus {
  text-decoration: none !important;
  color: var(--text-primary) !important;
}
.navbar-modern .navbar-logo {
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
  border-radius: var(--radius-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
}
.navbar-modern .navbar-hamburger {
  display: none !important;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  margin-left: 1rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.navbar-modern .navbar-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.navbar-modern .navbar-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-modern .navbar-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar-modern .navbar-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
ul.navbar-menu {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-xs) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
ul.navbar-menu > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
}
ul.navbar-menu > li > a.navbar-link {
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  line-height: normal !important;
}
ul.navbar-menu > li > a.navbar-link:hover,
ul.navbar-menu > li > a.navbar-link:focus {
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--primary-color) !important;
  text-decoration: none !important;
}
ul.navbar-menu > li > a.navbar-link.active {
  background: var(--primary-color) !important;
  color: white !important;
}

/* Dropdown: Specjalne */
ul.navbar-menu > li.navbar-dropdown {
  position: relative !important;
}
ul.navbar-menu > li.navbar-dropdown > ul.navbar-submenu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  min-width: 260px !important;
  background: #ffffff !important;
  border: 1px solid #dbe9ff !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
  padding: 8px !important;
  margin: 0 !important;
  list-style: none !important;
  z-index: 1200 !important;
}
ul.navbar-menu > li.navbar-dropdown:hover > ul.navbar-submenu,
ul.navbar-menu > li.navbar-dropdown:focus-within > ul.navbar-submenu {
  display: block !important;
}
ul.navbar-menu > li.navbar-dropdown > ul.navbar-submenu > li {
  margin: 0 !important;
  padding: 0 !important;
}
ul.navbar-menu > li.navbar-dropdown > ul.navbar-submenu > li > a.navbar-submenu-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.75rem !important;
  font-weight: 500 !important;
  font-size: 1.25rem !important;
  transition:
    background 0.2s ease,
    color 0.2s ease !important;
}
ul.navbar-menu > li.navbar-dropdown > ul.navbar-submenu > li > a.navbar-submenu-link:hover,
ul.navbar-menu > li.navbar-dropdown > ul.navbar-submenu > li > a.navbar-submenu-link:focus {
  background: #eaf4ff !important;
  color: #0f4c81 !important;
  text-decoration: none !important;
}

/* ============================================
  MODERN CARDS
  ============================================ */
.card-modern {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid #f3f4f6;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.card-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
}

/* ============================================
  MODERN TABLES
  ============================================ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Bootstrap Table overrides - pełna szerokość dla wszystkich tabel */
.bootstrap-table {
  width: 100%;
}
.bootstrap-table .fixed-table-container {
  width: 100%;
}
.bootstrap-table .fixed-table-body {
  width: 100%;
}

/* Bootstrap Table columns dropdown readability */
.bootstrap-table .fixed-table-toolbar .columns .btn {
  min-width: 120px;
}
.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
  min-width: 220px;
}
.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu label {
  white-space: nowrap;
}
.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.table-modern thead {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}
.table-modern th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-modern tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}
.table-modern tbody tr:hover {
  background: #f9fafb;
}
.table-modern td {
  padding: 1rem;
  color: var(--text-primary);
}

/* ============================================
  ALERTS
  ============================================ */
.alert-modern {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* ============================================
  CONTAINER & LAYOUT
  ============================================ */
.container-modern {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 3vw, 2.5rem) 3rem;
}
.page-header {
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.5rem;
  text-align: center;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.95));
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}
.page-header + * {
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}
.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Nie powiększaj mobilnego menu globalnie; większe rozmiary tylko dla desktopu */
@media (min-width: 992px) {
  .navbar-modern ul.navbar-menu > li > a.navbar-link {
    padding: 0.5rem 1rem !important;
    font-size: 1.5rem !important;
  }
  .navbar-modern .navbar-brand {
    font-size: 2rem !important;
  }
  .navbar-modern .navbar-logo {
    width: 40px !important;
    height: 40px !important;
  }
}
@media (max-width: 768px) {
  .navbar-modern .navbar-container {
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    padding: 0 var(--space-md) !important;
  }
  nav.navbar-modern {
    padding: 0.75rem 0 !important;
  }
  .navbar-modern .navbar-brand {
    font-size: 1rem !important;
    gap: 0.75rem !important;
    margin-right: auto !important;
  }
  .navbar-modern .navbar-logo {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.05rem !important;
  }
  .navbar-modern .navbar-hamburger {
    display: inline-flex !important;
  }
  .navbar-modern ul.navbar-menu {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.25rem !important;
    align-items: flex-start !important;
  }
  .navbar-modern ul.navbar-menu.is-open {
    display: flex !important;
  }
  .navbar-modern ul.navbar-menu > li {
    width: 100% !important;
    text-align: left !important;
  }
  .navbar-modern ul.navbar-menu > li > a.navbar-link {
    width: 100% !important;
    justify-content: flex-start !important;
    font-size: 0.98rem !important;
    padding: 0.7rem 0.8rem !important;
    gap: 0.65rem !important;
  }
  .navbar-modern ul.navbar-menu > li.navbar-dropdown > ul.navbar-submenu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0.25rem !important;
    box-shadow: none !important;
    border: 1px solid #dbe9ff !important;
  }
  .navbar-modern ul.navbar-menu > li.navbar-dropdown.open > ul.navbar-submenu {
    display: block !important;
  }
  .flex-container-gap {
    flex-direction: column !important;
  }
  .flex-container-gap > div {
    width: 100% !important;
    flex: none !important;
  }
  .flex-1-min300 input[type='date'],
  .flex-1-auto input[type='date'] {
    width: 100% !important;
  }
  .login-card {
    padding: var(--space-lg);
  }
  .page-title {
    font-size: 2rem;
  }
}

/* ============================================
  UTILITIES
  ============================================ */
.mt-1 {
  margin-top: var(--space-xs);
}
.mt-2 {
  margin-top: var(--space-sm);
}
.mt-3 {
  margin-top: var(--space-md);
}
.mt-4 {
  margin-top: var(--space-lg);
}
.mt-5 {
  margin-top: var(--space-xl);
}
.mb-1 {
  margin-bottom: var(--space-xs);
}
.mb-2 {
  margin-bottom: var(--space-sm);
}
.mb-3 {
  margin-bottom: var(--space-md);
}
.mb-4 {
  margin-bottom: var(--space-lg);
}
.mb-5 {
  margin-bottom: var(--space-xl);
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.hidden {
  display: none;
}
.fade-in {
  animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   LEGACY STYLES (from style.css)
   ============================================ */

/* Body with background image */
.body {
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  background: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)), url('https://unsplash.it/1500/1000?image=643');
}

/* Jumbotron variants */
.jumbotron {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: 0.3rem;
}
.jumbotron2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  background-color: #5cb85c;
  border-radius: 0.3rem;
}
.jumbotron-fluid {
  padding-right: 0;
  padding-left: 0;
  border-radius: 0;
}

/* Form input width controls */
#myid2 {
  width: 80px;
}
#supplier_name {
  width: 120px;
}
#menu_price {
  width: 60px;
}
#menu_no {
  width: 100px;
}
#menu_desctription {
  width: auto;
  min-width: 220px;
  flex: 1 1 320px;
}
#additionalComment {
  width: 500px;
}
#id_list {
  width: 100px;
}
#id_day {
  width: 35px;
}
.addMenu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.addMenu input {
  height: 29px;
}
#tableMenu td[data-field='menu_desctription'],
#tableMenu th[data-field='menu_desctription'] {
  white-space: nowrap;
}

/* Header color variants */
.headers__h4-yellow {
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 10px 15px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}
.headers__h4-blue {
  color: #004085;
  background-color: #cce5ff;
  border: 1px solid #b8daff;
  padding: 10px 15px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

/* Ramka (frame) styles */
.ramka {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 15px;
  border: 3px solid green;
  background: aliceblue;
}
.ramka__users {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-top: 0.35px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 15px;
  border: 2px solid green;
  background: aliceblue;
}

/* Comment styles */
.comment__user {
  color: brown;
  font-size: 80%;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 10px;
}
.comment__user h5 {
  margin-bottom: 10px;
}
.comment__user > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.comment__user input[type='checkbox'] {
  width: auto;
  flex-shrink: 0;
  transform: scale(1.5);
  cursor: pointer;
}
#textComment {
  flex: 1;
  color: green;
  border-radius: 15px;
  font-style: italic;
  font-weight: 500;
  padding: 10px;
  font-size: 90%;
}

/* ============================================
   UTILITY CLASSES FOR INLINE STYLES REPLACEMENT
   ============================================ */

/* Logout link styling */
.navbar-link-logout {
  color: #ef4444 !important;
}
.navbar-link-logout:hover {
  color: #dc2626 !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Flex layouts */
.flex-container {
  display: flex;
}
.flex-container-gap {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}
.flex-1-min300 {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}
.flex-1-auto {
  flex: 0 0 auto;
  width: fit-content;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Margins */
.ml-50 {
  margin-left: 50px;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-15 {
  margin-top: 1.5rem;
}

/* Text colors */
.text-red {
  color: red;
}
.text-green {
  color: green;
}
.text-primary-color {
  color: var(--primary-color);
}
.text-secondary-color {
  color: var(--text-secondary);
}

/* Font sizes */
.text-small {
  font-size: small;
}
.text-14 {
  font-size: 14px;
}
.text-1-25rem {
  font-size: 1.25rem;
}
.text-1-5rem {
  font-size: 1.5rem;
}

/* Font weights */
.font-600 {
  font-weight: 600;
}
.font-700 {
  font-weight: 700;
}

/* Line heights */
.line-height-1-8 {
  line-height: 1.8;
}

/* Guest form styling */
.addGuest {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
.addGuest input[type='text'] {
  width: 400px;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
}
.addGuest select {
  width: 150px;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  height: 29px;
  min-height: 29px;
  padding: 0 10px;
  font-size: 14px;
}
.addGuest input[type='date'] {
  width: 180px;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  height: 29px;
  min-height: 29px;
  padding: 0 10px;
  font-size: 14px;
}

/* Mobile responsiveness for guest form */
@media (max-width: 500px) {
  .addGuest {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .addGuest input[type='text'],
  .addGuest select,
  .addGuest input[type='date'] {
    width: 100%;
  }
}

/* Department select */
.select-department {
  min-width: 160px;
}
