/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.badge-success {
    background-color: #e0ffe0;
    color: #040;
}

.badge-info {
    background-color: #eef;
    color: #005;
}

.badge-error {
    background-color: #fee;
    color: #800;
}

/* Splash screen loader animation (dot pulse) */
.dot-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot-loader span {
    width: 12px;
    height: 12px;
    background-color: #007BFF;
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.dot-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.dot-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

#splash-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

body.loading #splash-screen {
    display: flex;
}