/* --- Basic Styling --- */
.msw-container {
    font-family: 'Arial', sans-serif;
    background: white;
    padding: 0.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    margin: 0.5rem auto;
}
.msw-container h1 {
    color: #333;
	font-size: 2.5rem;
	line-height: 1.4;
}
.wheel-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 1rem auto;
}
canvas#spinWheel {
    display: block;
}
.pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #e74c3c;
    z-index: 10;
}

/* --- Form & Buttons --- */
#entryForm { margin-top: 20px; }
#entryForm .form-group { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; }
#entryForm input { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; }
#entryForm p { min-height: 1.2em; }
#statusMessage { font-weight: bold; }
#testSpinBtn { background-color: #f1c40f; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
#realSpinBtn { background-color: #1c8ad5; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }

/* --- Modal Styling --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 450px;
}
#closeModalBtn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* --- MODIFICATION START --- */
/* Add line-height to the modal title for more space */
#modalTitle {
    line-height: 1.5; /* You can adjust this value (e.g., 1.6, 1.7) */
}
/* --- MODIFICATION END --- */

/* Style for the account number text in the modal */
#prizeIntroText {
    font-size: 1.6em;
    font-weight: bold;
    color: #f1c40f; /* Yellow from the test button */
    margin: 10px 0 5px 0;
}
#prizeResultText {
    font-size: 2.2em; /* Make it much bigger */
    font-weight: 700; /* Make it bold */
    color: #2ecc71;   /* A nice green "win" color */
    margin: 5px 0 20px 0; /* Adjust spacing */
    line-height: 1.1;
}

/* --- RULE FOR ERROR MESSAGE --- */
.modal-content.is-error #prizeResultText {
    font-size: 1.3em;  /* Smaller font size */
    font-weight: 500; /* Normal font weight */
    color: #e74c3c;   /* Red error color */
    line-height: 2;
}