/* App-specific layouts. Shared controls and theme: Quadro.Visual.Razor/css/quadro-theme.css. */
/* This is for aligning two containers vertically or horizontally depending on the screen size*/
.quadro-split-container {
    display: flex;
    flex-wrap: wrap;
}

.right-div,
.left-div {
    width: 50%; /* Default to side-by-side */
}

.right-div {
    order: 2; /* Place right-div below left-div */
}

.left-div {
    order: 1; /* Place left-div above right-div */
}

@media (max-width: 768px) {
    .right-div,
    .left-div {
        width: 100%; /* Stack vertically */
    }

    .right-div {
        order: 1; /* Place right-div below left-div */
    }

    .left-div {
        order: 2; /* Place left-div above right-div */
    }
    .hide-on-small-screen {
        display: none;
    }
}


.welcome-container {
    max-width: 1600px; /* Keeps the content at a readable width */
    margin: 5rem auto; /* Centers the container vertically and horizontally */
    padding: 2rem; /* Adds spacing inside the box */

    text-align: center; /* Centers all text */
    background-color: var(--q-surface); /* Light background for contrast */

    border: 2px solid var(--bs-primary); /* Uses Bootstrap's primary color */
    border-radius: 0.5rem; /* Rounds the corners */
    box-shadow: var(--q-shadow); /* Adds a soft shadow */
}

    .welcome-container h1 {
        color: var(--q-text);
        font-size: 1.8rem; /* Adjusts heading size */
        margin-bottom: 0.5rem;
    }

    .welcome-container p {
        font-size: 1.1rem;
        color: var(--q-muted);
        margin-bottom: 0;
    }


    .welcome-container a {
        font-size: 1.1rem;
        color: var(--q-text);
        margin-bottom: 0;
    }


.loading-spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Or match your layout */
}

.svg-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.spinner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensures it appears above the SvgViewer */
}

/* Keep horizontal scrolling, but allow the dropdown to extend outside vertically */
/* Workaround: avoid clipping/position issues inside responsive tables */
    .table-responsive .dropdown {
        position: static !important;
    }

/* Make sure it sits above the table rows */
