body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 50px;
    transition: background 1s ease-in-out;
    background: linear-gradient(135deg, var(--kleur1, #ffffff), var(--kleur2, #dddddd));
    background-attachment: fixed;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
}

.container {
    background: rgba(255, 255, 255, 0.8);
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    border-radius: 20px;
    width: 70%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h1 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

#vraag {
    font-family: 'Baloo 2', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    margin-top: 10px;
}

input {
    font-size: 22px;
    padding: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #ccc;
}

button {
    font-size: 20px;
    padding: 12px 24px;
    margin-top: 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}

button:hover {
    background-color: #0056b3;
}

#controleer {
    background-color: #007bff;
    color: white;
}

#controleer:hover {
    background-color: #0056b3;
}

#hint {
    background-color: #ffcc67;
    color: black;
    margin-left: 10px;
}

#hint:hover {
    background-color: #ffaa00;
}

.knoppen {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

input {
    font-size: 22px;
    padding: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #ccc;
}

#check-icon,
#hint-icon {
    font-weight: bold;
    font-size: 22px;
    width: 50px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    line-height: 1;
}

#check-icon {
    background-color: #077da0;
    color: white;
}

#check-icon:hover {
    background-color: #0056b3;
}

#hint-icon {
    background-color: #ffaa00;
    color: white;
    font-size: 24px;
}

#hint-icon:hover {
    background-color: #ff8800;
}

.subtitel {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    display: inline-block;
}

#hint-container {
    display: none;
    background: #ffcc67;
    color: black;
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    border-radius: 15px;
    max-width: 80%;
    margin: 20px auto;
    position: relative;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#hint-container::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px;
    border-style: solid;
    border-color: #ffcc67 transparent transparent transparent;
}

#close-hint {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    transition: 0.3s;
}

#close-hint:hover {
    color: red;
}

#feedback-container {
    display: none;
    background: #ca6f6f;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    border-radius: 15px;
    max-width: 80%;
    margin: 20px auto;
    position: relative;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#feedback-container::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px;
    border-style: solid;
    border-color: #c77575 transparent transparent transparent;
}

#close-feedback {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#close-feedback:hover {
    color: black;
}

.input-fout {
    border-color: red;
    background-color: #ffe6e6;
    transition: 0.3s ease-in-out;
}

#feedback-hint {
    background-color: #ffaa00;
    color: rgb(255, 255, 255);
    font-size: 18px;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#feedback-hint:hover {
    background-color: #ff8800;
}

#antwoord-container {
    display: none;
    background: #a4cae8;
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-weight: bold;
    padding: 15px;
    border-radius: 15px;
    max-width: 80%;
    margin: 20px auto;
    position: relative;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#antwoord-container::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px;
    border-style: solid;
    border-color: #a4cae8 transparent transparent transparent;
}

#toon-letter {
    background-color: #007bff;
    color: white;
    font-size: 18px;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#toon-letter:hover {
    background-color: #0056b3;
}

#close-antwoord {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#close-antwoord:hover {
    color: black;
}

#resultaat-container {
    display: none;
    background: #6ac76a;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    border-radius: 15px;
    max-width: 80%;
    margin: 20px auto;
    position: relative;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#resultaat-container::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px;
    border-style: solid;
    border-color: #6ac76a transparent transparent transparent;
}

#deel-resultaat {
    background-color: #ffffff;
    color: black;
    font-size: 18px;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#deel-resultaat:hover {
    background-color: #e0e0e0;
}

.input-correct {
    border-color: green;
    background-color: #d4edda;
    transition: 0.3s ease-in-out;
}

#opnieuw-knop {
    display: none;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    margin: 20px auto;
    display: block;
}

#opnieuw-knop:hover {
    background-color: #0056b3;
}

.correct-antwoord {
    font-size: 28px;
    font-weight: bold;
    color: #2b8a3e !important;
    text-align: center;
    margin-top: 10px;
}

.antwoord-beschrijving {
    font-size: 18px;
    color: #4f4f4f;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}

#social-links {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: auto;
    z-index: 10;
    text-align: center;
}

.knop-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
}

.knop-container button,
.knop-container a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.knop-container button:hover,
.knop-container a:hover {
    background-color: #0056b3;
}

.knop-container a {
    background-color: #1877f2;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}

.knop-container a:hover {
    background-color: #165dd1;
}

.knop-container button:nth-child(2) {
    background-color: #28a745;
}

.knop-container button:nth-child(2):hover {
    background-color: #218838;
}


.knop-container button::after,
.knop-container a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 55px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.knop-container button:hover::after,
.knop-container a:hover::after {
    opacity: 1;
}

.knop-container i {
    font-size: 18px;
}

#leaderboard-knop {
    font-family: 'Baloo 2', sans-serif;
    font-size: 16px;
    color: #444;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

#leaderboard-knop:hover {
    color: #000;
}

