/* Ensure html and body cover full viewport with no extra margin/padding */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Root variables */
:root {
  --primary-color: #4e9af1;
  --primary-hover: #6bb0f9;
  --bg-dark: #1a1a1a;
  --text-light: #f0f0f0;
  --card-bg: rgba(30, 30, 30, 0.9);
}

/* Set a solid background for the two-column layout */
body {
  background: #1a1a1a;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
}

/* Two-column layout container */
.login-container {
  display: flex;
  height: 100vh;
}

/* Left column: white-themed login/registration form */
.login-left {
  flex: 1;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Right column: display the background image */
.login-right {
  flex: 1;
  background-image: url('../assets/images/login.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Form container styling: no border or shadow */
.form-container {
  width: 100%;
  max-width: 400px;
  background: none;
  padding: 20px;
}

/* Headings in the forms */
.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #000;
}

/* Override form labels for left-side (dark text) */
.form-container .form-label {
  color: #000;
  font-weight: 500;
}

/* Make inputs wider and use a white background with dark text */
.login-left .form-control {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 400px;
}

.login-left .form-control:focus {
  box-shadow: 0 0 5px var(--primary-color);
  border-color: var(--primary-color);
}

/* Wrapper for inline fixed prefix and username input */
.username-wrapper {
  display: flex;
  align-items: center;
}

.fixed-prefix-inline {
  font-size: 1rem;
  margin-right: 5px;
  color: #000;
}

.form-control-inline {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.375rem 0.75rem;
  width: calc(100% - 70px); /* adjust as needed */
}


/* Buttons styling remains from Bootstrap with our custom rounded style */
.btn {
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Link styling for toggles */
a {
  text-decoration: none;
}

/* Additional spacing for the form footer */
.form-footer {
  margin-top: 10px;
}

.form-footer p {
  margin: 0;
  font-size: 0.9rem;
  /* Footer texts are styled inline to grey in the HTML */
}
