/*=====COOKIES POPUP STYLES=======*/

.cookies-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 25px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookies-popup.show {
  transform: translateY(0);
}

.cookies-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookies-text {
  flex: 1;
  min-width: 280px;
}

.cookies-text h4 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}

.cookies-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
}

.cookies-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookies-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookies-btn-accept {
  background: #28a745;
  color: #fff;
}

.cookies-btn-accept:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.cookies-btn-decline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cookies-btn-decline:hover {
  background: rgba(255,255,255,0.1);
}

/* Zakładka do przywrócenia popup'u */
.cookies-tab {
  position: fixed;
  left: 0;
  bottom: 40%;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 12px 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  z-index: 99998;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-100%);
}

.cookies-tab.show {
  opacity: 1;
  transform: translateX(0);
}

.cookies-tab:hover {
  background: linear-gradient(135deg, #2a5298 0%, #3a6db8 100%);
  padding-left: 12px;
  box-shadow: 3px 3px 15px rgba(0,0,0,0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
  .cookies-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookies-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookies-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .cookies-tab {
    font-size: 12px;
    padding: 10px 6px;
  }
}
