/* Spinner container, can be hidden and shown via JS */
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7); /* Transparent background */
    z-index: 9999; /* Above everything */
}

/* The actual spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 8px solid rgba(0, 0, 0, 0.1); /* Light gray border */
    border-top-color: #3498db; /* Blue border for animation */
    border-radius: 50%;
    animation: spin 1s infinite linear; /* Spin infinitely */
}

/* Spinner animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button styling */
.form-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Ensure buttons in result template are displayed inline */
.form-button-results-tpl {
    display: inline-block;
    margin: 0 10px 0 0;  /* Adjust margin for spacing */
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

