

 
/* Loading Screen Container */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    /* Stacks items vertically */
    justify-content: center;
    /* Vertically centers (because of column direction) */
    align-items: center;
    /* Horizontally centers */
    text-align: center;
    /* Ensures text inside is centered */

    margin: 0 !important;
    padding: 0 !important;
}

/* Content Wrapper (Optional, ensures inner items align) */
.loader-content {
    width: 100%;
    text-align: center;
}

/* Text Styling */
.loader-content h2 {
    margin-top: -30px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #343a40;
    letter-spacing: 2px;
    font-size: 1.9rem;
    word-wrap: break-word;
}

/* Video Styling */
.bike-video {
    width: 150px;
    height: auto;
    display: block;
    object-fit: contain;

    /* THE FIX: This centers a block element horizontally */
    margin: 0 auto;
}


/* Global Message Styling */
.global-msg {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-left: 6px solid #000;
    padding: 12px 18px;
    border-radius: 8px;
    min-width: 260px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: show-msg 10s forwards;
    z-index: 9999;
}

/* Keyframes for show -> stay -> hide */
@keyframes show-msg {
    0%   { opacity: 0; transform: translateY(-20px); }
    5%   { opacity: 1; transform: translateY(0); }
    95%  { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Colors */
.msg-success { border-color: #28a745; }
.msg-error   { border-color: #dc3545; }
.msg-warning { border-color: #ffc107; }
.msg-info    { border-color: #17a2b8; }

.text-success { color: #28a745 !important; }
.text-danger  { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info    { color: #17a2b8 !important; }

/* Optional: stacking multiple messages */
.global-msg-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}
