* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

.custom-swal-popup {
  font-family: "Open Sans", sans-serif;
  text-align: center;
  padding: 30px 20px;
}

.custom-swal-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  color: #001f3f; /* Cambia si tu encabezado tiene otro tono */
  font-size: 22px;
}

.custom-swal-button {
  background: #0047c7;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 3px solid rgba(173, 202, 255, 0.78);
  box-shadow: 0 0 6px rgba(173, 202, 255, 0.8),
    0 0 12px rgba(173, 202, 255, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.2),
    inset 0 0 2px rgba(255, 255, 255, 0.3);
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
  font-family: "Open Sans", sans-serif;
}

.custom-swal-button:hover {
  background: #0047c7;
}

textarea::placeholder {
  font-size: 14px;
}

.g500-logo {
  width: 50%;
  height: auto;
  margin-bottom: 20px;
}

.g500 {
  width: 100%;
  display: flex;
  justify-content: center;
}

.photo-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0a1e3c;
  text-align: center;
}

b,
label {
  color: #1f3dfe !important;
}

.text-input-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  resize: none !important;
}

body {
  background-image: url("../img/BG.png");
  background-size: 100% 100% !important;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  overflow-x: hidden;
}
.container {
  display: flex;
  width: 100%;
}

.loader {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  vertical-align: middle;
}

.d-none {
  display: none;
}

.contGral_conf {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img_logo_conf {
  width: 50%;
}

/* Left Section Styles - Updated for full viewport height */
.left-section {
  flex: 1;
  display: flex;
  justify-content: left;
  align-items: center;
  overflow: hidden;
  position: relative;
  height: 100vh;
}

.Image_Quien {
  height: 100vh;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 100px 0;
  overflow: hidden;
}

/* Right Section Styles */
.right-section {
  flex: 1;
  padding: 0px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.ebook-title {
  width: 100%;
}

.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.ebook-title {
  color: #0a1e3c;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.description {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* Form Styles */
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Two-column form layout */
.form-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.photo-input {
  width: 49%;
}

.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.custom-upload-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.custom-upload-container-text {
  font-size: 14px;
  color: #0f1d35;
  text-align: left;
  margin: auto 0;
  align-items: center;
  margin-left: 20px;
}

.custom-upload {
  /* display: inline-flex; */
  align-items: center;
  background-color: #d6e8ff; /* azul muy claro */
  /* border: 1px solid #2a4460;  */
  padding: 10px 5px;
  border-radius: 10px;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 16px;
  color: #0f1d35; /* texto en azul oscuro */
  transition: background-color 0.3s ease;
  width: 49%;
  text-align: center;
}

.custom-upload:hover {
  background-color: #c6dcf5;
}

.upload-icon {
  font-size: 16px;
  line-height: 1;
  text-decoration: underline;
}

.form-row {
  display: flex;
  gap: 15px;
  width: 100%;
}

.form-group {
  min-width: 300px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0a1e3c;
}

input,
select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  width: 100%;
  font-family: "Open Sans", sans-serif;
}

input.error,
select.error {
  border-color: #c1272d;
}

input::placeholder {
  color: #aaa;
}

.select-wrapper {
  position: relative;
}

select {
  appearance: none;
  background-color: white;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0a1e3c;
  pointer-events: none;
}

.checkbox-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin-bottom: 0;
}

.submit-btn {
  background: #0047c7;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 3px solid rgba(173, 202, 255, 0.78);
  box-shadow: 0 0 6px rgba(173, 202, 255, 0.8),
    0 0 12px rgba(173, 202, 255, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.2),
    inset 0 0 2px rgba(255, 255, 255, 0.3);
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
}

.submit-btn:hover {
  background-color: rgb(59, 25, 197);
}

/* Searchable Dropdown Styles */
.searchable-dropdown {
  position: relative;
}

.searchable-dropdown-input {
  width: 100%;
  padding-right: 30px; /* Space for the arrow */
}

.searchable-dropdown-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0a1e3c;
  pointer-events: none;
}

.searchable-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  z-index: 10;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.searchable-dropdown-option {
  padding: 10px 15px;
  cursor: pointer;
}

.searchable-dropdown-option:hover {
  background-color: #f5f5f5;
}

.error-message {
  color: #c1272d;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

/* Phone Input Styles */
.phone-input-group {
  display: flex;
  gap: 10px;
}

.phone-lada {
  width: 30%;
  flex-shrink: 0;
}

.phone-number {
  flex-grow: 1;
}

/* Terms and conditions link styling */
.terms-link {
  color: #0a1e3c;
  text-decoration: underline;
  cursor: pointer;
}

.terms-link:hover {
  color: #c1272d;
}

/* Responsive Styles */
@media (min-width: 1300px) {
  body {
    background-size: 100% 100% !important;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
  }
}

@media (max-width: 1300px) {
  body {
    background-size: cover !important;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
  }
}
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  body {
    overflow: auto;
  }

  .left-section {
    height: 50vh; /* Half the viewport height on smaller screens */
    width: 100%;
  }

  .Image_Quien {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .right-section {
    height: auto;
    min-height: 50vh;
    padding: 0px 30px 30px 30px;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .custom-upload {
    width: 50%;
    font-size: 14px;
  }

  .custom-upload-container-text {
    font-size: 14px;
  }

  .ebook-title {
    font-size: 1.5rem;
  }

  .form-columns {
    flex-direction: column;
    gap: 15px;
  }

  .form-column {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .right-section {
    padding: 0px 20px 20px 20px;
  }

  .custom-upload {
    width: 100%;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .custom-upload-container-text {
    font-size: 12px;
  }

  .ebook-title {
    font-size: 1.3rem;
  }

  input,
  select {
    padding: 10px;
  }

  .submit-btn {
    padding: 12px;
  }
}

/* Fix for button styling */
.submit-btn a {
  color: white;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 100%;
}
