/* === Styl pro Mapu pilotů – paleta Sky Grid === */

:root {
  --primary: #0077B6;            /* Modrá nebe – hlavní akcent */
  --secondary: #495057;          /* Šedá grafitová – texty, nadpisy, ikony */
  --background-light: #F8F9FA;   /* Mlha bílá – světlé pozadí */
  --background-dark: #212529;    /* Antracit – tmavé pozadí, patičky */
  --accent: #A9D6E5;             /* Ledově modrá – hover, selekce */
  --neutral: #ADB5BD;            /* Ocelově šedá – rámečky, pasivní prvky */
  --success: #38B000;            /* Signální zelená – stav OK */
  --danger: #D62828;             /* Signal červená – chyba */
  --radius: 10px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --font: 'Poppins', 'Segoe UI', sans-serif;

}

body {
  font-family: var(--font);
  margin: 0 auto;
  padding: 5px;
  max-width: 80%;  /* Změňte max-width na hodnotu, která vám vyhovuje */
  background: var(--background-light);
  color: var(--secondary);
}

h1 {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--primary);
}

h2, h3 {
  color: var(--secondary);
}

#map {
   height: 75vh;
  width: 100%; /* Pokud chcete, aby zabírala více místa, můžete použít větší hodnotu než 100% */
  max-width: 95%;  /* Zvětší šířku mapy */
  margin: 0 auto;  /* Aby mapu vycentrovalo */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  
}

input,
select,
textarea {
  background: white;
  border: 1px solid var(--neutral);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

button:not(.pilot-login-btn):not(#login-button),
.user-action:not(.pilot-login-btn):not(#login-button) {
  margin-top: 0px;
  padding: 2px 4px 10px;
  color: #6c757d;
  border: none;
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform17:10 31.07.2025 0.2s ease, box-shadow 0.3s ease;
  min-width: 100px;
  text-align: center;
  position: center;
}


button:hover,
.user-action:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.link {
  display: block;
  margin-top: 16px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.link:hover {
  color: var(--accent);
  text-decoration: underline;
}

#login-box {
  background: white;
  border: 1px solid var(--neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 30px;
  max-width: 600px;  /* Můžete zvětšit šířku login boxu */
  margin-left: auto;
  margin-right: auto;
  z-index: 1001;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#login-toggle {
  font-size: 28px;
  cursor: pointer;
}

#user-status {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
}

#login-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 1000;
}

body.modal-open {
  overflow: hidden;
}

.leaflet-popup-content h3 {
  font-size: 18px;
  margin: 0;
  color: var(--secondary);
}

.leaflet-popup-content p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.4;
}

.leaflet-popup-content a {
  color: var(--primary);
  text-decoration: none;
}

.pilot-card {
  font-family: 'Segoe UI', sans-serif;
  padding: 12px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.badge-volunteer {
  background-color: #0077B6; /* tvá primární modrá */
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
}


/* Responsivita */
@media (max-width: 600px) {
  body {
    padding: 10px;
    max-width: 100%;  /* Zajistí, že obsah nebude oříznut na malých obrazovkách */
  }

  h1 {
    font-size: 24px;
  }

  .navbar-nav {
    flex-direction: column; /* Navigace bude ve sloupci na menších obrazovkách */
    align-items: center;
  }

  .pilot-card {
    padding: 10px;
  }

  .membership-card {
    padding: 15px;
  }

  .footer {
    font-size: 12px;
  }

  .button-22 {
    width: 100%; /* Tlačítka budou zabírat plnou šířku na malých obrazovkách */
  }

  #map {
    height: 60vh; /* Mapa bude menší na mobilních zařízeních */
  }

  input, select, textarea {
    font-size: 14px; /* Zmenší text v inputech pro lepší přehlednost */
  }

  .discount-offer {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .pilot-card {
    padding: 15px;
  }

  .membership-card {
    padding: 18px;
  }

  .navbar-nav {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-section {
    padding: 20px;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    height: auto;
  }

  button {
    width: 100%; /* Tlačítka na mobilu */
    padding: 15px;
  }

  #map {
    height: 65vh; /* Mapa bude o něco větší než na mobilu */
  }

  .discount-offer {
    font-size: 15px;
  }
  #login-button {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: auto;
  }
  .bindpopup {
    max-height: 80vh;  /* Maximální výška pro kartu, aby se vešla na obrazovku */
    overflow-y: auto;  /* Povolení vertikálního scrollování, pokud je obsah větší než max-height */
    padding: 10px;     /* Padding pro lepší vzhled */
  }


}
.inzerent-gradient-btn {
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  border: none;
  color: #000;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: transform 0.15s ease-in-out, box-shadow 0.15s;
  min-height: 38px;
}

.inzerent-gradient-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(255, 165, 81, 0.4);
  color: #000;
  text-decoration: none;
}

/* Zavírací tlačítko v přihlašovacím modalu */
#login-box .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.25rem;  /* menší šířka */
  height: 1.25rem; /* menší výška */
  padding: 0;
  background-size: 1rem 1rem;
  opacity: 0.6;
  border: none;
}

#login-box .close-btn:hover {
  opacity: 1;
  cursor: pointer;
}

.pilot-login-btn {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.pilot-login-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
  text-decoration: none;
}
#login-toggle {
  font-size: 18px;  /* místo 22px */
  cursor: pointer;
}

