:root {
    --main-yellow: #ffc300;
    --main-blue: #00193c;
    --bg-light: #f4f4f4;
    --text-dark: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Agrandir Narrow', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.password-generator {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.copy-status {
    color: green;
    font-weight: bold;
    margin-left: 0.5rem;
    transition: opacity 0.3s ease;
}

.gen-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-generator input {
    flex: 1;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 200px;
}

.password-generator button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    background: var(--main-yellow, #ffc300);
    color: var(--main-blue, #00193c);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.entropy-note {
    margin-top: 0.8em;
    font-size: 0.95rem;
    color: var(--kleur-tekstblauw);
}

.entropy-note .tooltip {
    font-weight: bold;
    position: relative;
    cursor: pointer;
    color: var(--kleur-donkerblauw);
}

.tooltiptext {
    visibility: hidden;
    background-color: #fff;
    color: #333;
    text-align: left;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 1;
    top: 1.5em;
    left: 0;
    width: 320px;
    font-size: 0.88rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltiptext code {
    font-family: monospace;
    background: #f4f4f4;
    padding: 2px 5px;
    border-radius: 4px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
}

.modal-content button {
    margin-top: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--main-yellow);
    color: var(--main-blue);
    border: none;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
}

.intro {
    text-align: center;
    margin: 2rem 0;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: none;
    }
}

.intro img {
    max-width: 150px;
}

.intro h1 {
    margin-top: 0.5rem;
    font-family: 'Agrandir Narrow', sans-serif;
    color: var(--main-blue);
}

.container {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step+.step {
    margin-top: 1.5rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--main-blue);
}

.verificatie {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem 0;
}

.verificatie div {
    flex: 1 1 240px;
    background: #f8f8f8;
    padding: 0.8rem;
    border-radius: 8px;
}

.cta {
    display: block;
    text-align: center;
    margin: 2rem auto 1rem;
    padding: 1rem;
    width: calc(100% - 2rem);
    background: var(--main-yellow);
    color: var(--main-blue);
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}

.bottom-cta {
    margin-top: 0;
}

.faq {
    margin-top: 2rem;
}

.faq-item+.faq-item {
    margin-top: 0.8rem;
}

.faq-question {
    width: 100%;
    padding: 0.8rem;
    background: var(--main-yellow);
    color: var(--main-blue);
    border: none;
    border-radius: 5px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    padding: 0 0.8rem;
    border-left: 4px solid var(--main-yellow);
    transition: max-height 0.3s ease;
}

footer {
    text-align: center;
    margin-bottom: 2rem;
    color: #777;
}

@media(max-width:768px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }

    .cta {
        width: 100%;
    }
}