/* styles.css */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}
header {
    background-color: #409443;
    color: white;
    padding: 20px 0;
    margin-bottom: 20px;
}
main {
    padding: 20px;
}
form {
    margin: 20px auto;
}
#board-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.board {
    display: grid;
    margin: 10px auto;
    gap: 2px;
    background-color: #444;
    border: 2px solid black;
}
.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #000;
    box-sizing: border-box;
}
#whitespace{
    height: 20px;
}
.checkbox-label {
    margin-right: 10px; 
}

#counters {
    margin: 20px;
    font-size: 20px;
}
#success-counter, #point-counter {
    margin: 10px 0;
}

.cell.queen {
    color: black;
    font-weight: bold;
    font-size: 30px;
}
.cell.cross {
    color: black;
    font-weight: bold;
    font-size: 30px;
}
button, .button-link {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none; 
    border-radius: 0; /* sharp edges */
    background-color: #409443;   /* green */
    color: white; /* text color */
    transition: background-color 0.1s ease; /* Smooth transition for hover effect */
    text-decoration: none; /* Remove underline from links */
}

button:hover, .button-link:hover {
    background-color: #409443; /* Darker shade on hover */
}

#links-banner {
    position: absolute; /* on top of everything; fixed to always keep on the page */
    top: 0;
    right: 0;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0); /* Transparent black background */
    color: #eeeeee;
    text-align: right;
    z-index: 1000;
}

#links-banner a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

#links-banner a:hover {
    text-decoration: underline;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #eeeee0;
    color: black;
    text-align: center;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Add a shadow for better visibility */
    border-radius: 0;
}

#cookie-banner button {
    background-color: #409443;
    color: white;
    border: none;
    padding: 5px 20px 10px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 10px;
    transition: background-color 0.1s ease; /* Smooth transition for hover effect */
}

#cookie-banner button:hover {
    background-color: #409443;
}

#Instructions, #imprint {
    max-width: 800px; /* Limit the width to 600px */
    margin-top: 10px auto;
    margin: 0 auto; /* Center the div */
    padding: 20px; /* Optional: Add padding for better spacing */
}

#auth-section {
    margin-top: 20px;
}

.auth-error {
    color: #990000;
    font-size: 14px;
    margin-left: 8px;
    display: none;
}

#email-verified-badge {
    color: #409443;
    font-size: 14px;
    margin-top: 6px;
}

#daily-section {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

#daily-countdown {
    font-size: 14px;
    color: #555;
}

#daily-result {
    margin: 12px 0;
    padding: 12px 20px;
    background-color: #e8f5e9;
    border: 1px solid #409443;
    display: inline-block;
}

#daily-solved-msg {
    margin: 0 0 8px;
    font-weight: bold;
    color: #2e7d32;
}

#daily-already-solved {
    margin: 12px 0;
    padding: 12px 20px;
    background-color: #e8f5e9;
    border: 1px solid #409443;
    display: inline-block;
}

#daily-already-solved p {
    margin: 0 0 8px;
    color: #2e7d32;
}

footer {
    margin-top: 20px;
}

#ad-banner {
    max-width: 728px;
    min-height: 90px; /* reserve space so the page doesn't jump when the ad loads */
    margin: 24px auto;
}

#delete-account-section {
    margin-top: 12px;
}

button.danger-button {
    background-color: transparent;
    color: #999;
    font-size: 12px;
    padding: 4px 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
}

button.danger-button:hover {
    background-color: #c0392b;
    color: white;
    border-color: #c0392b;
}