/* Common layout styles for all pages */
body {
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-color: black;
  opacity: 0.95;
  z-index: -1;
  background-size: cover;
  background-position: center center;
}

/* Login/Logout specific styles */
body.login-page,
body.logout-page {
  overflow: hidden;
}

body.login-page .background-overlay,
body.logout-page .background-overlay {
  background-size: cover;
  background-position: center center;
  opacity: 1 !important;
  z-index: -1;
}

/* Force logout page background */
html body.logout-page {
  background-image: url('../LoginPageBackGround.jpeg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

/* Form styling for better appearance */
.form-container {
  max-width: 500px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Special styling for login form to restore original appearance */
.form-container.login-form {
  max-width: 600px;
  padding: 30px;
  border: 3px solid black;
  border-radius: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-container h4 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.form-container form {
  margin-top: 1.5rem;
}

.form-container .btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
}

.form-container .form-check {
  margin: 1rem 0;
}

.form-container a {
  text-decoration: none;
}

.form-container a:hover {
  text-decoration: underline;
}

/* Logo styling in forms */
.form-container img {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 200px;
  height: auto;
}

/* Bigger logo for login form */
.form-container.login-form img {
  max-width: 300px;
  margin-bottom: 2rem;
}

/* Tighter spacing for login form elements */
.form-container.login-form .form-check {
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.form-container.login-form .mt-4 {
  margin-top: 1rem !important;
}

.form-container.login-form .gap-2 {
  gap: 0.5rem !important;
}

/* Better spacing for login form fields and button */
.form-container.login-form .form-group {
  margin-bottom: 1.25rem;
}

.form-container.login-form .btn {
  margin-top: 4px;
}

/* Common section styles */
.section-schedule,
.section-company,
.section-alert,
.section-title,
.section-release {
  margin-bottom: 1rem;
}

/* Container layout */
.container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.column {
  flex: 1;
}

.middle-column {
  flex: 2;
}

/* Two column container for documents */
.two-column-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.left-column,
.right-column {
  flex: 1;
}

/* Alert styling */
.container-alert {
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
}