.button-22 {
  align-items: center;
  appearance: button;
  background-color: #0276FF;
  border-radius: 8px;
  border-style: none;
  box-shadow: rgba(255, 255, 255, 0.26) 0 1px 2px inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  font-family: "RM Neue", sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  padding: 10px 21px;
  text-align: center;
  text-transform: none;
  transition: color .13s ease-in-out, background .13s ease-in-out, opacity .13s ease-in-out, box-shadow .13s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-22:active {
  background-color: #006AE8;
}

.button-22:hover {
  background-color: #1C84FF;
}
.footer {
  font-size: 14px;
  background-color: var(--background-light);
  color: var(--neutral);
  border-top: 1px solid var(--neutral);
}

.footer a {
  color: var(--secondary);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.pilot-card.unavailable {
  opacity: 0.7;
  border-left: 4px solid #ccc;
}

.pilot-card.unavailable h3 {
  color: #666;
}

.availability-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  margin-left: 8px;
}

.available {
  background-color: #d4edda;
  color: #155724;
}

.unavailable {
  background-color: #f8d7da;
  color: #721c24;
}

.accordion-button {
  color: var(--secondary);  /* Přepisuje bílou barvu z Bootstrapu */
}

.accordion-body {
  color: var(--secondary);  /* Zajištění správné barvy obsahu odpovědi */
}

button.accordion-button:not(.collapsed) {
  background-color: var(--background-light);
  color: var(--secondary);
}

#status {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 500;
}
#drones .input-group {
  align-items: center;
}

#drones .btn-outline-danger {
  min-width: 40px;
  padding: 6px 10px;
  font-size: 18px;
}
#specialization {
  min-height: 120px;
}

#reset-filters {
  height: 38px; /* Stejná výška jako selecty */
  white-space: nowrap;
}
.text-success { color: green; font-weight: bold; }
.text-warning { color: orange; font-weight: bold; }
.text-danger { color: red; font-weight: bold; }
.form-check .form-check-input {
    margin-top: 0 !important;
  }

.discount-offer {
  font-size: 16px;
  color: #495057; /* Text color */
  font-weight: normal;
  line-height: 1.4;
  margin-top: 15px;
  text-align: justify; /* Justify text to align the text block */
  background-color: #fff3cd; /* Light yellow background */
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  word-wrap: break-word; /* Ensure long words break for wrapping */
}

.discount-offer strong {
  font-weight: bold; /* Bold for discounts */
  color: #000000; /* Green color for discount */
}

/* General Card Styling */
.membership-card {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.membership-card:hover {
  transform: scale(1.05);
}

.membership-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.membership-price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Free Plan - Green */
.free-card {
  background-color: #b0f759; /* Light Green */
}

.free-card h4 {
  color: #fff;
}

.free-card .membership-price {
  color: #006600;
}

.free-card ul li {
  color: #fff;
}

/* Basic Plan - Dark Green */
.basic-card {
  background-color: #258f01; /* Dark Green */
}

.basic-card h4 {
  color: #fff;
}

.basic-card .membership-price {
  color: #d0ffb2;
}

.basic-card ul li {
  color: #fff;
}

/* Premium Plan - Purple */
.premium-card {
  background-color: #8f06bd; /* Purple */
}

.premium-card h4 {
  color: #fff;
}

.premium-card .membership-price {
  color: #ffd2f2;
}

.premium-card ul li {
  color: #fff;
}

.navbar-nav .nav-link {
  font-weight: bold; /* Tučný text */
}
.navbar-nav {
  display: flex;
  justify-content: center; /* Texty na střed */
  align-items: center;
}
@media (max-width: 768px) {
  .navbar-toggler {
    margin: 0 auto;
    display: block;
  }
  .navbar-nav {
    justify-content: center;
  }
}
/* Zvýraznění aktivní položky navigace */
.navbar-nav .nav-item.active .nav-link {
  font-weight: 600;  /* Tučnější text pro aktivní položku */
  color: var(--primary); /* Změna barvy textu na primární barvu */
  transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Při najetí na aktivní položku */
.navbar-nav .nav-item.active .nav-link:hover {
  color: var(--accent); /* Jemná změna barvy při hoveru */
  font-weight: 700;  /* Mírné zvýraznění při hoveru */
}

/* Efekt při najetí na všechny položky menu */
.navbar-nav .nav-item .nav-link:hover {
  color: var(--primary); /* Při hoveru změna barvy textu */
  font-weight: 600;  /* Tučnější text při hoveru */
}
 .membership-price {
      font-size: 1.5rem;
      font-weight: bold;
    }

    .old-price {
      text-decoration: line-through;
      color: red;
      font-size: 1.25rem;
    }

    .new-price {
      font-size: 1.5rem;
      font-weight: bold;
    }

    .monthly-price {
      font-size: 1.25rem;
      color: #555;
    }

.conversation-card {
      transition: all 0.2s;
      border-left: 4px solid transparent;
    }
    .conversation-card:hover {
      background-color: #f8f9fa;
      border-left-color: #0d6efd;
    }
    .unread {
      background-color: #f0f8ff;
      border-left-color: #0d6efd;
    }
    .last-message {
      color: #6c757d;
      font-size: 0.9rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .time-ago {
      font-size: 0.8rem;
      color: #adb5bd;
    }
    .badge-new {
      background-color: #dc3545;
    }
.container {
  width: 100%;
  max-width: 95%;  /* Nebo větší hodnota pro širší obsah */
  margin: 0 auto;
  padding: 5px;
}




