body {
  background: linear-gradient(to right, #96a3a4, #e1e1e1);
}

main {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #111;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  background-color: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.title-account {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 30px;
}

.container h2 {
  font-weight: 600;
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.intro {
  margin-bottom: 20px;
}

ul {
  margin-left: 20px;
  padding-left: 0;
}

a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

.btn-account {
  cursor: pointer;
  transform: scale(1.05);
}

.btn-account:hover {
  transform: scale(1.11);
}

/* 🔽 Responsive adjustments */
@media (max-width: 600px) {
  .container {
    padding: 25px;
    margin: 20px;
  }

  .title-account {
    font-size: 22px;
  }

  .container h2 {
    font-size: 18px;
  }

  body {
    font-size: 16px;
  }
}

/* Form Styles */
form {
  max-width: 600px;
  margin: auto;
  padding: 30px;
}

label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="file"],
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

input[type="checkbox"] {
  cursor: pointer;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row>div {
  flex: 1;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-group label,
.radio-group label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
}

.checkbox-group input,
.radio-group input {
  margin-right: 5px;
}

button {
  width: 100%;
  background: black;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  margin-top: -20px;
  cursor: pointer;
}

button:hover {
  background: #333;
}

.checkbox-group.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
}

.select2-container {
  width: 100% !important;
  font-size: 14px;
}

.select2-container--default .select2-selection--single {
  height: 42px !important;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: white;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #333;
  line-height: normal;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
}

.file-upload {
  position: relative;
  overflow: hidden;
  display: block;
  width: 27%;
  margin-bottom: 20px;
}

.file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.file-name {
  font-size: 0.9em;
  margin-top: 5px;
  color: #333;
}

.form-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.form-box {
  flex: 1;
  min-width: 300px;
  max-width: 48%;
  padding: 15px;
  border-radius: 8px;
}

#joint-container {
  max-width: 1065px;
}

.input-email {
  max-width: 92%;
}

@media (max-width: 932px) {
  form {
    margin-top: -45px;
  }

  .input-email {
    max-width: 84%;
  }

  .checkbox-group.two-columns {
    grid-template-columns: repeat(1, 1fr);
  }

  .file-upload {
    width: 60%;
  }
}

#screenBlocker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* negro semitransparente */
  z-index: 9999;
  /* encima de todo */
  display: none;
  /* oculto por defecto */
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-family: Arial, sans-serif;
}