/*
Theme Name: Lagar Child
Author: VamTam
Author URI: https://vamtam.com
Template: lagar
*/



/*

put your child theme styles here


you don't need any @import rules

*/
/* Stylování obalu popup okna */
.woocommerce-error-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: #fff; /* Bílý podklad */
  color: #d93025; /* Červený text */
  border: 2px solid #d93025; /* Červený rámeček */
  border-radius: 5px; /* Zaoblené rohy */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Jemný stín */
  padding: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  animation: fadeIn 0.3s ease-in-out;
}
.woocommerce-error-popup li {list-style:none;}
/* Styl tlačítka pro zavření popupu */
.woocommerce-error-popup-close {
position: absolute;
  top: 0px; /* Umístění 10px od vrchu */
  right: 0px; /* Umístění 10px od pravého okraje */
  width: 40px; /* Šířka tlačítka */
  height: 40px; /* Výška tlačítka */
  background-color: #d93025; /* Červená barva tlačítka */
  color: #fff; /* Bílý text */
  border: none;
  border-radius: 50%; /* Kulaté tlačítko */
  cursor: pointer;
  font-size: 18px; /* Větší text */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  font-size: 30px !important;
}


/* Animace pro zobrazení okna */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


.woocommerce-error-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/*
.woocommerce-error-popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.woocommerce-error-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Zobrazení popupu při aktivaci */
.woocommerce-error-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.woocommerce-notices-wrapper {
    display: none; /* Skryje původní chyby úplně */
}