/* Basic styling for a pleasant loading experience */
body {
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f2f5; /* Light grey background */
    color: #333; /* Dark grey text */
    text-align: center;
    line-height: 1.6;
}
.container {
    background-color: #ffffff; /* White background for the content box */
    padding: 30px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 400px;
    width: 90%; /* Responsive width */
}
h1 {
    color: #1a202c; /* Darker heading color */
    font-size: 1.8em;
    margin-bottom: 20px;
}
p {
    font-size: 1.1em;
    margin-bottom: 25px;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light border */
    border-left-color: #4f46e5; /* Primary color for spinner */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite; /* Spinning animation */
    margin: 0 auto 20px; /* Center the spinner */
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.message-box {
    background-color: #fff3cd; /* Light yellow for messages */
    color: #664d03; /* Darker yellow text */
    border: 1px solid #ffecb5; /* Yellow border */
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9em;
    display: none; /* Hidden by default, shown for errors/messages */
}