#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo img {
    animation: pulse 1.5s infinite ease-in-out;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem; /* Space between logo and text */
}

.loading-text {
    color: #4A5568; /* Tailwind gray-700 */
    font-size: 12px; /* text-lg */
    font-weight: 500;
    /* The typing cursor */
    border-right: 3px solid #F97316; /* Orange cursor */
    padding-right: 2px;
    animation: blink-cursor 0.7s step-end infinite;
    white-space: nowrap; /* Ensures text stays on one line */
    overflow: hidden; /* Hide the text until it's "typed" */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes blink-cursor {
    from, to { border-color: transparent }
    50% { border-color: #F97316; }
} 