:root{
  --bg-grad-start: #f3f7fb;
  --bg-grad-end: #e6f0fb;
  /* --accent: #0b6a8b; */
  --accent: #1d2029;
  --accent-dark: #424756;
  --card-bg: #ffffff;
  --muted: #6b7280;
  --success: #15a24a;
  --rounded: 12px;
  --container-width: 1200px;
}

*{box-sizing:border-box}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0;
  color:#123;
  background: linear-gradient(120deg, var(--bg-grad-start), var(--bg-grad-end));
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

[v-cloak] {
  display: none;
}

.container{max-width:var(--container-width);margin:0 auto;padding:0 24px}

.logo{height:70px;position:absolute;top:10px;left:24px}

.hero{display:flex;gap:48px;align-items:flex-start;padding:0;position:relative;padding-top:32px;min-height:90vh}
.hero-left{flex:1; padding:0}
.hero-right{width:520px;padding:0}

.hero-title{color:var(--accent);font-size:52px;line-height:1.15;margin:0 0 24px;font-weight:700;padding-top: 150px;}
.hero-lead{color:#374151;font-size:16px;line-height:1.6;max-width:620px;margin-bottom:32px}

.benefits{list-style:none;padding:0;margin:0 0 18px}
.benefits li{display:flex;align-items:flex-start;gap:12px;padding:10px 0;color:#122; font-weight:500}
.check{display:inline-block;background:var(--success);color:white;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}

.more{color:var(--muted)}

.demo-form{
  background:var(--card-bg);
  border-radius:18px;
  padding:40px 36px;
  box-shadow:0 12px 32px rgba(10,40,60,0.15);
  border: 1px solid rgba(11,106,139,0.06);
}

.row{display:flex;gap:18px}
.field{margin-bottom:18px;flex:1}
.field label{display:block;font-size:13px;color:#000;margin-bottom:10px;font-weight:700}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field select{
  width:100%;
  padding:13px 16px;
  border-radius:6px;
  border:1px solid #d1d5db;
  background:#ffffff;
  font-size:15px;
  color:#1f2937;
  font-family: inherit;
  transition: border-color 0.2s;
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="tel"]:focus,
.field select:focus{
  outline: none;
  border-color: var(--accent);
}

.field input[type="text"]::placeholder,
.field input[type="email"]::placeholder,
.field input[type="tel"]::placeholder{
  color: #9ca3af;
}

.field.required label::after{
  content: '*';
  color: #ef4444;
  margin-left: 4px;
}

.checkbox-field{display:flex;align-items:flex-start;gap:8px;margin:16px 0}
.checkbox-field input[type="checkbox"]{width:18px;height:18px;margin-top:2px;cursor:pointer}
.checkbox-field label{font-size:13px;color:#6b7280;line-height:1.5}
.checkbox-field label a{color:var(--accent);text-decoration:none}

/* Password wrapper */
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--accent);
}

.toggle-password:focus {
  outline: none;
}

.btn{display:block;width:100%;padding:14px 16px;border-radius:8px;font-weight:600;cursor:pointer;margin-top:12px;border:2px solid transparent;font-size:15px;transition: all 0.2s}
.btn.primary{background:var(--accent);color:white;border:none}
.btn.primary:hover{background:var(--accent-dark)}
.btn.primary:disabled{opacity:0.6;cursor:not-allowed}
.btn.outline{background:transparent;color:var(--accent);border:2px solid var(--accent)}
.btn.outline:hover{background:rgba(11,106,139,0.05)}
.btn.outline:disabled{opacity:0.6;cursor:not-allowed}

/* Estilos de validación */
.field input.error,
.field select.error,
.checkbox-field input.error {
  border-color: #ef4444;
}

.field-error {
  display: block;
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

.error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  border-left: 4px solid #ef4444;
}

.success-message {
  background: #dcfce7;
  color: #166534;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  border-left: 4px solid #15a24a;
}

/* Estilos para formulario de login */
.login-form .form-title {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: center;
}

.forgot-password {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-top: -8px;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Transiciones */
.fadeOut {
  animation: fadeOut 0.3s ease-out forwards;
}

.fadeIn {
  animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Vista de Login (Split Screen) */
.login-view {
  height: 90vh;
  max-height: 90vh;
  display: flex;
  position: relative;
  background: white;
  overflow: hidden;
}

.logo-login {
  height: 50px;
  position: absolute;
  top: 32px;
  left: 40px;
  z-index: 10;
}

.login-container {
  display: flex;
  width: 100%;
  height: 90vh;
  max-height: 90vh;
  overflow: hidden;
}

.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: white;
}

.login-form-wrapper {
  width: 100%;
  max-width: 440px;
}

.login-title {
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
}

.login-subtitle {
  color: #6b7280;
  font-size: 16px;
  margin: 0 0 32px;
}

.login-divider {
  text-align: center;
  margin: 24px 0;
  color: #9ca3af;
  font-size: 14px;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: #e5e7eb;
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

.btn.google {
  background: white;
  border: 2px solid #e5e7eb;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
}

.btn.google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.checkbox-field-login {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 24px;
}

.checkbox-field-login input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-field-login label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  color: #6b7280;
  font-size: 14px;
}

.link-primary {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.link-primary:hover {
  text-decoration: underline;
}

.login-right {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
}

.login-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.login-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* .site-footer{margin-top:36px} */
.footer-inner{background:var(--accent);color:white;padding:28px 0}
.footer-content{display:flex;align-items:center;justify-content:space-between}
.trusted h3{margin:0;font-size:20px}
.partners{display:flex;align-items:center;gap:18px}
.partners img{height:90px;opacity:0.95}

.bottom-bar{background:#fff;padding:16px 0;border-top:1px solid rgba(10,40,60,0.04)}
.bottom-inner{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px}

@media (max-width: 980px){
  .hero{flex-direction:column}
  .hero-left{display:none}
  .hero-right{width:100%; padding-top: 30px}
  .hero-title{font-size:34px}
  
  .logo{left:50%;transform:translateX(-50%);height:60px}
  
  .partners{display:none}
  
  .login-view {
    height: auto;
    max-height: none;
    min-height: 100vh;
  }
  
  .login-container {
    height: auto;
    max-height: none;
    min-height: 100vh;
    flex-direction: column;
  }
  
  .login-right {
    display: none;
  }
  
  .login-right {
    min-height: 300px;
  }
  
  .login-left {
    padding: 60px 24px
  }
  
  .logo-login {
    left: 200px;
  }
}