/* Background Slideshow */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100vh;
  position: relative;
}

.background-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.background-slideshow img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
  background-color: #000;
}

.background-slideshow img.active {
  opacity: 0.6;
}

/* Ensure content is above the background */
.card {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}
.card {
	margin-top: 4rem;
	border-radius: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-title {
  margin-bottom: 60px; 
}

h2 {
	color: #000;
}

img {
	width: 100%;
	height: auto;
	max-width: 300px;
	margin-top: 20px;
	border-radius: 10px;
	object-fit: cover;
}

#loginBtn {
	background-color: #fad932 ;
  height: 40px;
  width: 150px;
  margin:  auto; 
}

#loginBtn:hover {
	background-color: #e6c42d ;
	border-color: #e6c42d ;
}

#notificationContainer {
	position: fixed;
	top: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1050;
	width: 100%;
	max-width: 500px;
	padding: 0 1rem;
}

.login-button-container {
  height: 50px;
  width: 150px;
  margin: 30px  auto; 

}
/* Guest login link styling */
.guest-login-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.guest-login-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Form input styling */
.form-control {
  max-width: 300px;
  margin: 0 auto;
}

.form-floating {
  max-width: 300px;
  margin: 0 auto 1rem;
}

/* Password toggle inside input */
.password-toggle-wrapper .form-control {
  padding-right: 2.5rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  padding: 0;
  border: none;
  color: #6c757d;
  text-decoration: none;
}

.password-toggle:hover,
.password-toggle:focus {
  color: #495057;
  text-decoration: none;
  box-shadow: none;
}

/* When invalid, remove Bootstrap's default error icon for this password field */
.password-toggle-wrapper .form-control.is-invalid {
  background-image: none;
  padding-right: 2.5rem; /* keep space for our custom eye icon */
}

/* Hide built-in password reveal/clear icons (e.g., Edge) */
input::-ms-reveal,
input::-ms-clear {
  display: none;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Notification Styles - Top Center */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
    border-left: 4px solid #f4a460;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.success i {
    color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.error i {
    color: #dc3545;
}

.notification.info {
    border-left-color: #f4a460;
}

.notification.info i {
    color: #f4a460;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.warning i {
    color: #ffc107;
}

.notification i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification span {
    flex: 1;
    color: #333333;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}