/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1a2a45; /* Darker blue for a calmer background */
    margin: 0;
    padding: 0;
    text-align: center;
    color: #e0e0e0; /* Light gray for text to improve readability */
}

/* Title */
h1.app-title {
    font-size: 2.5em;
    color: #f7e300; /* Soft yellow for a modern look */
    margin: 20px 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Buttons */
button {
    border: none;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    transform: scale(1.05); /* Subtle scale effect */
}

/* Claim Admin Button Styling */
.admin-button {
    background-color: #f7e300; /* Muted gold */
    color: #333;
    padding: 8px 15px;
    font-size: 1em;
    border-radius: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.admin-button:hover {
    background-color: #d4c100; /* Slightly darker gold */
}

/* Admin Dashboard Styles */
.admin-dashboard {
    background-color: #3e8e41; /* Softer green for a calming effect */
    color: white;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

/* Button Styling for Reset and Toggle */
.toggle-button {
    background-color: #e69a00; /* Muted amber */
    color: #333;
    padding: 10px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
}

.reset-button {
    background-color: #a30000; /* Deep red for contrast */
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
}

.reset-button:hover,
.toggle-button:hover {
    background-color: #f7e300; /* Subtle yellow hover effect */
}

.reset-button:hover {
    background-color: #8b0000; /* Darker red for hover */
}

/* Player Interface Styles */
.player-interface {
    margin-top: 50px;
}

/* Buzz Button */
.buzz-button {
    background-color: #f7e300; /* Soft gold */
    color: #1a2a45;
    font-size: 2.5em;
    padding: 20px 40px;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    cursor: pointer;
}

.buzz-button:hover {
    background-color: #d4c100; /* Slight darkening on hover */
}

.buzz-button:disabled {
    background-color: #b0b0b0; /* Gray background for disabled */
    color: #666666;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
    text-shadow: none;
}

.buzz-button:disabled:hover {
    background-color: #b0b0b0; /* Consistent hover state */
}

/* Text Input */
.text-input {
    margin-top: 20px;
    padding: 12px;
    width: 80%;
    font-size: 1.2em;
    border-radius: 10px;
    border: 2px solid #ddd;
    box-sizing: border-box;
}

.text-input:focus {
    border-color: #f7e300;
    outline: none;
}

/* Player List and Buzzer Order Styles */
.player-list {
    margin-top: 20px;
    font-size: 1.2em;
    color: #ddd; /* Softer text color */
}

/* Order Header */
.order-header {
    font-size: 1.5em;
    margin-top: 40px;
    color: #f7e300; /* Subtle yellow */
}

/* Buzzer Order List */
.buzzer-order {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    font-size: 1.2em;
}

.buzzer-order li {
    background-color: #2c3e50; /* Darker background for list items */
    border-radius: 12px;
    padding: 15px 20px;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s ease;
    font-size: 1.2em;
    border: 2px solid #f7e300; /* Gold border */
    font-weight: bold;
}

.buzzer-order li:hover {
    background-color: #f7e300; /* Gold hover effect */
    color: #1a2a45; /* Dark blue text */
    transform: scale(1.05);
}

.buzzer-order li span {
    font-weight: bold;
}

/* Collapsible Toggle Button Styling */
.toggle-button {
    background-color: #e69a00;
    color: #333;
    padding: 10px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-button:hover {
    background-color: #f7e300; /* Hover effect */
}

/* Player Texts List Styling */
.player-texts {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    font-size: 1.2em;
    display: none;
}

.magic-button {
    background-color: #f7e300; /* Soft green for distinction */
    color: #333;
    padding: 8px 15px;
    font-size: 1em;
    border-radius: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none; /* Remove underline for links */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.magic-button:hover {
    background-color: #d4c100; /* Slightly darker green on hover */
    transform: scale(1.05); /* Subtle scale effect */
}



.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
  }
  
  /* Popup content */
  .popup-content {
    background-color: #1a2a45;
    margin: 15% auto; /* Center it vertically and horizontally */
    padding: 20px;
    border: 1px solid #1a2a45;
    width: 50%; /* Adjust width as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }
  
  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }