/* =========================================================
   KOZINIEC - PRO DESIGN SYSTEM
   Front + Admin Unified UI
   Version: 2.0 PREMIUM
========================================================= */

/* =========================
   RESET + BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   DESIGN TOKENS
========================= */

:root {

  /* COLORS */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: rgba(37,99,235,0.12);

  --success: #16a34a;
  --danger: #dc2626;

  /* BACKGROUND */
  --bg: #f1f5f9;
  --card: #ffffff;
  --muted: #64748b;

  --text: #0f172a;
  --border: #e2e8f0;

  /* RADIUS */
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  /* SHADOWS */
  --shadow-sm: 0 6px 18px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);

  /* SPACING */
  --s-1: 6px;
  --s-2: 10px;
  --s-3: 15px;
  --s-4: 20px;
  --s-5: 30px;
  --s-6: 50px;
}
/* DARK MODE */
@media (prefers-color-scheme: dark) {
@import url("https://cdn.jsdelivr.net/npm/flatpickr/dist/themes/dark.css");
  :root {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --border: #334155;
    --muted: #94a3b8;
  }
}

/* =========================
   LAYOUT HELPERS
========================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
}

.title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 25px;
}

.text-muted {
  color: var(--muted);
}

/* =========================
   BUTTON SYSTEM
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 18px;
  border-radius: var(--r-md);

  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: white;

  border: none;
  cursor: pointer;

  font-weight: 500;
  text-decoration: none;

  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn:active {
  transform: scale(0.98);
}

.btn-small {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: var(--r-sm);
}

.btn-edit{
  color:rgb(6, 78, 27);
  background-color: rgb(16, 201, 32);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px 10px 5px 10px;
  border:1px solid rgb(6, 78, 27);
  box-shadow: 0 2px 6px rgb(4, 114, 39,0.7);
  box-sizing: border-box;
}

.btn-delete{
  color:red;
  background-color: #990033;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px 10px 5px 10px;
  border:1px solid red;
  box-shadow: 0 2px 6px rgb(202, 0, 0,0.7);
  box-sizing: border-box;
}

.btn-hover:hover{
    color:white;
    border:1px solid white;
}

.btn-danger {
  background: var(--danger);
}

.btn-success {
  background: var(--success);
}

/* =========================
   NAVBAR FRONTEND
========================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 40px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;
  z-index: 999;
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(15,23,42,0.7);
  }
}

.navbar a {
  margin: 0 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.navbar a:hover {
  color: var(--primary);
}

/* =========================
   HERO (TYLKO INDEX)
========================= */

.hero {
  position: relative;

  height: 85vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;

  background: url("../images/tlo.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );

  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
}

.hero p {
  max-width: 600px;
  margin-top: 10px;
  opacity: 0.9;
}
/* =========================
   HERO SMALL (PODSTRONY)
========================= */

.hero-small {
  position: relative;

  height: 35vh;
  min-height: 260px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;

  background: url("../images/tlo.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero-small::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.4)
  );

  z-index: 1;
}

.hero-small * {
  position: relative;
  z-index: 2;
}

.hero-small h1 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-small {
    height: 28vh;
  }
}
/* mobile */
@media (max-width: 768px) {
  .hero-small {
    height: 30vh;
  }
}
/* =========================
   GRID SYSTEM
========================= */

.grid,
.admin-grid,
.offer-grid,
.attractions {
  display: grid;
  gap: 22px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-grid {
    width: calc(100vw - 40px);
    margin-left: 20px;
    margin-top: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  
}


/* =========================
   CARDS SYSTEM
========================= */

.card,
.offer-card,
.admin-card,
.text-block {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover,
.offer-card:hover,
.admin-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* =========================
   IMAGES
========================= */

img {
  max-width: 100%;
  display: block;
}

.offer-card img,
.gallery img {
  filter: contrast(1.05) saturate(1.1);
}

/* =========================
   GALERIA
========================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
}

.gallery img {
  height: 160px;
  object-fit: cover;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: 0.3s;
}

.gallery-card:hover {
  transform: scale(1.05);
}

/* .gallery-item{
    margin-left:20px;
    margin-top:20px;
    border: 2px solid rgb(0, 111, 170);
    border-bottom: none; 
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: px;
    width: fit-content;
} 

.gallery-delete{
    background-color: rgb(0, 111, 170); 
    border:2px solid rgb(0, 111, 170);
    height: 40px;
    width: 100%;
    margin-left:20px;
}  */

.gallery-item {
    display: block;
    height: 160px;
    object-fit: cover;
    border: 2px solid #1d4ed8;
    border-bottom: none;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.gallery-card {
    margin-left: 20px;
    margin-top: 20px;
    width: fit-content;
}



.gallery-delete {
    border: 2px solid #1d4ed8;
    border-top: none;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius:15px;
    border-bottom-left-radius:15px;
    background-color: #1d4ed8;
}

/* =========================
   TABLE (ADMIN)
========================= */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-left:20px;
  margin-right:20px;
  width: calc(100% - 40px) !important;
  margin-top:20px;
}

.admin-table th {
  background: linear-gradient(135deg, var(--primary), #1e40af);
  color: white;
  padding: 12px;
  text-align: left;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.admin-table tr:hover {
  background: var(--primary-soft);
}

.table-h1{
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10px;
    margin-left: 20px;
}
.btn-admin-start{
    margin: 2px auto 20px 20px ;
}
/* =========================
   FORMS
========================= */

.admin-form,
.reservation-form {
  background: var(--card);
  padding: 30px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  margin-bottom: 12px;
  transition: 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  transform: scale(1.02);
  border-color: var(--primary);
}

/* =========================
   ADMIN HEADER
========================= */

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  background: var(--primary);
  color: white;

  padding: 15px 25px;
}

.admin-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.admin-nav a {
  color: #dbeafe;
  text-decoration: none;
}

.admin-nav a:hover {
  color: white;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card,
.section,
.admin-card {
  animation: fadeUp 0.5s ease both;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    height: 70vh;
  }

  .section {
    padding: 50px 15px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {

  .hero h1 {
    font-size: 30px;
  }

  .btn {
    width: 100%;
  }
}
/* =========================
   FRONT NAV - FINAL FIXED/STICKY
========================= */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px 40px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;
  z-index: 9999;

  width: 100%;
}

/* LOGO PO LEWEJ */
.site-nav .logo {
  position: absolute;
  left: 40px;
  display: flex;
  align-items: center;
}

/* LOGO IMG */
.site-nav .logo img {
  height: 52px;
  width: auto;
  object-fit: contain;

  display: block;

  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
  transition: all 0.3s ease;
}

.site-nav .logo img:hover {
  transform: scale(1.08);
}

/* MENU NA ŚRODKU */
.site-nav .links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.site-nav .links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;

  padding: 6px 10px;
  border-radius: 10px;

  transition: 0.2s;
}

.site-nav .links a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  .site-nav {
    background: rgba(15,23,42,0.75);
  }

  .site-nav .logo img {
    filter: brightness(1.1) drop-shadow(0 3px 8px rgba(0,0,0,0.5));
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }

  .site-nav .logo {
    position: static;
  }

  .site-nav .links {
    flex-direction: column;
    gap: 10px;
  }
}
/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 12px;
}

.footer-col p {
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 6px;
  transition: 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  .site-footer {
    background: rgba(15,23,42,0.8);
  }
}
/* =========================
   LOGO - FINAL PRO STYLE
========================= */

.site-nav .logo {
  display: flex;
  align-items: center;
}

/* OBRAZ LOGO */
.site-nav .logo img {
  height: 52px;              /* idealny rozmiar navbar */
  width: auto;
  object-fit: contain;

  display: block;

  /* poprawa jakości */
  image-rendering: auto;

  /* usuwa efekt "szarego tła" wizualnie */
  mix-blend-mode: multiply;

  /* subtelny cień dla czytelności */
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));

  transition: all 0.3s ease;
}

/* HOVER */
.site-nav .logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* DARK MODE FIX */
@media (prefers-color-scheme: dark) {
  .site-nav .logo img {
    mix-blend-mode: normal; /* żeby nie znikało */
    filter: brightness(1.1) drop-shadow(0 3px 8px rgba(0,0,0,0.5));
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .site-nav .logo img {
    height: 42px;
  }
}
/* =========================
   HERO - IMAGE BACKGROUND
========================= */

.hero {
  position: relative;

  height: 85vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;

  background: url("../images/tlo.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* OVERLAY (żeby tekst był czytelny) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );

  z-index: 1;
}

/* TREŚĆ NAD TŁEM */
.hero * {
  position: relative;
  z-index: 2;
}

/* TEKST */
.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
}

.hero p {
  max-width: 600px;
  margin-top: 10px;
  opacity: 0.9;
}


/* kalendarz rezerwacji

===================================================
===================================================
*/

/* RESET dla flatpickr */
.flatpickr-calendar * {
    box-sizing: content-box;
}

/* naprawa siatki dni */
.flatpickr-days {
    display: flex;
}

.flatpickr-day {
    max-width: 40px;
    height: 40px;
    line-height: 40px;
}

/* usuwa dziwne bordery */
.flatpickr-day,
.flatpickr-days,
.flatpickr-innerContainer {
    border: none !important;
}
.flatpickr-calendar {
    padding: 10px;
}

.flatpickr-days {
    gap: 2px;
}

.flatpickr-day {
    border-radius: 6px;
    margin: 2px;
}

/* Wyśrodkowanie na środku strony */
/* =========================
   ADMIN LOGIN (PRO SYSTEM)
========================= */

#login-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--bg);
  font-family: inherit;
}

