
/* Loading container */
.loading-container {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 9999;
}

/* Logo styles */
.logo-container {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
    animation: pulse 2s infinite ease-in-out;
}

/* Spinner around logo */
.spinner-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 3px solid transparent;
    border-radius: 50%;
    border-top: 4px solid #276acc;
    border-right: 3px solid #4c87dd;
    border-bottom: 2px solid #79a5e5;
    border-left: 1px solid #a5c3ee;
    animation: spin 1.5s linear infinite;
    z-index: 1;
}

/* Fallback for logo if image can't be loaded */
.logo-fallback {
    display: none;
    width: 80px;
    height: 80px;
    background-color: #276acc;
    border-radius: 10px;
    position: relative;
    transform: rotate(45deg);
}

    .logo-fallback::before {
        content: "BW";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        color: white;
        font-size: 38px;
        font-weight: bold;
    }

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(0.95);
    }
}
