
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  margin: 0;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #2c3e50;
}

form {
  background-color: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

label {
  display: block;
  margin-bottom: 15px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  margin-top: 5px;
}

textarea {
  resize: vertical;
}

button {
  padding: 10px 16px;
  background-color: #27ae60;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 10px;
}

button:hover {
  background-color: #219150;
}

button.warning {
  background-color: #c0392b;
}

button.warning:hover {
  background-color: #a83226;
}

.photo-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  background-color: #fafafa;
}

.photo-preview {
  display: block;
  margin-top: 10px;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  max-width: 80px;
}



.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}






.modal-content {
  background: #f4f8fc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}






.modal-body {
  text-align: center;
  width: 100%;
}

.modal-body iframe {
  border: none;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}


.modal-body iframe {
  border: none;
  border-radius: 8px;
  background-color: #fcfcff;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}



#rulesAccepted {
  margin: 20px 0;
  font-weight: bold;
  color: #2e7d32;
}

.captcha-box {
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #ccc;
}


/* Animacja fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-content {
  animation: fadeIn 0.3s ease-out;
  position: relative;
}

/* Przycisk zamykania */
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.modal-close:hover {
  color: #333;
}
