@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700&display=swap");

:root {
  --primary-teal: #01abaa;
  --dark-teal: #003B46;
  --gold: #cba44c;
  --text-dark: #003B46;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --bg-light: #ffffff;
  --error-bg: #fff5f5;
  --error-text: #c53030;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Urbanist', sans-serif;
  height: 100%;
  font-size: 10px;
  overflow: hidden;
}

.login-container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Panel Izquierdo */
.login-left {
  flex: 1.2;
  background: var(--dark-teal);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(1, 171, 170, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.logo-wrapper {
  text-align: left;
  z-index: 1;
  animation: fadeIn 1s ease-out;
}

.logo-brand {
  color: white;
}

.t2o {
  display: block;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: -1rem;
}

.main-logo-text {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.main-logo-text .highlight {
  color: var(--gold);
}

.powered-by {
  font-size: 1.8rem;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.powered-by .vimana {
  font-weight: 500;
}

/* Panel Derecho */
.login-right {
  flex: 1;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  animation: slideInRight 0.8s ease-out;
}

.form-container {
  width: 100%;
  max-width: 420px;
}

.welcome-title {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.welcome-title .brand {
  display: block;
  color: var(--text-dark);
}

.welcome-subtitle {
  font-size: 1.6rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-weight: 400;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.password-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.forgot-password {
  font-size: 1.3rem;
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.forgot-password:hover {
  opacity: 0.8;
}

.password-input-wrapper {
  position: relative;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 1.6rem 2rem;
  font-size: 1.5rem;
  font-family: 'Urbanist', sans-serif;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background-color: #fff;
  transition: all 0.2s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(1, 171, 170, 0.1);
}

input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.password-toggle {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

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

.login-button {
  background-color: var(--primary-teal);
  color: white;
  padding: 1.8rem;
  border: none;
  border-radius: 10px;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: 'Urbanist', sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
}

.login-button:hover {
  background-color: #019998;
  box-shadow: 0 4px 12px rgba(1, 171, 170, 0.2);
}

.login-button:active {
  transform: translateY(0);
}

.error-box {
  background-color: var(--error-bg);
  border: 1px solid rgba(197, 48, 48, 0.2);
  color: var(--error-text);
  padding: 1.6rem;
  border-radius: 10px;
  margin-bottom: 2.4rem;
  font-size: 1.4rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .login-left {
    display: none;
  }
  
  .login-right {
    flex: 1;
  }
  
  html, body {
    overflow: auto;
  }
}

@media (max-width: 480px) {
  .login-right {
    padding: 2rem;
  }
  
  .welcome-title {
    font-size: 2.8rem;
  }
}

