/* Outer container for the form inside the modal */
.custom-message-container {
  font-family: "Roboto", sans-serif;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Wrapper for the content */
.custom-content-wrapper {
  width: 100%;
  max-width: 500px; /* Adjusted to match the compact layout in the image */
  box-sizing: border-box;
}

/* Form wrapper */
.custom-form-wrapper {
  background-color: #fff; /* Dark background */
  padding: 25px; /* Reduced padding for compactness */
  border-radius: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
  /* max-height: 80vh;
  overflow-y: auto; */
  box-sizing: border-box;
}

/* Headings */
.custom-form-wrapper h2 {
  font-size: 24px; /* Slightly smaller to match the image */
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.3;
}

.custom-form-wrapper h2 strong {
  color: #f7931f; /* Red accent for "BANCO DIGITAL" and "24 HORAS" */
}

/* Subtitle */
.custom-form-wrapper p {
  font-size: 14px; /* Smaller font for subtitle */
  color: #000;
  margin-bottom: 20px;
}

/* Form group (for each input field) */
.custom-form-group {
  margin-bottom: 15px; /* Tighter spacing between form groups */
}

/* Labels */
.custom-form-group label {
  display: block;
  font-size: 14px;
  color: #000;
  margin-bottom: 5px; /* Reduced margin for compactness */
  font-weight: 500;
}

/* Inputs and Textarea */
.custom-form-control {
  width: 100%;
  padding: 10px; /* Reduced padding for compactness */
  background-color: #fff; /* Dark input background */
  border: 1px solid #a8a8a8;
  border-radius: 5px;
  color: #000;
  font-size: 14px;
  box-sizing: border-box;
}

.custom-form-control::placeholder {
  color: #000;
  font-style: italic;
}

.custom-form-control:focus {
  outline: none;
  border-color: #f7931f; /* Red border on focus */
}

/* Row for Telephone and Email */
.custom-form-row {
  display: flex;
  gap: 15px; /* Reduced gap for compactness */
  flex-wrap: wrap;
}

.custom-form-col {
  flex: 1;
  min-width: 200px;
}

/* Checkbox Section */
.custom-checkbox-group {
  margin-bottom: 15px;
}

.custom-checkbox-group label {
  display: block;
  margin-bottom: 5px;
}

.custom-checkbox-row {
  display: flex;
  flex-direction: row;
  gap: 20px; /* Space between columns */
  flex-wrap: wrap;
}

.custom-checkbox-col {
  flex: 1;
  min-width: 150px; /* Ensure columns don't get too narrow */
}

.custom-checkbox-col div {
  display: flex;
  align-items: center;
  margin-bottom: 8px; /* Tighter spacing between checkboxes */
}

.custom-checkbox-col input[type="checkbox"] {
  margin-right: 10px;
  appearance: none; /* Remove default styling */
  width: 16px;
  height: 16px;
  background-color: #fff; /* White background for unchecked state */
  border: 2px solid #f7931f; /* Green border for unchecked state */
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.custom-checkbox-col input[type="checkbox"]:checked {
  background-color: #f7931f; /* Green background when checked */
  border-color: #f7931f; /* Green border when checked */
}

.custom-checkbox-col input[type="checkbox"]:checked::after {
  content: "✓"; /* Checkmark symbol */
  color: #0dab49; /* White checkmark for better contrast on green background */
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.custom-checkbox-col label {
  font-size: 14px;
  color: #000;
  cursor: pointer;
}

/* Textarea */
.custom-form-control textarea {
  resize: vertical;
  min-height: 80px; /* Adjusted for compactness */
}

/* Button */
.custom-btn-custom {
  width: 100%;
  padding: 12px;
  background-color: #f7931f; /* Red button to match the image */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
}

.custom-btn-custom:hover {
  background-color: #0dab49; /* Slightly darker red on hover */
}

/* SweetAlert Custom Styles */
.my-confirm-button {
  background-color: #f7931f !important; /* Orange background for the SweetAlert button */
  color: #fff !important; /* White text for contrast */
  border: none !important;
  border-radius: 5px !important;
  padding: 10px 20px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.my-confirm-button:hover {
  background-color: #0dab49 !important; /* Slightly darker orange on hover */
}

/* Responsive adjustments for smaller modals */
@media (max-width: 600px) {
  .custom-form-wrapper {
    padding: 20px;
  }

  .custom-form-row {
    flex-direction: column;
    gap: 10px;
  }

  .custom-checkbox-row {
    flex-direction: column;
    gap: 10px;
  }

  .custom-form-wrapper h2 {
    font-size: 20px;
  }

  .custom-form-wrapper p {
    font-size: 12px;
  }
}
