/* 
 * Raad De Renner - Algemene Stijlen
 */

#rdr-game-container {
    background: #f9f9f9;
    border: 3px solid #ffcc00;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: 'Manrope', sans-serif;
}

#rdr-auth-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 25px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

#rdr-auth-tabs button {
    flex: 1;
    padding: 15px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    font-family: 'Manrope', sans-serif;
}

#rdr-auth-tabs button.active {
    background: #ffcc00;
    color: #000;
    border-bottom: 3px solid #000;
}

.rdr-login-box {
    text-align: left;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.rdr-login-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.rdr-login-box input[type="text"], 
.rdr-login-box input[type="password"], 
.rdr-login-box input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
}

.login-remember {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    cursor: pointer;
}

.login-remember input[type="checkbox"] {
    width: auto !important;
    margin: 0 10px 0 0 !important;
    cursor: pointer;
    height: 18px;
    width: 18px;
}

.login-remember label {
    margin-bottom: 0 !important;
    cursor: pointer;
    font-weight: normal !important;
    color: #555;
}

.rdr-login-box input[type="submit"], 
.rdr-button {
    background: #000 !important;
    color: #ffcc00 !important;
    border: none !important;
    padding: 15px !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    width: 100% !important;
    font-size: 16px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.2s;
    font-family: 'Manrope', sans-serif;
    display: inline-block;
}

.rdr-button:hover, 
.rdr-login-box input[type="submit"]:hover {
    background: #222 !important;
    transform: translateY(-2px);
}

#rdr-outer-wrapper {
    max-width: 100%;
    margin: 10px auto;
    font-family: 'Manrope', sans-serif;
}

#rdr-user-bar {
    text-align: right;
    font-size: 14px;
    margin-bottom: 5px;
    padding-right: 5px;
}

#rdr-user-bar a {
    color: #e60000;
    text-decoration: none;
    font-weight: bold;
}

.rdr-timer-container {
    font-size: 24px;
    font-weight: bold;
    color: #e60000;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

#rdr-guess-input {
    padding: 10px;
    width: 80%;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
}

#rdr-leaderboard {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#rdr-leaderboard h4 {
    margin-top: 0;
    color: #000;
}

#rdr-leaderboard-list {
    text-align: left;
    display: inline-block;
    margin: 0;
    padding: 0 0 0 20px;
    font-weight: bold;
}

#rdr-user-rank-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    font-size: 14px;
    color: #333;
}

#rdr-riddle-content img {
    max-width: 100%;
    height: auto;
    display: none;
    margin: 0 auto 15px auto;
}

#rdr-info {
    font-weight: bold;
}

.rdr-total-score-wrapper {
    border-top: 2px solid #ffcc00;
    padding-top: 10px;
    margin-top: 15px;
    font-size: 18px;
}

.rdr-full-scoreboard-link {
    margin-top: 10px;
    font-size: 13px;
}

.rdr-full-scoreboard-link a {
    color: #000;
    font-weight: bold;
}

/* Scorebord Pagina */
#rdr-scoreboard-view {
    max-width: 95%;
    width: 900px;
    margin: 20px auto;
    font-family: 'Manrope', sans-serif;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #ffcc00;
    box-sizing: border-box;
}

#rdr-scoreboard-view h2, 
#rdr-scoreboard-view h3 {
    text-align: center;
    color: #000;
    margin-bottom: 25px;
    font-weight: 800;
}

.rdr-pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.rdr-pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #000;
    border-radius: 4px;
    transition: 0.2s;
    font-weight: bold;
}

.rdr-pagination .page-numbers:hover {
    background: #eee;
}

.rdr-pagination .current {
    background: #ffcc00;
    border-color: #ffcc00;
    font-weight: 800;
}

.rdr-scoreboard-table-container {
    overflow-x: auto;
}

.rdr-scoreboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    min-width: 300px;
}

.rdr-scoreboard-table thead tr {
    background: #ffcc00;
    color: #000;
}

.rdr-scoreboard-table th {
    padding: 12px 8px;
    text-align: left;
}

.rdr-scoreboard-table th:first-child {
    border-radius: 8px 0 0 0;
    width: 60px;
}

.rdr-scoreboard-table th:last-child {
    text-align: right;
    border-radius: 0 8px 0 0;
}

.rdr-scoreboard-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
}

.rdr-scoreboard-table td:first-child {
    font-weight: bold;
}

.rdr-scoreboard-table td:last-child {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
}

.rdr-back-link-container {
    text-align: center;
    margin-top: 30px;
}

.rdr-back-link {
    background: #000;
    color: #ffcc00;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}

/* Media Queries */
@media (max-width: 600px) {
    #rdr-game-container {
        padding: 10px 2px !important; /* Minimale witruimte links/rechts */
        margin: 2px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    #rdr-outer-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 2px auto !important;
    }

    #rdr-game-container img {
        width: 100% !important;
        height: auto;
    }

    #rdr-game-container input {
        width: 100% !important;
        box-sizing: border-box;
    }

    #rdr-scoreboard-view {
        padding: 10px 2px;
        margin: 2px auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #rdr-scoreboard-view h2 {
        font-size: 20px;
    }

    .rdr-pagination .page-numbers {
        padding: 6px 10px;
        font-size: 14px;
    }
}
