 body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
  }

  form {
    max-width: 600px;
    margin: auto;
    padding: 40px 30px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
  }

  .form-group {
    margin-bottom: 25px;
    text-align: center;
  }

  .form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #000;
  }

  .input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fdfdfd;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 12px;
  }

  .input-icon i {
    margin-right: 10px;
    font-size: 18px;
    color: #888;
    width: 24px;
    text-align: center;
  }

  .input-icon input,
  .input-icon textarea {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: transparent;
    width: 100%;
  }

  textarea {
    resize: vertical;
    min-height: 100px;
  }

.formularz-button {
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #4285f4, #357ae8);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.formularz-button:hover {
  background: linear-gradient(to right, #357ae8, #2a65d1);
}


  #result {
    margin-top: 20px;
    font-weight: bold;
    color: green;
  }

  .rodo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rodo-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .rodo-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #4285f4;
  }

  .rodo-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: left;
    max-width: 500px;
  }
  
  .modal-message {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #ffffff;
  color: #222222;
  margin: 15% auto;
  padding: 20px 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 26vh;
}

@media (min-width: 768px) {
  .modal-content {
    max-height: 18vh;
  }
}

.modal-content.success {
  border-left: 5px solid #28a745;
}

.modal-content.error {
  border-left: 5px solid #dc3545;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

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

    @keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100px);
    opacity: 0;
  }
}

.modal-content.animate-in {
  animation: slideUp 0.4s ease-out forwards;
}

.modal-content.animate-out {
  animation: slideDown 0.3s ease-in forwards;
}
.modal-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}

.modal-icon {
  font-size: 20px;
  line-height: 1.2;
}

.modal-text {
  font-size: 16px;
  color: #222;
}

    .required-star {
  color: black;
  margin-left: 4px;
  font-weight: bold;
}
.optional-dual {
  color: #555;
  font-size: 16px;
  font-weight: normal;
  margin-left: 6px;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.optional-dual:hover {
  opacity: 1;
  transform: scale(1.1);
}