/* 08-boekdetail.css - Boekdetail, wachtwoordformulieren, bibliotheekzoekbalk en snellinks
   Onderdeel van de AperioLibrum-stylesheet. Alle 13 bestanden laden in deze
   volgorde via templates/_stylesheets.html: de volgorde is de cascade, dus niet
   herschikken en geen bestand hernoemen zonder de linktemplate mee te nemen. */
/* ── Book detail ── */
.book-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.book-count.hidden {
    display: none;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
    font-size: 15px;
}

.book-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.book-detail-actions button {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    background: var(--card-bg);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.book-detail-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.book-detail-actions button.primary {
    border: 0;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(8, 64, 102, 0.25);
}

.book-detail-actions button.danger {
    border: 0;
    color: #fff;
    background: #d9534f;
}

.back-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.book-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 10px 0 22px;
    font-size: 15px;
    color: var(--text-muted);
}

.book-meta-item strong {
    color: var(--text-main);
}

.queue-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

/* ── Password change form (member page) ── */
.password-change-form {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    max-width: 420px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.password-change-form label {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
    color: var(--label-text);
}

.password-change-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
}

.password-change-form input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.password-change-form .file-actions {
    margin-top: 16px;
}

/* ── Password strength bar ── */
.password-strength {
    margin: 8px 0 12px;
}

.strength-bar {
    height: 6px;
    background: var(--strength-track);
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s, background 0.3s;
}

.strength-fill.weak { background: #e74c3c; }
.strength-fill.fair { background: #e67e22; }
.strength-fill.medium { background: #f1c40f; }
.strength-fill.strong { background: #2ecc71; }
.strength-fill.very-strong { background: #27ae60; }

.strength-label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.strength-label:empty {
    display: none;
}

/* ── Library search wrapper (login) ── */
.library-search-wrap {
    position: relative;
    width: 100%;
}

.library-search-wrap .book-results {
    max-height: 200px;
}

.library-search-wrap .book-result {
    padding: 10px 14px;
    cursor: pointer;
}

.library-search-wrap .book-result:hover {
    background: var(--dropdown-hover);
}

/* ── Quick links (dashboard) ── */
.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 28px;
    color: var(--text-main);
}

.quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--primary);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(8, 64, 102, 0.2);
}

.quick-links a:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 64, 102, 0.3);
}

