﻿.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #f5f5f5;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-wrapper label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

.gdpr-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #005bbb;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 20px;
  background: #f8fbff;
  box-shadow: 0 2px 6px rgba(0, 91, 187, 0.1);
  transition: all 0.25s ease;
}

.gdpr-box:hover {
  border-color: #0074e8;
  background: #f0f7ff;
  box-shadow: 0 4px 10px rgba(0, 91, 187, 0.18);
  transform: translateY(-2px);
}

.gdpr-box input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #005bbb;
  cursor: pointer;
}

.gdpr-box label {
  font-size: 16px;
  font-weight: 600;
  color: #003366;
  cursor: pointer;
}
.button-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* LOADER */
.loader-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: 9998;
  justify-content: center;
  align-items: center;
}

.loader-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 300px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.loader-logo {
  width: 80px;
  animation: blinkLogo 1.2s infinite ease-in-out;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 50, 100, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
}

.modal-box {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
  animation: popIn 0.35s ease forwards;
}

.modal-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: blinkLogo 1.2s infinite ease-in-out;
}

.modal-close {
  background: #005bbb;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

/* Animace */
@keyframes blinkLogo {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
