body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #222;
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1,
h2 {
    color: #333;
    text-align: center;
}

form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

input[type="text"],
input[type="number"] {
    padding: 0.5rem;
    font-size: 1rem;
    flex-grow: 1;
}

button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #1e88e5;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #1565c0;
}

#drawDateTime {
    text-align: center;
}

#countdown {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

ul,
ol {
    background-color: white;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    list-style-position: inside;
}

ul {
    list-style-type: none;
}

li {
    margin: 0.3rem 0;
    font-size: 1.1rem;
}

ul li {
    background-color: #eee;
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0.5rem 0;
}

ol li {
    padding-right: 10px;
}

/* Initial display state is handled by JS with show/hide classes */

#pastSubmissions div {
    border-radius: 4px;
    margin-left: 5px;
    margin-bottom: 5px;
    overflow: clip;
}

#pastSubmissions button {
    border-radius: 0;
}

#pastSubmissions button.delete-btn {
    background-color: lightgray;
    color: black;
    padding: 0.5rem;
}

#pastSubmissions button.delete-btn:hover {
    background-color: darkgray;
}

#drawResult p {
    text-align: center;
}

#whatsappShare {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    color: #444;
    text-decoration: none;
}

#whatsappShare:hover {
    background-color: #25D366;
    color: white;
}

/* New styles for delete registration button */
.delete-registration-btn {
    background-color: #f44336;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.delete-registration-btn:hover {
    background-color: #d32f2f;
}

/* New styles to replace inline styles from script.js */
.button-container {
    display: inline-flex;
    align-items: center;
}

.name-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hide {
    display: none;
}

.whatsapp-share-text {
    font-size: 1rem;
    vertical-align: middle;
}

.whatsapp-icon {
    height: 20px;
    vertical-align: middle;
}

/* Style for highlighting user's own entries in the results */
.my-entry {
    background-color: #e3f2fd;
    font-weight: bold;
    border-right: 4px solid #1e88e5;
    padding-right: 6px;
}