.contact-box {
  background-color: #1a1a1a;
  color: #fff;
  max-width: 600px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.contact-box h2 {
  margin-top: 0;
  font-size: 28px;
}

.contact-box p {
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-box label {
  display: block;
  margin: 15px 0 5px;
  font-size: 14px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px;
  background-color: #2b2b2b;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-box button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background-color: #ff3333;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.contact-box button:hover {
  background-color: #e02626;
}

.error {
  color: #ff4b4b;
  font-size: 13px;
  margin-top: 4px;
}

.input-error {
  border-color: #ff4b4b !important;
  box-shadow: 0 0 5px #ff4b4b;
}

/* === TOAST === */
#form-toast {
  visibility: hidden;
  min-width: 300px;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 14px 16px;
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 30px;
  font-size: 15px;
  opacity: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: opacity 0.5s, visibility 0.5s, background-color 0.5s;
}

#form-toast.show-toast {
  visibility: visible;
  opacity: 1;
}

#toast-close {
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  padding: 0 6px;
}

#toast-message {
  flex-grow: 1;
}

/* === RESPONSIVNÍ CAPTCHA === */
.captcha-wrapper {
  margin-top: 15px;
  transform-origin: left top;
}

@media (max-width: 480px) {
  .captcha-wrapper {
    transform: scale(0.85);
  }
}
@media (max-width: 400px) {
  .captcha-wrapper {
    transform: scale(0.75);
  }
}
@media (max-width: 350px) {
  .captcha-wrapper {
    transform: scale(0.65);
  }
}

/* === VYSOUVACÍ reCAPTCHA BADGE === */
.grecaptcha-badge {
  position: fixed !important;
  left: 10px !important;
  right: auto !important;
  bottom: 15px !important;
  width: 40px !important;
  height: 40px !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transition: all 0.4s ease;
  z-index: 1000;
  opacity: 0.4 !important;
}

.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within,
.grecaptcha-badge.grecaptcha-hover {
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  border-radius: 6px !important;
  background-color: #fff !important;
}

@media (max-width: 400px) {
  .grecaptcha-badge {
    transform: scale(0.65);
  }
}