/* Variables
  ***********************/
@import url("variables.css");

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
textarea,
textarea.form-control,
select {
  color: black;
  background: transparent;
  border: 1px solid black;
  border-radius: 5px;
  padding: 0 .8em;
  display: inline-block;
  transition: all 0.2s;
  width: 100%;
  height: 50px;
  font-size: calc(var(--text-general) - .2rem);
}

textarea,
textarea.form-control {
  height: 250px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus {
  color: var(--rojo-base);
  border-color: var(--rojo-base);
  background: white;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="date"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
select:focus {
  color: var(--rojo-base);
  border-color: var(--rojo-base);
  background: white;
}

.select-wrapper,
.form-select {
  margin-right: 0 !important;
  width: 100% !important;
}

label {
  display: block;
  color: #3d3d3c;
  font-weight: bold !important;
  margin-bottom: .4rem;
  padding: 0 1px;
  font-weight: var(--medium);
}

/* Page login */

.path-user,
.path-user .dialog-off-canvas-main-canvas {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.path-user .dialog-off-canvas-main-canvas {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(245, 245, 252, 1);
}

.login-box {
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.login-logo {
  height: 80px;
}

.path-user h1 {
  font-size: calc(var(--text-general) * 1.3);
  text-align: center;
}

#user-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

#user-login-form input[type="text"],
#user-login-form input[type="password"] {
  color: #c6c6c6;
  background: rgba(245, 245, 252, 1);
  border: 1px solid rgb(227, 227, 255);
  border-radius: 5px;
  padding: auto 1em;
  display: inline-block;
  transition: all 0.2s;
  width: 100%;
  height: 40px;
}

#user-login-form input[type="text"]:hover,
#user-login-form input[type="text"]:focus,
#user-login-form input[type="password"]:hover,
#user-login-form input[type="password"]:focus {
  color: black;
  background: rgba(245, 245, 252, 1);
  border: 1px solid black;
}

#user-login-form .button {
  border: 0;
  border-radius: 5px;
  width: 100%;
  height: 40px;
  text-decoration: none;
  font-weight: var(--bold);
  display: block;
  cursor: pointer;
  transition: all 0.2s;
  background: rgb(221, 221, 244);
}

#user-login-form .button:hover {
  background: black;
  color: white;
}

/* --- */

#edit-campos .fieldset-wrapper,
#edit-archivos .fieldset-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

#edit-archivos .fieldset-wrapper>div {
  padding: 1.5rem;
  background: #f7f7f7;
  border: 1px solid #efefef;
  border-radius: 10px;
}

.webform-element-description {
  font-size: 14px;
}

#webform-submission-application-form-add-form {
  margin-bottom: 10rem;
}

@media all and (max-width: 780px) {
  #edit-campos .fieldset-wrapper,
#edit-archivos .fieldset-wrapper {
  grid-template-columns: 1fr;
}
}