/* Dentavance — Login */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body.dv-login-page {
  height: 100%;
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.dv-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* Panel izquierdo */
.dv-panel-left {
  width: 42%;
  background: linear-gradient(135deg, #20B9D9 0%, #1A9FC0 35%, #0F7FA0 65%, #4DBFB0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 64px 52px;
  gap: 40px;
}

/* Frase claim */
.dv-claim {
  display: flex;
  align-items: center;
}

.dv-claim p {
  font-size: 52px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.35;
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
}

.dv-claim p::before {
  content: '\201C';
  font-size: 1.4em;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.65);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
  display: inline;
}

.dv-claim p::after {
  content: '\201D';
  font-size: 1.4em;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.65);
  line-height: 0;
  vertical-align: -0.3em;
  margin-left: 4px;
  display: inline;
}

/* Logo abajo centrado */
.dv-logo-bottom {
  text-align: center;
  padding-top: 0;
}

.dv-logo-img-full {
  width: 220px;
  display: block;
  margin: 0 auto;
}

/* Panel derecho */
.dv-panel-right {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 64px;
}

.dv-form-center {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icono superior */
.dv-icono-right {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

/* Mensajes Drupal */
.dv-messages { margin-bottom: 20px; width: 100%; }
.dv-messages .messages { padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.dv-messages .messages.error { background: #fff0f0; border-left: 3px solid #e24b4a; color: #a32d2d; }
.dv-messages .messages.status { background: #f0faf5; border-left: 3px solid #1D9E75; color: #0F6E56; }

/* Ocultar bloque logo antiguo */
#block-block-13 { display: none !important; }

/* Formulario Drupal */
.dv-form-center #user-login { margin: 0; width: 100%; }
.dv-form-center .form-item { margin-bottom: 20px; width: 100%; }

.dv-form-center .form-item label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #1E1C41;
  margin-bottom: 7px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.dv-form-center .form-item .description { display: none; }

.dv-form-center .form-text {
  width: 100%;
  height: 48px;
  border: 1.5px solid #e0e4ef;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  color: #1E1C41;
  background: #f8f9fc;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-shadow: none;
}

.dv-form-center .form-text:focus {
  border-color: #20B9D9;
  background: #ffffff;
  box-shadow: none;
}

/* Botón submit */
.dv-form-center .form-actions { margin-top: 12px; width: 100%; }

.dv-form-center .form-submit {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #20B9D9 0%, #4DBFB0 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: none;
  text-shadow: none;
}

.dv-form-center .form-submit:hover { opacity: 0.88; }

/* Sello */
.dv-sello-wrap {
  margin-top: 48px;
  text-align: center;
}

.dv-sello {
  width: 52px;
  height: auto;
  opacity: 0.7;
}

/* Footer */
.dv-footer {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  color: #c0c8d8;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
  .dv-login-wrap { flex-direction: column; }
  .dv-panel-left { width: 100%; padding: 40px 32px; }
  .dv-claim p { font-size: 28px; }
  .dv-panel-right { padding: 40px 32px; }
}
