/* ============================================
   Top 10 Collecties — Stijlen v2.0
   ============================================ */

/* ===== FORMULIER ===== */
.top10-zoekformulier {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 32px;
}

.top10-form-group {
    margin-bottom: 18px;
}

.top10-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.top10-select {
    width: 100%;
    max-width: 560px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.top10-select:focus {
    outline: none;
    border-color: #0073e6;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.15);
}

.top10-submit-wrap {
    text-align: center;
    margin-top: 24px;
}

.top10-button {
    background-color: #0073e6;
    color: #fff;
    padding: 13px 28px;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.top10-button:hover {
    background-color: #005bbf;
}

.top10-button:active {
    transform: scale(0.98);
}

/* ===== RESULTATEN ===== */
.top10-resultaten {
    margin-top: 16px;
}

.top10-resultaat-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.top10-resultaat-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.top10-resultaat-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

/* ===== THUMBNAIL ===== */
.top10-thumbnail {
    flex-shrink: 0;
    width: 240px;
}

.top10-thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.top10-placeholder {
    width: 240px;
    height: 160px;
    background: #eaeaea;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* ===== INFO ===== */
.top10-info {
    flex: 1;
    min-width: 240px;
}

.top10-nummer {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0073e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.top10-nummer--1 { background: #c8960c !important; }
.top10-nummer--2 { background: #8a8a8a !important; }
.top10-nummer--3 { background: #a0522d !important; }


.top10-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.top10-title a {
    color: #0073e6;
    text-decoration: none;
}

.top10-title a:hover {
    text-decoration: underline;
}

.top10-excerpt {
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

/* ===== PAGINERING ===== */

/* Wrapper — hoge specificiteit om Divi te overrulen */
nav.top10-paginering {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 40px 0 24px !important;
    padding: 0 !important;
    list-style: none !important;
    background: none !important;
    border: none !important;
}

/* Alle knoppen en links — hoge specificiteit */
nav.top10-paginering a.top10-pagina-knop,
nav.top10-paginering span.top10-pagina-knop {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border: 1.5px solid #d8d8d8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #444444 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
    cursor: pointer !important;
}

/* Hover */
nav.top10-paginering a.top10-pagina-knop:hover {
    background: #f0f5fc !important;
    border-color: #0073e6 !important;
    color: #0073e6 !important;
    text-decoration: none !important;
}

/* Actieve pagina */
nav.top10-paginering span.top10-pagina-actief {
    background: #0073e6 !important;
    border-color: #0073e6 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Uitgeschakelde pijl */
nav.top10-paginering span.top10-pagina-disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Ellipsis */
nav.top10-paginering span.top10-pagina-dots {
    border-color: transparent !important;
    background: transparent !important;
    color: #aaaaaa !important;
    cursor: default !important;
    pointer-events: none !important;
    min-width: 24px !important;
    letter-spacing: 1px !important;
}

/* Pijl symbool */
nav.top10-paginering .top10-pagina-pijl {
    font-size: 15px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Mobiel */
@media (max-width: 480px) {
    nav.top10-paginering a.top10-pagina-knop,
    nav.top10-paginering span.top10-pagina-knop {
        min-width: 38px !important;
        height: 38px !important;
        font-size: 13px !important;
        padding: 0 10px !important;
    }
}

/* ===== MELDINGEN ===== */
.top10-melding {
    color: #666;
    font-style: italic;
    padding: 12px 0;
}

/* ===== ADMIN ===== */
.top10-collectie-block {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.top10-collectie-bestaand {
    background: #f9f9f9;
}

.top10-collectie-nieuw {
    background: #f0f7ff;
    border-color: #b3d4f5;
}

.top10-collectie-naam {
    color: #0073aa;
}

.top10-cat-select {
    width: 100%;
    max-width: 500px;
    height: 110px;
    margin-top: 4px;
}

.top10-hint {
    font-size: 12px;
    color: #777;
    font-weight: normal;
    margin-left: 6px;
}

.top10-delete-label {
    cursor: pointer;
    color: #a00;
}

.top10-delete-text {
    margin-left: 4px;
}

.top10-shortcode-hint {
    font-size: 13px;
    color: #555;
    margin-top: 10px;
}

.top10-collectie-uitleg {
    background: #fffbe6;
    border: 1px solid #e6d96b;
    border-radius: 6px;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 14px;
}

.top10-collectie-uitleg code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .top10-resultaat-inner {
        flex-direction: column;
    }

    .top10-thumbnail,
    .top10-placeholder {
        width: 100%;
    }

    .top10-thumbnail img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .top10-select {
        max-width: 100%;
    }

    .top10-button {
        width: 100%;
    }
}
