html, body {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: url('/idp/images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  /* overflow: hidden; */
}

.container-fluid {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5%;
}

.login-card {
  width: 100%;
  max-width: 430px;
  background-color: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  /* overflow: hidden; */
}

.login-header {
  background-color: #2e2e2e;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
}

.login-body {
  padding: 2rem 2.5rem;
}

.consent-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.consent-card {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 100%;
  max-width: 650px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  padding: 2.5rem 3rem;
  word-wrap: break-word;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-card {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 2.5rem 3rem;
  text-align: center;
}

.logout-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logout-card {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 2.5rem 3rem;
  text-align: center;
}

.logo {
  text-align: center;
  #max-width: 160px;
  margin-bottom: 1.5rem;
}

.logo img {
  max-width: 160px;
}

h4 {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

p {
  text-align: center;
  color: #555;
  margin-bottom: 1.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.95rem;
}

table th {
  background-color: #f8f8f8;
  font-weight: 500;
  width: 40%;
}

.consent-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  background-color: #2e2e2e !important;
  border-color: #2e2e2e !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.5rem 2rem;
}

.btn-primary:hover {
  background-color: #1f1f1f !important;
  border-color: #1f1f1f !important;
  color: #fff !important;
}

.btn-outline-secondary {
  background-color: #f3d35f !important;
  border-color: #f3d35f !important;
  color: #000 !important;
  font-weight: 600;
  padding: 0.5rem 2rem;
}

.btn-outline-secondary:hover {
  background-color: #e4c752 !important;
  border-color: #e4c752 !important;
  color: #000 !important;

.form-label {
  font-weight: 500;
  color: #2e2e2e;
}

.form-control {
  border-radius: 0.25rem;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.3rem;
}

.form-control:focus {
  border-color: #2e2e2e;
  box-shadow: 0 0 0 0.2rem rgba(46, 46, 46, 0.25);
}

.footer-text {
  font-size: 0.875rem;
  color: #555;
  margin-top: 2rem;
  text-align: center;
}

a {
  color: #2e2e2e;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Remove overlay tint */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 0;
}

/* 🔸 Mobile view */
@media (max-width: 768px) {
  .container-fluid {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }
  body {
    background: url('/idp/images/background.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
  }
}

.col-lg-5 {
  background-color: #f8f8f8;
}