/* =============================================================================
   Login Page Styles
   ============================================================================= */

.app-scope.login-page {
  position: relative;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.login-form .cms-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #333;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  opacity: 0.9;
}

.login-form .logo {
  width: 100px;
  margin-bottom: 1rem;
}

.login-form form {
  width: 100%;
}

/* =============================================================================
   Input Fields Styling
   ============================================================================= */

.field {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.field input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #f1f3f6;
  font-size: 14px;
  color: #444;
  transition: box-shadow 0.2s ease;
  box-shadow: inset 0 0 0 2px transparent;
}

.field input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #008080;
}

.field label {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 14px;
  color: #aaa;
  pointer-events: none;
  transition: all 0.2s ease;
}

.field input:not(:placeholder-shown) + label,
.field input:focus + label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: #008080;
  background: white;
  padding: 0 4px;
  font-weight: 500;
}

/* =============================================================================
   Gradient Button Styling (wie auf deinem Bild!)
   ============================================================================= */

.app-scope .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #3acfd5, #3a4ed5, #c93ad5, #ff3a79, #ffbc3a);
  background-size: 200% 200%;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.app-scope .button:hover {
  background-position: right center;
}

/* =============================================================================
   Optional: SVG-Overlay und Branding (aus deinem ursprünglichen Code)
   ============================================================================= */

.app-scope.login-page::before {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 300px;
  background: url('/assets/images/bg-bars-fixed-corner.svg') no-repeat bottom right;
  background-size: contain;
  opacity: 1;
  z-index: -2;
  pointer-events: none;
}

.app-scope.login-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 0;
  pointer-events: none;
}

/* Branding oben links (optional) */
.branding-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  opacity: 0.9;
  z-index: 1;
}
