/* Background image with gray overlay */
.bg-overlay {
  background: url("../../images/bg_1.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}
.bg-overlay::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}
.bg-overlay > .container-fluid,
.bg-overlay > .row {
  position: relative;
  z-index: 1;
}

/* Solid white box for login */
.glass-white {
  background: #ffffff;
  border-radius: 10px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Semi-transparent blue box for promo */
.glass-blue {
  background: rgba(0, 51, 102, 0.85);
  color: #ffffff;
  border-radius: 10px;
}
.glass-blue h3,
.glass-blue p,
.glass-blue blockquote {
  color: #ffffff;
}
.glass-blue .badge {
  background-color: #00cc66;
  color: #003366;
  font-weight: 600;
}

/* Logo styling */
.logo {
  width: 200px;   /* increased size */
  max-width: 100%;
  margin-bottom: 20px;
}

/* Primary color */
.text-primary {
  color: #003366 !important;
}

/* Button styling */
.btn-primary {
  background-color: #003366;
  border-color: #003366;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background-color: #00cc66;
  border-color: #00cc66;
  transform: scale(1.05);
}

/* Input focus glow */
.form-control:focus {
  border-color: #00cc66;
  box-shadow: 0 0 5px rgba(0, 204, 102, 0.5);
}

/* Limit width of inputs and buttons */
.form-field {
  max-width: 400px;
}
.btn-narrow {
  max-width: 180px;
}

/* Copyright under form */
.form-footer {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #333;
}

/* Social login buttons */
.btn-google {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #444;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-google:hover {
  background-color: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-google i {
  color: #DB4437;
  font-size: 1.2rem;
}

.btn-apple {
  background-color: #000000;
  border: none;
  color: #ffffff;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-apple:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.btn-apple i {
  font-size: 1.3rem;
}

/* Ensure glass-white content is above overlay */
.glass-white {
  position: relative;
  z-index: 2;
  justify-content: flex-start; /* keep content visible at top */
}

/* Raise logo and heading above overlay */
.logo,
h4.text-primary {
  position: relative;
  z-index: 3;
}
