/* Styles moved from index.php */
:root {
  --pink-hover: #79b8b9;
  --bg-soft: #79b8b9;
}

body.login-page {
  background-image: url("../img/main_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Clean Continuous Logo Wipe Animation === */
.logo-wipe {
  position: relative;
  max-width: 100%;       /* logo width */
  margin: 100px auto 35px auto; /* top, left/right auto for center, bottom */
  margin-right: 20px;
  overflow: visible;
  text-align: center; /* ensures child inline elements stay centered */
}

/* base logo (always visible, slightly muted) */
.logo-wipe .logo.base {
  width: 100%;
  display: block;
  opacity: 0.35;
}

/* top logo that gets revealed */
.logo-wipe .logo.reveal {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  clip-path: inset(0 100% 0 0);
  animation: logoReveal 0.5s ease-in forwards;
  animation-delay: 0.5s; 
}

/* smooth reveal animation */
@keyframes logoReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.card {
  box-shadow:
    0 0 15px rgba(121, 184, 185, 0.4),
    0 0 35px rgba(121, 184, 185, 0.25),
    0 25px 50px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--pink-main);
  border-color: var(--pink-main);
  font-size: 1.1rem;
  padding: 0.75rem;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: var(--pink-hover);
  border-color: var(--pink-hover);
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--pink-main);
  border-color: var(--pink-main);
}

.custom-control-label {
  font-size: 1.05rem;
  color: #343a40;
}

.form-group label {
  font-weight: 500;
  color: #495057;
}

.demo-note {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: #6c757d;
  text-align: center;
  font-style: italic;
}

.input-group-text {
  background: white;
  border-left: none;
}

.login-box-msg {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #495057;
}

body.login-page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
.login-box {
  text-align: absolute;
  margin-bottom: 1px;
}

/* BIG centered logo */
.login-box img {
  max-width: 520px;   /* BIG */
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Login form stays normal size */
.card {
  width: 100%;
  max-width: 420px;   /* right / proper size */
  margin-bottom: 200px;
}

.login-card-body {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

 .btn-login {
  background-color: #ffffff;
  border: 2px solid #79b8b9; /* outline/border color */
  font-weight: 600;
  padding: 10px 20px;
  color: #79b8b9; /* optional: text color matches border */
  border-radius: 5px; /* optional: rounded corners */
  transition: all 0.3s ease; /* smooth hover */
}

.btn-login:hover {
  background-color: #79b8b9;
  color: #ffffff;
  border-color: #79b8b9; /* keep border same color on hover */
}

.password-toggle {
  cursor: pointer;
  user-select: none;
}

.password-toggle:hover {
  color: #79b8b9;
}

/* Custom radio buttons color */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #79b8b9;
    border-color: #79b8b9;
}

/* Optional: hover effect for radio buttons */
.custom-control-input:not(:checked) ~ .custom-control-label::before:hover {
    border-color: #79b8b9;
}

/* Entire input group border */
.login-card-body .input-group {
    border: 2px solid #79b8b9; /* teal border */
    border-radius: 5px; /* rounded corners */
    overflow: hidden; /* ensures icon doesn’t overflow border */
}

/* Remove individual borders inside input group */
.login-card-body .input-group .form-control {
    border: none; /* remove default border */
    box-shadow: none;
}

.login-card-body .input-group .input-group-append .input-group-text {
    border: none; /* remove individual border */
    background-color: white; /* keep background same as input */
}

/* Focus effect */
.login-card-body .input-group:focus-within {
    border-color: #79b8b9;
    box-shadow: 0 0 5px rgba(121, 184, 185, 0.5); /* optional glow */
}

