/* Oemmie Documentenbibliotheek 2.0 */
.oemmie-document-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.oemmie-document-metrics .card{padding:17px 19px;border-left:4px solid #d49a1d}.oemmie-document-metrics strong{display:block;font-size:28px;color:#075b61}.oemmie-document-metrics span{font-size:13px;color:#687a7d;font-weight:700}.oemmie-document-filters{margin-bottom:20px}.oemmie-document-filters .madrasa-form{display:grid;grid-template-columns:minmax(190px,1.7fr) repeat(2,minmax(140px,1fr)) auto;align-items:end;gap:10px}.oemmie-document-filters .madrasa-form input,.oemmie-document-filters .madrasa-form select{margin:0}.oemmie-document-grid-v2{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.oemmie-document-grid-v2 .oemmie-document-card{min-height:315px;padding:20px}.oemmie-document-card>header{display:flex;align-items:flex-start;gap:10px}.oemmie-document-card>header>div{min-width:0;flex:1}.oemmie-document-card>header>div>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oemmie-document-card>header .dashicons{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#e4f3ed;color:#075b61;font-size:22px}.oemmie-document-card>header .oemmie-status{font-size:10px;white-space:nowrap}.oemmie-document-card.is-archived{opacity:.8;background:#f8faf9}.oemmie-document-note{display:block;padding:8px 10px;border-radius:8px;background:#fff6df;color:#875f12;font-size:11px;font-weight:700}.oemmie-document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}.oemmie-document-actions .cta{flex:1;margin:0!important}.oemmie-document-actions form{margin:0}.oemmie-document-actions form .button{white-space:nowrap}.oemmie-document-title .oemmie-status{white-space:nowrap}
@media(max-width:900px){.oemmie-document-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.oemmie-document-filters .madrasa-form{grid-template-columns:1fr 1fr}.oemmie-document-filters .madrasa-form input{grid-column:1/-1}.oemmie-document-filters .madrasa-form button{grid-column:1/-1}}
@media(max-width:600px){.oemmie-document-metrics{gap:8px}.oemmie-document-metrics .card{padding:13px}.oemmie-document-metrics strong{font-size:23px}.oemmie-document-filters .madrasa-form{grid-template-columns:1fr}.oemmie-document-filters .madrasa-form input,.oemmie-document-filters .madrasa-form button{grid-column:auto}.oemmie-document-grid-v2{grid-template-columns:1fr}.oemmie-document-card>header .oemmie-status{font-size:9px}}

/* Bibliotheek 3.0 — een rustige, visuele lees- en leerplek voor elke rol. */
.oemmie-document-title{position:relative;display:flex;align-items:center;gap:16px;min-height:122px;padding:25px 28px!important;overflow:hidden;border:0!important;border-radius:22px!important;background:linear-gradient(120deg,#064c52 0%,#087478 54%,#1c8d85 100%)!important;box-shadow:0 15px 32px rgba(7,91,97,.16)}
.oemmie-document-title:before,.oemmie-document-title:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:999px;pointer-events:none}.oemmie-document-title:before{width:220px;height:220px;right:-78px;top:-102px}.oemmie-document-title:after{width:130px;height:130px;right:68px;bottom:-89px}
.oemmie-document-title>div{position:relative;z-index:1}.oemmie-document-title>div:before{content:"📚";display:inline-grid;place-items:center;width:50px;height:50px;float:left;margin:0 15px 0 0;border-radius:15px;background:rgba(255,255,255,.16);font-size:24px}.oemmie-document-title small,.oemmie-document-title h2{color:#fff!important}.oemmie-document-title small{display:block;padding-top:1px;letter-spacing:.11em;font-size:10px;font-weight:850;opacity:.78}.oemmie-document-title h2{margin:5px 0 0!important;font-size:28px!important;line-height:1.15}.oemmie-document-title .oemmie-status{position:relative;z-index:1;margin-left:auto;padding:9px 12px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-weight:800;white-space:nowrap}
.oemmie-library-tabs,.oemmie-teacher-doc-tabs{gap:10px!important;margin:0 0 16px!important}.oemmie-library-tabs a,.oemmie-teacher-doc-tabs a{border:1px solid #d6e6e1!important;border-radius:999px!important;box-shadow:0 2px 6px rgba(16,61,57,.04);transition:transform .18s ease,box-shadow .18s ease}.oemmie-library-tabs a:hover,.oemmie-teacher-doc-tabs a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(7,91,97,.11)}.oemmie-library-tabs a.active,.oemmie-teacher-doc-tabs a.active{background:#075b61!important;color:#fff!important;border-color:#075b61!important}
.oemmie-document-metrics{gap:12px!important;margin:18px 0!important}.oemmie-document-metrics .card{position:relative;overflow:hidden;padding:18px 19px 17px 22px!important;border:1px solid #e2edea!important;border-left:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 18px rgba(21,71,66,.055)!important}.oemmie-document-metrics .card:before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:4px;border-radius:0 4px 4px 0;background:#d49a1d}.oemmie-document-metrics .card:nth-child(2):before{background:#2d9388}.oemmie-document-metrics .card:nth-child(3):before{background:#7662a7}.oemmie-document-metrics .card:nth-child(4):before{background:#d76d4d}.oemmie-document-metrics strong{font-size:27px!important;letter-spacing:-.04em}.oemmie-document-metrics span{display:block;margin-top:2px}
.oemmie-document-filters{padding:12px!important;border:1px solid #dcebe6!important;border-radius:18px!important;background:#f7fbf9!important;box-shadow:none!important}.oemmie-document-filters .madrasa-form{gap:9px!important}.oemmie-document-filters input,.oemmie-document-filters select{min-height:44px!important;border:1px solid #ccdfd9!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}.oemmie-document-filters input:focus,.oemmie-document-filters select:focus{border-color:#087478!important;box-shadow:0 0 0 3px rgba(8,116,120,.12)!important}.oemmie-document-filters .button{min-height:44px;border:0!important;border-radius:11px!important;background:#075b61!important;color:#fff!important;font-weight:800}
.oemmie-document-grid-v2{gap:16px!important}.oemmie-document-grid-v2 .oemmie-document-card{position:relative;min-height:286px!important;padding:20px!important;overflow:hidden;border:1px solid #e0ece8!important;border-radius:18px!important;background:linear-gradient(145deg,#fff 0%,#fbfefd 100%)!important;box-shadow:0 8px 20px rgba(18,71,65,.06)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.oemmie-document-grid-v2 .oemmie-document-card:hover{transform:translateY(-4px);border-color:#a9d3c8!important;box-shadow:0 17px 32px rgba(9,87,80,.13)!important}.oemmie-document-grid-v2 .oemmie-document-card:after{content:"";position:absolute;width:120px;height:120px;right:-60px;bottom:-60px;border-radius:50%;background:rgba(212,154,29,.07);pointer-events:none}.oemmie-document-card>header{position:relative;z-index:1}.oemmie-document-card>header .dashicons{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:14px!important;background:linear-gradient(145deg,#e3f4ed,#c7e8dc)!important;color:#075b61!important;font-size:24px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.oemmie-document-card>header h3{margin:3px 0 0!important;color:#133f40!important;font-size:17px!important;line-height:1.25}.oemmie-document-card>header>div>small{color:#58736f!important;font-size:11px!important;font-weight:750}.oemmie-document-card>p{position:relative;z-index:1;margin:15px 0!important;color:#5c726e!important;line-height:1.55}.oemmie-document-card footer{position:relative;z-index:1;display:flex;gap:6px;flex-wrap:wrap;margin-top:auto!important;padding-top:12px!important;border-top:1px solid #edf3f0!important}.oemmie-document-card footer span{padding:5px 8px;border-radius:999px;background:#eef7f3;color:#32615b!important;font-size:10px!important;font-weight:800}.oemmie-document-actions{position:relative;z-index:1;margin-top:14px!important}.oemmie-document-actions .cta{min-height:40px;border-radius:10px!important;background:#075b61!important;font-weight:800;text-align:center}.oemmie-document-actions .button{border-radius:10px!important}.oemmie-document-card .oemmie-status{padding:5px 7px!important;border:0!important;border-radius:999px!important;background:#e7f5ee!important;color:#176b55!important}
.oemmie-parent-doc-tabs{padding:5px;border:1px solid #dce9e5;border-radius:14px;background:#f4f9f7}.oemmie-parent-doc-tabs a{border:0!important;background:transparent!important;border-radius:10px!important}.oemmie-parent-doc-tabs a.active{background:#fff!important;box-shadow:0 3px 8px rgba(13,75,67,.08)!important;color:#075b61!important}
@media(max-width:700px){.oemmie-document-title{min-height:112px;padding:21px!important;border-radius:18px!important}.oemmie-document-title>div:before{width:42px;height:42px;margin-right:11px;font-size:20px}.oemmie-document-title h2{font-size:23px!important}.oemmie-document-title .oemmie-status{display:none}.oemmie-document-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.oemmie-document-metrics .card{padding:15px!important}.oemmie-document-metrics strong{font-size:23px!important}.oemmie-document-grid-v2 .oemmie-document-card{min-height:0!important}.oemmie-library-tabs a,.oemmie-teacher-doc-tabs a{flex:1;text-align:center;padding:10px 8px!important}}