#leaderboard-header {
    position: sticky;
    top: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 101;
    box-sizing: border-box;
    overflow: hidden;
}

#leaderboard-container {
    display: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    width: 90%;
    max-width: 675px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 375px;
    overflow: hidden;
    padding-bottom: 10px;
    box-sizing: border-box;
}

#terug-knop {
    position: absolute;
    left: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #444;
}

#terug-knop:hover {
    color: #000;
}

#leaderboard-header h2 {
    margin: 0;
    font-size: 20px;
    flex-grow: 1;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

#terug-knop:hover {
    color: #000;
}

#leaderboard-header h2 {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    margin: 0;
    font-size: 20px;
    flex-grow: 1;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

th {
    background: #f4f4f4;
    font-weight: bold;
}

tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

#leaderboard-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

#leaderboard-lijst::-webkit-scrollbar {
    width: 8px;
}

#leaderboard-lijst::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#leaderboard-lijst::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#leaderboard-lijst::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#leaderboard-lijst {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Baloo 2', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.leaderboard-rank {
    color: #007bff;
    font-size: 20px;
    font-weight: bold;
}

.leaderboard-naam {
    flex-grow: 1;
    text-align: left;
    margin-left: 10px;
    color: #444;
}

.leaderboard-score {
    color: #28a745;
    font-weight: bold;
}

.mode-switch-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    align-items: center;
}

.mode-switch-container input {
    display: none;
}

.toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ddd;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    width: 250px;
    height: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    transition: background 0.3s ease-in-out;
    padding: 5px 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.toggle-text {
    font-family: 'Baloo 2', sans-serif;
    font-size: 15px;
    flex: 1;
    text-align: center;
    z-index: 2;
    transition: color 0.3s ease-in-out;
}

.toggle-label::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 90%;
    background: #484848;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

input:checked+.toggle-label::before {
    transform: translate(100%, -50%);
}

input:not(:checked)+.toggle-label .casual {
    color: rgb(189, 236, 202);
}

input:checked+.toggle-label .competitief {
    color: rgb(242, 181, 181);
}

input:checked+.toggle-label .casual {
    color: #666;
}

input:not(:checked)+.toggle-label .competitief {
    color: #666;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    z-index: 200;
}

.popup p {
    font-size: 16px;
    margin-bottom: 15px;
}

.popup button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover {
    background: #0056b3;
}

#leaderboard-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    gap: 10px;
}

.leaderboard-tab {
    font-family: 'Baloo 2', sans-serif;
    background: #ddd;
    border: none;
    padding: 0px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 100px;
}

#snelste-knop.active {
    background: #4577b1;
    color: rgb(255, 255, 255);
}

#streak-knop.active {
    background: #a87d18;
    color: rgb(255, 255, 255);
}

.leaderboard-tab:not(.active) {
    background: #ddd;
    color: black;
}

#streak-knop:hover {
    background: #a87d18;
    color: rgb(255, 255, 255);
}

#snelste-knop:hover {
    background: #4577b1;
    color: rgb(255, 255, 255);
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    z-index: 200;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.popup-buttons button {
    width: 45%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

#popup-start-competitief {
    background: #28a745;
    color: white;
}

#popup-switch-casual {
    background: #dc3545;
    color: white;
}

.popup-buttons button:hover {
    opacity: 0.8;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.popup-buttons button {
    width: 45%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

#annuleer-switch-casual {
    background: #dc3545;
    color: white;
}

#bevestig-switch-casual {
    background: #28a745;
    color: white;
}

#annuleer-switch-casual:hover {
    background: #b52b3a;
}

#bevestig-switch-casual:hover {
    background: #218838;
}

.info-knop {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #2b2b2b;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.info-knop:hover {
    background: #444;
}

.info-popup {
    display: none;
    position: absolute;
    top: 40px;
    right: 10px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 250px;
    font-size: 14px;
    z-index: 100;
    text-align: left;
}

.info-popup p {
    margin: 5px 0;
    font-size: 13px;
}

.input-fout {
    border: 2px solid red !important;
    background-color: #ffe6e6 !important;
    transition: 0.3s ease-in-out;
}

.input-fout {
    border: 2px solid red !important;
    background-color: #ffe6e6 !important;
    transition: 0.3s ease-in-out;
}

