[ng\:cloak],
[ng-cloak],
.ng-cloak {
  display: none !important;
}

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

body.login-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
  overflow: hidden;
}

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

/* ========== LEFT PANEL ========== */
.login-left {
  width: 50%;
  background: linear-gradient(165deg, #1e3a4f 0%, #1a2d3d 40%, #162633 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.03);
}

.brand-section {
  z-index: 1;
}

.brand-logo {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.brand-logo .dot {
  color: #2EC4B6;
}

.brand-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.hero-section {
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.accent-line {
  width: 40px;
  height: 3px;
  background: #2EC4B6;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title span {
  color: #5eb8d4;
  display: block;
}

.hero-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 340px;
}



.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

/* ========== RIGHT PANEL ========== */
.login-right {
  width: 50%;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

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

.welcome-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a2d3d;
  margin-bottom: 8px;
}

.welcome-subtitle {
  font-size: 14px;
  color: #7a8c9e;
  margin-bottom: 36px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #3a4f63;
  margin-bottom: 8px;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  background: #2d4353;
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  margin-bottom: 20px;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.login-input:focus {
  border-color: #2EC4B6;
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.12);
}

.has-error .login-input {
  border-color: #e74c3c;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: #2d4a5e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}

.login-btn:hover {
  background: #1e3a4f;
}

.login-btn:active {
  transform: scale(0.995);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.version-info {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: #9aacbd;
}

.login-page .alert-danger {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}

.login-page .alert-success {
  background-color: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.2);
  color: #1a8a7e;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }
  .login-left {
    width: 100%;
    min-height: 280px;
    padding: 32px;
  }
  .hero-title {
    font-size: 28px;
  }
  .chart-area {
    display: none;
  }
  .login-right {
    width: 100%;
    padding: 32px;
  }
}
