/* Minimal, theme-agnostic login UX layout */
:root {
  --loginux-accent: #1e88e5;
  --loginux-bg: #0b1020;
  --loginux-panel-bg: #ffffff;
  --loginux-text: #1f2937;
}
#loginux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  margin: 2rem auto;
  max-width: 1100px;
  background: var(--loginux-panel-bg);
}
#loginux.leftvisual { direction: ltr; }
#loginux.rightvisual { direction: rtl; }
#loginux.leftvisual .loginux-panel,
#loginux.rightvisual .loginux-panel { direction: ltr; }

.loginux-visual {
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  min-height: 480px;
}
.loginux-panel {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.loginux-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}
.loginux-logo {
  height: 40px;
  width: auto;
  display: block;
}
.loginux-sitename {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--loginux-text);
}
.loginux-heading {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--loginux-text);
}
.loginux-subheading {
  margin: 0 0 1rem;
  opacity: .8;
}
form.loginux-form, .loginux-form {
  max-width: 420px;
}
.loginux-form .btn-primary, .loginux-form [type=submit], .loginux-form button[type=submit] {
  background: var(--loginux-accent) !important;
  border-color: var(--loginux-accent) !important;
}
.loginux-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  flex-wrap: wrap;
}
.loginux-links a {
  text-decoration: none;
}
.loginux-footer {
  grid-column: 1 / -1;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: #6b7280;
}
@media (max-width: 900px) {
  #loginux { grid-template-columns: 1fr; }
  .loginux-visual { display: none; }
  .loginux-panel { padding: 2rem 1.5rem; }
}
