

/* 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;
  margin-top: 4rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

h2 {
  color: #000;
  position: relative;
  z-index: 2;
}

img {  
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-top: 20px;
    border-radius: 10px;
    object-fit: cover;
    
}
.bg-sandy {
	background-color: #f4a460;
}
.btn-custom {
  background-color: #E9963A;
	color: #000;
	font-weight: bold;
	border-radius: 50px;
	transition: background-color 0.3s ease;
}

.btn-custom:hover {
	background-color: #E9963A;
	color: #000;
}
.register-button-container {
  height: 50px;
  width: 200px;
  margin: 15px  auto; 
}
.verify-button-container {
  height: 50px;
  width: 200px;
  margin: 25px  auto; 
}
.btn-custom:hover {
	background-color: #f9db5d;
	color: #000;
}
#notificationContainer {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: 100%;
  max-width: 500px;
  padding: 0 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 these password fields */
.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;
}

/* Verification Code Input Styling */
.code-input {
  width: 50px !important;
  height: 50px !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.code-input:focus {
  border-color: #ffc107 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
  outline: none !important;
}

.code-input.filled {
  border-color: #28a745 !important;
  background-color: #f8f9fa !important;
}

.code-input.error {
  border-color: #dc3545 !important;
  background-color: #f8d7da !important;
}

/* 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);
    }
}