body {
    font-family: Arial, sans-serif;
    background-color: #1b1b1b; /* Dark black-gray for a spooky atmosphere */
    color: #dcdcdc; /* Light gray text for a soft contrast */
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #2c2c2c; /* Slightly lighter gray for the container */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7); /* Subtle shadow */
}

h1, h2 {
    text-align: center;
    color: #f39c12; /* Warm pumpkin orange for titles */
    margin-bottom: 20px;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #f39c12; /* Pumpkin orange */
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e67e22; /* Darker orange on hover */
}

.guest-list {
    margin-bottom: 20px;
}

.guest {
    margin: 10px 0;
    padding: 12px;
    background-color: #444; /* Subtle dark gray background */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.guest:hover {
    background-color: #555; /* Slightly lighter gray on hover */
}

.guest label {
    margin-left: 10px;
    font-size: 16px;
    color: #dcdcdc; /* Light gray text */
}

#error-message {
    text-align: center;
    font-size: 18px;
    color: #e74c3c; /* Red for error messages */
}

#votes-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

#votes-table th, #votes-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #333; /* Dark border for clean separation */
}

#votes-table th {
    background-color: #f39c12; /* Pumpkin orange for the table header */
    color: white;
}

#votes-table td {
    background-color: #2c2c2c; /* Darker gray for table rows */
    color: #dcdcdc; /* Light gray text */
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: #444; /* Dark gray outer bar */
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: width 0.5s ease-in-out; /* Smooth animation */
}

.progress-bar div {
    height: 100%;
    background-color: #f39c12; /* Pumpkin orange fill */
    transition: width 0.5s ease-in-out; /* Smooth transition */
}

.progress-bar span {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    text-align: center;
    color: white;
    font-weight: bold;
    transform: translateY(-50%);
}

.progress-bar:hover {
    background-color: #555; /* Slightly lighter gray when hovered */
}

.error-message {
    color: #e74c3c; /* Red for error messages */
    background-color: #2c2c2c; /* Dark gray background */
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    margin: 10px 0;
}
