/* Invalid Tom Select */
.was-validated :invalid + .ts-wrapper {
    border-color: #c03221 !important;
}

/* Valid Tom Select */
.was-validated :valid + .ts-wrapper {
    border-color: #1aa053 !important;
}

/* Full-screen Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 9999;
}
    
/* Loader Image with Pulsing Shadow Effect */
.loader img {
    width: 150px; /* Adjust as needed */
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Pulsing Animation with Shadow */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
        filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
    }
}

/* Hide loader when page is fully loaded */
.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.mt-6 {
  margin-top: 5rem !important; /* or whatever spacing you need */
}

/* Custom large breakpoint margin-top */
@media (min-width: 992px) {   /* lg starts at 992px */
  .mt-lg-6 {
    margin-top: 5rem !important;  /* adjust value as needed */
  }
}

.nav-link.active {
    background-color: #e9f5ff; /* light blue */
    color: #007bff;
    border-radius: 5px;
    font-weight: 600;
}

.draw-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    animation: bounceIn 1s ease forwards;
    opacity: 0;
}

/* Different delays so they bounce one after the other */
.ball-blue { background: #007bff; animation-delay: 0.2s; }
.ball-yellow { background: #ffc107; color: #000; animation-delay: 0.4s; }
.ball-red { background: #dc3545; animation-delay: 0.6s; }

@keyframes bounceIn {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.1); opacity: 1; }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}