/* Arkkids Jaarplanner – Print Selector CSS v2.5.0 */

/* ── Print selector bar ─────────────────────────────────────────────── */
.ajp-print-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 14px;
    margin: 0 0 16px;
    background: #f0f6ff;
    border: 1px solid rgba(30,107,214,.2);
    border-radius: 10px;
    font-size: 14px;
}

.ajp-print-label {
    font-weight: 700;
    color: #1e6bd6;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.ajp-print-label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.ajp-print-select {
    padding: 6px 10px;
    border: 1px solid rgba(30,107,214,.3);
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    background: #fff;
    color: #111;
    cursor: pointer;
    min-width: 160px;
}

.ajp-print-select:focus {
    outline: 2px solid #1e6bd6;
    outline-offset: 1px;
}

/* ── Print buttons ──────────────────────────────────────────────────── */
.ajp-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: none;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s, transform .1s;
    white-space: nowrap;
}

.ajp-print-btn:hover {
    filter: brightness(.92);
}

.ajp-print-btn:active {
    transform: scale(.97);
}

.ajp-print-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* PDF button */
.ajp-print-btn-pdf {
    background: #dc2626;
    color: #fff;
}

/* Print page button */
.ajp-print-btn-page {
    background: #1e6bd6;
    color: #fff;
}

/* Info / status text */
.ajp-print-info {
    font-size: 12px;
    color: #555;
    font-style: italic;
}

/* ── Frontend print-view (shortcode [ajp_print_view]) ───────────────── */
.ajp-print-view {
    max-width: 860px;
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11pt;
    color: #111;
    line-height: 1.6;
}

.ajp-pv-header {
    border-bottom: 3px solid #1e6bd6;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.ajp-pv-title {
    font-size: 22pt;
    color: #1e6bd6;
    font-weight: 700;
    margin: 0 0 4px;
}

.ajp-pv-subtitle {
    font-size: 10pt;
    color: #555;
    margin: 0;
}

.ajp-pv-generated {
    font-size: 9pt;
    color: #888;
    margin-top: 4px;
}

/* Month block */
.ajp-pv-month {
    margin-bottom: 28px;
}

.ajp-pv-month-title {
    font-size: 14pt;
    font-weight: 700;
    color: #fff;
    background: #1e6bd6;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

/* Item */
.ajp-pv-item {
    border-left: 3px solid #1e6bd6;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 0 6px 6px 0;
}

.ajp-pv-item-head {
    margin-bottom: 4px;
}

.ajp-pv-item-title {
    font-weight: 700;
    font-size: 11.5pt;
    display: block;
    margin-bottom: 4px;
}

.ajp-pv-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
}

.ajp-pv-badge {
    font-size: 9pt;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.15);
    background: rgba(0,0,0,.04);
    color: #555;
    font-weight: 600;
}

.ajp-pv-b-meet  { border-color: rgba(180,83,9,.3);  color: #b45309; background: rgba(245,158,11,.08); }
.ajp-pv-b-vitem { border-color: rgba(109,40,217,.3); color: #6d28d9; background: rgba(109,40,217,.08); }
.ajp-pv-b-pin   { border-color: rgba(30,107,214,.3); color: #1e6bd6; background: rgba(30,107,214,.08); }
.ajp-pv-b-link  { border-color: rgba(55,48,163,.3);  color: #3730a3; background: rgba(55,48,163,.08); }

.ajp-pv-desc {
    font-size: 10pt;
    color: #333;
    margin-top: 4px;
}

.ajp-pv-desc p {
    margin: 0 0 4px;
}

.ajp-pv-subitems {
    margin: 6px 0 0 16px;
    font-size: 10pt;
    color: #444;
}

.ajp-pv-subitems li {
    margin-bottom: 2px;
}

/* Hide print bar when using print-view shortcode */
@media print {
    .ajp-print-bar { display: none !important; }
    .ajp-pv-month  { break-inside: avoid; page-break-inside: avoid; }
    .ajp-pv-item   { break-inside: avoid; page-break-inside: avoid; background: #fff !important; }
    .ajp-pv-month-title {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
