body {
    background-image: url("images/lotteryimage3.jpg");
    background-size: cover;
    background-repeat: repeat;
    width: 97vw;
    height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.842);
    padding: 10px;
    text-align: center;
}

nav {
    background-color: rgba(34, 31, 31, 0.7);
    padding: 10px;
    text-align: center;
    color: rgb(7, 250, 250);
    margin-right: auto;
}

nav a {
    color: azure;
    padding: 10px 20px;
    text-decoration: none;
}

h1, h2, h3, p {
    margin-bottom: 20PX;
    color: #00e1ff;
    padding: 15px;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile, .balance, .wins, .history, .games-played {
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.719);
    padding: 15px;
    border-radius: 8px;
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #000000;
    color: #fff;
}

.popup {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-content {
    background-color: rgb(0, 0, 0);
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 300px; 
}

.close {
    color: #3b3939;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(34, 31, 31, 0.603);
    position: relative;
    bottom: 0;
    width: 100%;
    color: #ddd;
}

/* Additional Styles */
.game-list {
    text-align: left;
    margin: 20px 0;
}

.game-list ul {
    list-style-type: none;
    padding: 0;
}

.game-list li {
    margin: 10px 0;
}

button {
    cursor: pointer;
    background-color: rgba(0, 140, 255, 0.651);
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #00000081;
}

/* Responsive Design */
@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 5px 0;
    }
}
.buttons {
    display: flex;
    gap: 20px;
}

/* Form Styles */
.form {
    background-color: rgba(0, 0, 0, 0.863);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color:white;
}
.label {
    font-weight: bold;
    color: #ffffff;
}

.input[type="text"],
.input[type="datetime-local"],
.textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; /* Full width for inputs */
}

.button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: rgba(8, 11, 173, 0.8);
    color: black;
    transition: background 0.3s;
}

.button:hover {
    background-color: #218838; /* Darker on hover */
}
