/* legal.css – Upravené styly pro právní stránky PlanYour.Date */

/* Definice fontu */
@font-face {
  font-family: 'Fjalla One';
  src: url('../assets/FjallaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Základní nastavení a flexbox pro celé tělo */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Zákaz horizontálního scrollu */
  height: 100%;
}

body {
  font-family: 'Fjalla One', sans-serif; /* Changed to Fjalla One per request */
  /* background-color: #efefef; REMOVED to allow liquid background from styles.css or body style from styles.css to show */
  color: #333;
  line-height: 1.8; /* Updated line-height */
  display: flex;
  flex-direction: column;
}

/* Navbar styles in legal.css are removed to allow styles.css Pill Navbar to apply */
/* 
nav { ... } 
*/

/* Hlavní obsah - GLASS DOCUMENT */
main {
  flex: 1;
  max-width: 900px; /* Slightly wider to match "padding 60px" breathing room */
  margin: 40px auto;
  
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 60px; /* Zvětšený padding */
  
  /* Ensure text is readable */
  position: relative;
  z-index: 10;
}

/* Typografie */

/* H1 - Název stránky */
header h1, h1 {
  text-align: center;
  color: #FF007f; /* Brand Pink */
  font-family: 'Fjalla One', sans-serif;
  font-weight: 700; /* Bold */
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* H2, H3 - Podnadpisy */
main h2, main h3 {
  color: #FF007f;
  margin-top: 40px; /* Větší mezera před novou sekcí */
  margin-bottom: 15px;
  font-family: 'Fjalla One', sans-serif;
}

/* Odstavce a seznamy */
p, li {
  color: #333; /* Tmavě šedá */
  line-height: 1.8;
  font-size: 1.05rem; /* 16px approx */
  font-family: 'Fjalla One', sans-serif;
  margin-bottom: 15px;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
}

li {
  margin-bottom: 10px;
}

a {
  color: #FF007f;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff3380;
  text-decoration: underline;
}


/* FOOTER */
.site-footer {
  width: 100%;
  background-color: #333;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Menší výška footru */
  padding: 10px; /* dříve 20px */
}

.footer-links {
  display: flex;
  gap: 15px;
  margin-bottom: 10px; /* menší odsazení */
}

.social-icon {
  color: #ff66b2;
  font-size: 2em;
  transition: color 0.3s ease;
}
.social-icon:hover {
  color: #ff3380;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 5px; /* menší mezera nad copyright */
}

.policy-btn {
  background-color: #ff66b2;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s, box-shadow 0.3s;
}

.policy-btn:hover {
  background-color: #ff3380;
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(255,102,178,0.4);
  color: white;
}

/* Text ve footeru již NENÍ tučný */
.site-footer p {
  font-size: 0.9em;
  font-weight: normal;
  margin-top: 5px;
}

/* MODÁLNÍ OKNA */
/* Stejné styly jako v index.html, aby se modály zobrazovaly fixně nad stránkou */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5); 
  justify-content: center; 
  align-items: center;
}

/* Umístění obsahu modalu */
.modal-content {
  position: relative;
  background-color: rgb(255, 230, 242);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Close button X */
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 1.5em;
  color: #ff66b2;
  cursor: pointer;
  transition: color 0.3s ease;
}
.close:hover {
  color: #ff3380;
}

/* Vnitřní styl modálů – formulář */
.login__field {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.login__icon {
  margin-right: 8px;
  color: #ff66b2;
}

.login__input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  transition: border-color 0.3s ease;
  color: #ff66b2;
}

.login__input:focus {
  border-color: #ff66b2;
  outline: none;
}

.button.login__submit {
  background-color: #ff66b2;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 20px;
}

.button.login__submit:hover {
  background-color: #ff3380;
}

/* Dekorační tvary na pozadí modálu */
.screen__background {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  z-index: -1;
}
.screen__background__shape {
  background: linear-gradient(135deg, #ff66b2, #ff99cc);
  position: absolute;
  border-radius: 50%;
}

/* Můžete doladit tvary, pokud chcete */
.screen__background__shape1 {
  top: -40px; 
  left: -40px; 
  width: 120px; 
  height: 120px; 
}
.screen__background__shape2 {
  top: 80px; 
  right: -40px; 
  width: 80px; 
  height: 80px; 
}
.screen__background__shape3 {
  bottom: 80px; 
  left: -50px; 
  width: 100px; 
  height: 100px; 
}
.screen__background__shape4 {
  bottom: -50px; 
  right: 50px; 
  width: 100px; 
  height: 100px; 
}

/* Responsivita */
@media (max-width: 600px) {
  main {
    margin: 10px;
    padding: 15px;
  }
  header h1, .navbar-left h1 {
    font-size: 1.5em;
  }
  .navbar-right .btn {
    padding: 10px 15px;
    font-size: 0.9em;
    margin: 5px 0;
  }
  #dashboard-icon {
    font-size: 1.5em;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .footer-links {
    flex-direction: column;
  }
  .site-footer {
    padding: 10px;
  }
  .policy-links {
    margin-bottom: 5px;
  }
}
