﻿/* Override Bootstrap default colors */
:root {
    --bs-primary: #fea916;
    --bs-secondary: #6c757d;
}


.btn-primary {
    color: #000;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}


.btn-secondary {
    background-color: #6c757d;
    border-color: var(--bs-secondary) !important;
}

/* This is for aligning two containers vertically or horizontally depending on the screen size*/
.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(--bs-primary) !important; /* Light background for contrast */

    border: 2px solid var(--bs-primary); /* Uses Bootstrap's primary color */
    border-radius: 0.5rem; /* Rounds the corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Adds a soft shadow */
}

    .welcome-container h1 {
        color: #000;
        font-size: 1.8rem; /* Adjusts heading size */
        margin-bottom: 0.5rem;
    }

    .welcome-container p {
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 0;
    }


    .welcome-container a {
        font-size: 1.1rem;
        color: #000;
        margin-bottom: 0;
    }


.header-container {
    display: flex;
    justify-content: space-between; /* Aligns buttons on the left and title on the right */
    align-items: center; /* Keeps everything aligned in one row */
    padding: 1rem; /* Adds spacing */
}

.button-group {
    display: flex;
    gap: 0.5rem; /* Adds spacing between buttons */
}

.page-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin: 0;
    text-align: right;
}

.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 */
}
