/* Center everything */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f2f2f2;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

/* Big centered box */
.matchmaking-box {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 400px;
    width: 90%;
    display: flex;             /* Added flex */
    flex-direction: column;    /* Added to stack items vertically */
    align-items: center;       /* Centers items horizontally */
    justify-content: center;   /* Centers items vertically */
}

/* Heading */
.matchmaking-box h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Status text */
.matchmaking-box p {
    font-size: 1.2rem;
    color: #666;
}

/* Optional: Add a loading spinner */
.spinner {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