.foutmelding {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

#terug-knop-vraag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    color: #444;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

#terug-knop-vraag i {
    font-size: 24px;
}

#terug-knop-vraag:hover {
    color: #000;
}

.verborgen {
    display: none !important;
  }  

.leaderboard-tab i {
    margin-right: 6px;
}

#info-knop:hover+#info-popup,
#info-popup:hover {
    display: block;
}

.top-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 999;
}

.top-icon {
    width: 30px;
    height: 30px;
    background: #2b2b2b;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.info-wrapper:hover .info-popup {
    display: block;
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 30px 30px 30px;    
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Baloo 2', sans-serif;
}

.auth-container {
    background: #f8f8f8;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Baloo 2', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.auth-header {
    display: flex;
    align-items: center;
    padding: 1px 10px;
    background: #f0f0f0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.auth-body {
    background: white;
    padding: 25px 30px;
    border-radius: 0;
    box-shadow: none;
}

.auth-footer {
    padding: 15px 20px;
    background: #f0f0f0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}
.auth-footer span {
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
}
.auth-footer span:hover {
    text-decoration: underline;
}

.auth-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-terug {
    position: absolute;
    left: 0;
    margin-left: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #444;
    background-color: #e0e0e0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease-in-out;
}

.auth-terug:hover {
    background-color: #ccc;
}

.auth-container label {
    margin-top: 0px;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
    text-align: left;
}

.auth-container input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #ccc;
    margin-bottom: 10px;
    text-align: left;
    box-sizing: border-box;
}

.primary-btn {
    width: 100%;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.primary-btn:hover {
    background-color: #0056b3;
}

.divider {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: #888;
}

.google-btn {
    width: 100%;
    background-color: #db4437;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-btn i {
    margin-right: 8px;
}

.google-btn:hover {
    background-color: #961b10;
}

.switch-links {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.switch-links span {
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
}

#wachtwoord-aanpassen {
    background-color: #f0f0f0;
    color: #333;
}

#wachtwoord-aanpassen:hover {
    background-color: #e0e0e0;
}

#uitloggen-profiel {
    background-color: #e74c3c;
    color: #fff;
    margin-top: 10px;
}

#uitloggen-profiel:hover {
    background-color: #c0392b;
}

.account-knoppen-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.account-knop {
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

#account-container {
    border-radius: 16px;
}

.input-fout {
    border: 1px solid #e74c3c !important;
    background-color: #fff0f0;
}

.input-foutmelding {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 12px;
}

.form-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 10px;
}

.input-error {
    border: 1px solid #c0392b;
    background-color: #fff6f6;
}

.top-icon,
#info-knop {
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #eee;
    position: relative;
}

.top-icon:hover,
#info-knop:hover {
    transform: rotate(8deg) scale(1.1);
    background: #f9f9f9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: #007bff;
    border-color: #ccc;
}

.eigen-score {
    background-color: #dff0ff;
    border-left: 5px solid #007bff;
    font-weight: bold;
}

.top-buttons {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    z-index: 999;
}

.account-knop {
    order: 1;
}

.info-wrapper {
    order: 2;
}

.leaderboard-hint {
    background: #fff8dc;
    border-top: 1px solid #ffd966;
    padding: 8px 12px;
    font-size: 13px;
    color: #555;
    text-align: center;
    font-family: 'Baloo 2', sans-serif;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#leaderboard-login-knop {
    background-color: #007bff;
    color: white;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
}

#leaderboard-login-knop:hover {
    background-color: #0056b3;
}

.hint-login-link,
.hint-register-link {
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-family: 'Baloo 2', sans-serif;
}

.hint-login-link:hover,
.hint-register-link:hover {
    color: #0056b3;
}

.custom-tooltip {
    position: fixed;
    background: #fff8dc;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    max-width: 240px;
    pointer-events: none;
    line-height: 1.4;
}

.install-feedback {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    padding: 10px 16px;
    border-radius: 16px;
    font-family: 'Baloo 2', cursive;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.5s ease;
}

.install-feedback.zichtbaar {
    opacity: 1;
    pointer-events: auto;
}

.install-feedback.verborgen {
    opacity: 0;
    pointer-events: none;
}.install-feedback {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    padding: 10px 16px;
    border-radius: 16px;
    font-family: 'Baloo 2', cursive;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.install-feedback.zichtbaar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0px);
}

.install-feedback.verborgen {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(5px);
}

#instagram-knop {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    position: relative;
}

#instagram-knop:hover {
    box-shadow: 0 0 10px rgba(220, 39, 67, 0.6);
}
