/* =========================
   LOGIN
========================= */
.login-modal {
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.55); /* iets donkerder voor focus */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.login-modal.show {
    visibility: visible;
    opacity: 1;
}

.login-modal-content {
    background: #fff;
    padding: 24px 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25); /* subtiele luxe */
    position: relative;
    font-family: "Work Sans", sans-serif;
}

.login-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

.login-toggle {
    cursor: pointer;
    color: #0073aa;
    text-decoration: underline;
}

.login-error-text,
.login-error {
    color: #d9534f; /* rood subtieler */
    min-height: 24px;
    font-size: 13px;
}

.logged-in-status {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 14px;
}

/* =========================
   LOGIN INPUTS
========================= */
.login-modal-content input[type="text"],
.login-modal-content input[type="email"],
.login-modal-content input[type="password"] {
    width: 100%;
    padding: 14px 16px;   /* ↑ dit bepaalt vooral de hoogte */
    font-size: 15px;
    line-height: 1.4;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* =========================
   PANEL / SIDEBAR LAYOUT
========================= */


/* =========================
   MEDIA LIST
========================= */
.media-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.media-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding: 14px;
    border: 1px solid #e3e3e3;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}


/* Thumbnail & Video */
.thumb-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    overflow: hidden;
}

.media-thumb,
.thumb-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* =========================
   MEDIA INFO
========================= */
.media-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.media-info h3 {
    margin: 0 0 4px 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    color: #121212;
}

.media-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.video-info {
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #777;
}

/* =========================
   RATING
========================= */
.rating-top-right {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.85);
    padding: 4px 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.rate-stars span {
    cursor: pointer;
    font-size: 18px;
    color: #ccc;
}

.rate-stars span.filled {
    color: gold;
}

/* =========================
   MEDIA PLAYER
========================= */
.media-player {
    max-width: 880px;
    margin: 24px auto;
}

.media-player h2 {
    font-weight: 400;
    margin-bottom: 12px;
}

.media-player video {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

/* =========================
   BACK BUTTON
========================= */
.back-btn {
    display: inline-block;
    margin-top: 14px;
    color: #0073aa;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: opacity 0.2s ease;
}

.back-btn:hover {
    opacity: 1;
}

/* =========================
   INLINE LOGIN
========================= */
.login-inline .login-shortcode {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.login-inline .login-toggle {
    margin-top: 2px;
    color: #0073aa;
    cursor: pointer;
}

.video-thumb-container {
    position: relative;
    width: 200px;
    height: 120px;
    overflow: hidden;
    cursor: pointer;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-container .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    pointer-events: none;
}

.video-thumb-container .play-overlay::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 14px;
    border-left: 14px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* =========================
   PAGINATION
========================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
    flex-wrap: wrap;
    font-family: inherit;
}

.pagination .page-link {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fafafa;
    color: #121212;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination .page-link:hover {
    background: #121212;
    color: #fafafa;
    border-color: #121212;
}

.pagination .page-link.active {
    background: #121212;
    color: #fafafa;
    border-color: #121212;
    font-weight: 600;
}

.pagination .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(18,18,18,0.2);
}

/* Eventueel voor vorige/volgende pijltjes */
.pagination .page-prev,
.pagination .page-next {
    font-weight: 600;
    font-size: 16px;
}


/* =========================
   photoalbum plugin
========================= */


.photoalbum-container {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            padding: 10px;
            border-radius: 8px;
        }
 .photoalbum-image {
            flex: 0 0 150px;
            margin-right: 15px;
        }
        .photoalbum-image img {
display: block;       /* verwijdert inline spacing issues */
            width: 150px;
            height: auto;
            border-radius: 4px;
        }
        .photoalbum-info {
            flex: 1;
        }
        .photoalbum-info h3 {
            margin: 0 0 10px 0;
        }
        #photoalbum-detail {
            text-align: center;
            margin-bottom: 10px;
        }
        #photoalbum-slider {
            margin: 0 auto 10px auto;
            max-width: 600px;
            overflow-x: auto;
            white-space: nowrap;
        }
        #photoalbum-slider .slider-thumb {
            margin: 3px;
            cursor: pointer;
        }
        #photoalbum-slider .slider-thumb.selected {
            border: 2px solid #333;
        }
        #photoalbum-slider .slider-thumb:not(.selected) {
            border: 1px solid #ccc;
        }
        #photoalbum-image {
            max-width: 600px;
            margin: 5px;
        }
        #photoalbum-detail div {
            margin-top: 10px;
        }
        .photoalbum-backlink {
            display: inline-block;
            margin-left: 20px;
            padding: 6px 12px;
            background: #333;
            color: #fff;
            border-radius: 4px;
            text-decoration: none;
        }

.photoalbum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photoalbum-categories span {
    background-color: #eee;
    color: #333;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    font-size: 0.8em;
}

.photoalbum-image a {
    display: block;       /* zorgt dat <a> dezelfde grootte heeft als de img */
    position: relative;    /* nodig voor overlay positioning */
    width: fit-content;    /* precies de grootte van de img */
}


.photoalbum-image a::after {
    content: "Bekijk het album";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-weight: bold;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
    pointer-events: none; /* laat klikken op de link zelf */
}

.photoalbum-image a:hover::after {
    opacity: 1;
    cursor: pointer;
}

.photoalbum-search {
    margin-bottom: 20px;
 display: flex;
    gap: 10px; /* ruimte tussen input en dropdown */
    flex-wrap: wrap; /* zorgt dat het op kleinere schermen netjes onder elkaar gaat */

}

.photoalbum-search input {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
}
.photoalbum-search select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box; /* zodat padding netjes blijft */
}

.photoalbum-search input,
.photoalbum-search select {
    flex: 1 1 200px; /* flexibel mee schalen */
}

#photoalbum-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.photoalbum-page-btn {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.photoalbum-page-btn:hover {
    background: #f0f0f0;
}

.photoalbum-page-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
    font-weight: 600;
}
.photoalbum-no-results {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.photoalbum-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.album-created {
    font-size: 0.8rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 4px;
}
.photoalbum-desc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.album-views {
    font-size: 0.9em;
    color: #666;
    white-space: nowrap;
}




#photoalbum-image-wrapper {
    position: relative;
    text-align: center;
}

#photoalbum-image {
    max-width: 100%;
    max-height: 80vh;
    cursor: zoom-in;
}

/* Verwijder absolute positionering voor de nieuwe plek */
#photo-fullscreen-btn {
    position: static; /* of gewoon weghalen */
    background: #f0f0f0;
    color: #000;
    border: 1px solid #888;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 5px;
}

#photoalbum-image:fullscreen {
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    background: #000;
}


.photoalbum-nav {
    text-align: center;
    margin-top: 10px;
}

.photoalbum-nav button {
    margin: 0 5px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #888;
    background: #f0f0f0;
}

/* FULLSCREEN OVERLAY */
/* FULLSCREEN OVERLAY – echt fullscreen */
#fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;       /* volledige breedte van viewport */
    height: 100vh;      /* volledige hoogte van viewport */
    background-color: rgba(0,0,0,0.95);
    display: none;      /* standaard verborgen */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;   /* voorkom scroll */
}

#fullscreen-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* proportioneel schalen */
}

#fullscreen-overlay #fs-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

#fullscreen-overlay #fs-close:hover {
    color: #ff5555;       /* kleur verandert bij hover */
}

