/* Modal styling */
.recaptcha-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color:  rgba(0, 14, 30, 0.45);
  justify-content: center;
  align-items: center;
}

.recaptcha-modal-content {
  padding: 20px;
  border-radius: 8px;
  width: 370px;
  height: 370px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #9b9b9b;
  background: white;
  border: 1px solid #676767;

  /* Center horizontally and 200px above vertical center */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 200px));
}

.too-many-text {
  margin-bottom: 20px;
  color: red;
}

/* Container for the countdown timer */
.blocked-message {
  text-align: center;
  font-size: 16px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  transform: translateY(-30px);
}

/* Countdown container for time boxes */
.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

/* Style for individual time box */
.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

.flip-number {
  font-size: 36px;
  background-color: #222;;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Label styling for minutes and seconds */
.time-label {
  font-size: 16px;
  color: #212529;;
  margin-top: 4px;
}

/* Separator styling */
.separator {
  font-size: 36px;
  color: #212529;
  font-weight: bold;
  transform: translateY(-10px);
}

.recaptcha-close-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1010;
}

/* Updated Instructions style */
.recaptcha-instructions {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 2px;
    font-weight: bold;
    color: darkgreen;
}

/* Centered Drop Zone styling */
.recaptcha-drop-zone-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 60px;
}

.recaptcha-drop-zone {
  width: 110px;
  height: 110px;
  border: 2px dashed #777;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.recaptcha-drop-zone.active {
  border-color: #4caf50;
  color: #4caf50;
  background-color: #f9f9f9;
}

.recaptcha-drop-zone.error {
  border-color: red;
  background-color: #fdd;
  color: red;
}

/* Shapes styling */
.recaptcha-shape {
  width: 50px;
  height: 50px;
  cursor: grab;
  position: absolute;
}

.recaptcha-circle {
  background-color: #3498db;
  border-radius: 50%;
}
.recaptcha-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 50px solid #3498db;
}
.recaptcha-square {
  background-color: #3498db;
}
.recaptcha-rectangle {
  background-color: #3498db;
  width: 60px;
  height: 30px;
}
.recaptcha-rhombus {
  background-color: #3498db;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.recaptcha-parallelogram {
  background-color: #3498db;
  clip-path: polygon(25% 0%, 100% 0, 75% 100%, 0% 100%);
}
.recaptcha-ellipse {
  background-color: #3498db;
  width: 60px;
  height: 30px;
  border-radius: 50% / 25%;
}
.recaptcha-pentagon {
  background-color: #3498db;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.recaptcha-hexagon {
  background-color: #3498db;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.recaptcha-heptagon {
  background-color: #3498db;
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}
.recaptcha-octagon {
  background-color: #3498db;
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
}
.recaptcha-nonagon {
  background-color: #3498db;
  clip-path: polygon(
    50% 0%,
    84% 8%,
    98% 38%,
    80% 75%,
    50% 100%,
    20% 75%,
    2% 38%,
    16% 8%
  );
}
.recaptcha-decagon {
  background-color: #3498db;
  clip-path: polygon(
    50% 0%,
    80% 10%,
    95% 35%,
    95% 65%,
    80% 90%,
    50% 100%,
    20% 90%,
    5% 65%,
    5% 35%,
    20% 10%
  );
}
.recaptcha-trapezoid {
  background-color: #3498db;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.recaptcha-kite {
  background-color: #3498db;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.recaptcha-star {
  background-color: #3498db;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

/* Error message and refresh button */
.recaptcha-error {
  color: red;
  font-size: 14px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.recaptcha-refresh-btn {
  padding: 8px 16px;
  font-size: 14px;
  margin-bottom: 10px;
  display: none; /* Initially hidden */
}

.btn-primary {
  background-color: #1D78B1;
  border: 1px solid #1D78B1; /* Removed the extra 'v' */
  border-radius: 10px;
  color: white;
  outline: none;
  font-size: 16px;
  padding: 5px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #155d89; /* Darker shade for hover */
  border-color: #155d89;
}
