#bible-youth-game-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.byg-question-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.byg-options {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.byg-answer-btn {
    padding: 15px;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid #0073aa;
    background-color: #fefefe;
    color: #0073aa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.byg-answer-btn:hover {
    background-color: #0073aa;
    color: #fff;
}

.byg-answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#byg-feedback-area {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
}

#byg-feedback-area .correct {
    color: #2b8a3e;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

#byg-feedback-area .incorrect {
    color: #a82026;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.correct-answer,
.correct-answer:hover {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
}

.incorrect-answer,
.incorrect-answer:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

#byg-next-question-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.1em;
    background-color: #0085ba;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/*
--- Gamification Styles ---
*/

.byg-user-stats {
    padding: 10px;
    margin-bottom: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-align: left;
}

.byg-user-score {
    font-size: 1.2em;
    font-weight: bold;
}

.byg-user-badges {
    margin-top: 10px;
}

.byg-badge {
    display: inline-block;
    background-color: #6c757d;
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    margin-right: 5px;
    margin-bottom: 5px;
}

#bible-youth-game-container hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin-bottom: 20px;
}

/* --- Leaderboard Styles --- */
.byg-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 1.1em;
}

.byg-leaderboard-table th,
.byg-leaderboard-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.byg-leaderboard-table th {
    background-color: #0073aa;
    color: #fff;
}

.byg-leaderboard-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.byg-leaderboard-table tbody tr:hover {
    background-color: #f1f1f1;

/*
--- Authentication Form Styles ---
*/
.byg-auth-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 25px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.byg-auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.byg-auth-tabs .tab-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #555;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease-in-out;
}

.byg-auth-tabs .tab-link.active {
    color: #fff;
    border-bottom-color: #005a87; /* A darker shade for emphasis */
}

.byg-auth-form label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
}

.byg-auth-form input[type="text"],
.byg-auth-form input[type="email"],
.byg-auth-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for padding */
}

.byg-auth-form p {
    margin-bottom: 15px;
}

.byg-auth-form button {
    width: 100%;
    padding: 12px;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
}

#byg-auth-feedback {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}

#byg-auth-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

#byg-auth-feedback.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

/* Styles for Workaround Login/Register Buttons */
.byg-auth-container.byg-workaround {
    text-align: center;
}
.byg-workaround-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.byg-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0073aa; /* Or your primary color */
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.2s;
}
.byg-button:hover {
    opacity: 0.85;
}