﻿/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-height: 50vh;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 1vh 2vw;
  border-radius: 0px;
  z-index: 1000;
  font-family: roboto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(5px);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.cookie-text {
  flex: 1;
  text-align: left;
  font-size: 0.95em;
  margin-right: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons button,
.cookie-settings-buttons button {
  background-color: #ffffffcc;
  color: #000;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  font-weight: bold;
  width: 100px;
  height: 35px;
  transition: background-color 0.3s;
}

.cookie-buttons button:hover {
  background-color: #ffffff;
}

/* Cookie settings modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  font-family: roboto;
}

.cookie-settings-content {
  background-color: #fff;
  color: #464646; 
  padding: 20px;
  border-radius: 0px;
  width: 90%;
  max-width: 400px;
}

.cookie-settings-content h3 {
  margin-top: 0;
}



.cookie-settings-content input[type="checkbox"] {
		  margin-right: 10px;
		  transform: scale(1.3); /* zväčší checkbox */
		  cursor: pointer;
		  accent-color: #ca000d; /* zmeni farbu zaskrtnuteho checkboxu */
	}

 .cookie-settings-buttons {
  display: flex;
  gap: 10px;
}

.cookie-settings-buttons button {
   background-color: #ca000d;
   color: #ffffff;
   border: none;
   border-radius: 0px;
   cursor: pointer;
   font-weight: bold;
   width: 150px;
   height: 35px;
   transition: background-color 0.3s;
   margin-left: auto;
   margin-right: auto;
   font-family: roboto;

}

.cookie-settings-buttons button:hover {
  background-color: #ab000b;
}


@media screen and (max-width: 900px), {
   .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    padding: 0;
    margin-bottom: 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cookie-buttons button {
    width: 100%;
    max-width: 250px;
    width: 100px;
    height: 35px;
  }
}

@media screen and (max-width: 600px), {
  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    max-height: none; /* povolí väčšiu výšku pri zalomení */
    padding: 2vh 3vw;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .cookie-buttons button {
    width: 100%;
  }
}