/* ===== LAYOUT COMPARTILHADO ===== */

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.mobile-eletrobras-logo {
  display: none;
}

.mobile-partner-logos {
  display: none;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: var(--background-light);
  overflow: hidden;
}

.login-promo {
  flex: 0 0 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4bc7 50%, #0d2b8a 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-shadow: 13px -1px 18px 0px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.login-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.login-promo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.pattern-bg {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../assets/images/pattern.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, -10px) rotate(1deg); }
  50% { transform: translate(10px, -5px) rotate(-1deg); }
  75% { transform: translate(-5px, 10px) rotate(0.5deg); }
}

.promo-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eletrobras-logo {
  width: 252px;
  height: 158px;
}

.promo-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  position: absolute;
  bottom: 82px;
  left: 0;
  right: 0;
  z-index: 2;
}

.partner-logo {
  height: 32.5px;
  width: auto;
}

.separator-line {
  width: 1px;
  height: 32.5px;
  background-color: #fafafa;
}

.login-form-section,
.content-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.login-form-wrapper,
.content-wrapper {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.login-header,
.content-header {
  text-align: center;
  margin-bottom: 50px;
}

.login-header h1,
.content-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 13px;
}

.login-header p,
.content-header p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.5;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.form-group label {
  font-size: 14px;
  color: var(--text-dark);
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  height: 32px;
  padding: 6px var(--spacing-sm);
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.input-wrapper input::placeholder {
  color: var(--text-placeholder);
}

input.invalid {
  border-color: #dc3545 !important;
}

input.invalid:focus {
  border-color: #dc3545 !important;
}

input.valid {
  border-color: #28a745 !important;
}

input.valid:focus {
  border-color: #28a745 !important;
} 