/* CONTAINER */
#login-container {
  width: 100%;
  max-width: 380px;

  padding: 35px;

  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);

  box-shadow: var(--shadow-lg);

  text-align: center;

  animation: fadeUp 0.5s ease;
}

/* TITLE */
#login-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
}

/* FORM */
#login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* INPUTY */
#login-form input {
  padding: 12px;

  border-radius: var(--r-md);
  border: 1px solid var(--border);

  background: transparent;
  color: var(--text);

  transition: 0.25s;
}

#login-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-soft);
  transform: scale(1.02);
}

/* BUTTON */
#login-button {
  padding: 12px;
  border-radius: var(--r-md);

  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;

  font-weight: 500;

  transition: 0.25s;
  box-shadow: var(--shadow-sm);
}

#login-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#login-button:active {
  transform: scale(0.98);
}

/* ERROR */
#error-message {
  margin-top: 10px;
  color: var(--danger);
  font-size: 14px;
}

/* LOGO (opcjonalnie nad logowaniem) */
.login-logo {
  margin-bottom: 15px;
}

.login-logo img {
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

/* DARK MODE EXTRA */
@media (prefers-color-scheme: dark) {
  #login-container {
    background: var(--card);
    border-color: var(--border);
  }
}

/* MOBILE */
@media (max-width: 480px) {
  #login-container {
    margin: 15px;
    padding: 25px;
  }
}
/* =========================================================
   GALERIA + LIGHTBOX (SYSTEM)
========================================================= */

/* =========================
   TABS (KATEGORIE)
========================= */

.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin: var(--s-5) 0;
}

.gallery-tabs button {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);

  background: var(--card);
  color: var(--text);

  cursor: pointer;
  font-weight: 500;

  transition: all 0.25s ease;
}

.gallery-tabs button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.gallery-tabs button.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  box-shadow: var(--shadow-sm);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.92);

  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  backdrop-filter: blur(6px);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 70%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transition: 0.3s;
}

/* =========================
   STRZAŁKI
========================= */

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-size: 40px;
  color: white;

  cursor: pointer;
  z-index: 10001;

  padding: 12px;
  border-radius: 50%;

  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);

  transition: 0.25s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* =========================
   CLOSE BUTTON
========================= */

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;

  font-size: 30px;
  color: white;

  cursor: pointer;
  z-index: 10002;

  padding: 6px 12px;
  border-radius: var(--r-sm);

  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);

  transition: 0.25s;
}

.lightbox-close:hover {
  background: var(--danger);
}

/* =========================
   LICZNIK
========================= */

.lightbox-counter {
  position: absolute;
  bottom: 120px;

  color: white;
  font-size: 14px;

  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: var(--r-sm);
}

/* =========================
   MINIATURKI
========================= */

.thumbnails {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;

  margin-top: var(--s-3);
  padding: 10px;

  max-width: 90%;
}

.thumbnails img {
  height: 60px;
  border-radius: var(--r-sm);

  cursor: pointer;
  opacity: 0.6;

  transition: 0.25s;
  border: 2px solid transparent;
}

.thumbnails img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnails img.active {
  opacity: 1;
  border-color: white;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .lightbox img {
    max-height: 60%;
  }

  .lightbox-counter {
    bottom: 100px;
  }

  .thumbnails img {
    height: 50px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
  }
}
/* =========================
   CATEGORY SELECT (ADMIN UI)
========================= */

.category-form {
  margin-top: var(--s-2);
  display: flex;
  justify-content: center;
}

/* SELECT */
.category-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: var(--s-1) calc(var(--s-4)) var(--s-1) var(--s-2);

  font-size: 13px;
  font-weight: 500;

  border: 1px solid var(--border);
  border-radius: var(--r-sm);

  background-color: var(--card);
  color: var(--text);

  box-shadow: var(--shadow-sm);

  cursor: pointer;
  transition: all 0.2s ease;

  /* custom arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%230f172a' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}

/* HOVER */
.category-form select:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* FOCUS */
.category-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* ACTIVE (kliknięcie) */
.category-form select:active {
  transform: scale(0.98);
}

/* =========================
   KOLOR KATEGORII (opcjonalne 🔥)
========================= */

.category-form select option[value="pokoje"] {
  color: var(--primary);
}

.category-form select option[value="atrakcje"] {
  color: var(--success);
}

.category-form select option[value="okolica"] {
  color: var(--muted);
}
/* =========================
   FORM ELEMENTS (GLOBAL FIX)
========================= */

input,
select,
textarea {
  width: 100%;
  padding: var(--s-2);

  font-size: 14px;
  font-weight: 500;

  border-radius: var(--r-sm);
  border: 1px solid var(--border);

  background: var(--card);   /* 🔥 zamiast białego */
  color: var(--text);

  box-shadow: var(--shadow-sm);

  transition: all 0.2s ease;
}

/* placeholder */
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

/* hover */
input:hover,
select:hover,
textarea:hover {
  border-color: var(--primary);
}

/* focus */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* disabled */
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}