﻿/* Ensure html and body take full height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Grid layout for the body */
body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

header, footer {
  flex-shrink: 0;
}

.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  flex-direction: column;
  overflow: auto; /* Enable vertical scrolling if content overflows */
  padding: 20px;
  padding-bottom: 70px;
  box-sizing: border-box;
}

.login-fullpage-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.container.border {
  background-color: rgba(255, 255, 255, 0.88);
  padding: 40px;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
  margin: 20px 15px; /* Ensure spacing around the content */
}

/* Background image settings */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../../img/login-background.jpg") no-repeat center center fixed;
  background-size: cover;
  opacity: 0.5;
  z-index: -1;
}
