.error-message {
    background-color: #ffe6e6;
    color: #dc3545;
    padding: 5px 10px;
    border-radius: 10px;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-style: italic;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    line-height: 1.2; /* Tighter line spacing for multi-line messages */
    display: block;
    /* Ensure the message block can grow vertically */
    font-size: 11px; color: red;
}

.error-message.active {
    opacity: 1;
    transform: translateY(0);
}

small .bi {
    display: inline; /* Ensure it's not hidden */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.myPadding {
    padding: 10px 10px 10px 10px;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

/* Global font for all elements using IBM Plex Sans with weight 100 */
body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
}

/* Custom font weights for headers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* Normal weight for headings */
}

/* Bold font for specific use case */
strong {
    font-weight: 700; /* Bold text */
}