html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.preloader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.preloader-wrapper .spinner-border {
    width: 3rem;
    height: 3rem;
}

.preloader-wrapper p {
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Enhanced Enrollment Notification Styles */
#enrollmentNotification {
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#enrollmentNotification:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#enrollmentNotification.opacity-0 {
    pointer-events: none;
}

#enrollmentNotification img {
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
}

#enrollmentNotification:hover img {
    transform: scale(1.05);
}

/* Enhanced Pulsing dot animation */
.pulse-dot {
    animation: enhancedPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes enhancedPulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: .9;
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Enhanced Bounce animation for notification */
.notification-bounce {
    animation: enhancedNotificationBounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

@keyframes enhancedNotificationBounce {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    50% {
        transform: translateY(-8%);
        opacity: 0.9;
    }
    75% {
        transform: translateY(3%);
        opacity: 0.95;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Smooth slide animations */
@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}