.library-page,.bank-page{min-height:calc(100vh - 78px);background:#f6f8fb}.library-hero,.bank-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 32px;border-radius:24px;background:linear-gradient(115deg,#fff,#eef5ff);border:1px solid #e2e8f2}.library-hero h1,.bank-head h1{font-size:1.8rem;font-weight:850;margin:9px 0 4px}.library-hero p,.bank-head p{color:#717b8f;margin:0;font-size:.83rem}.hero-count{width:112px;height:112px;display:grid;place-items:center;align-content:center;border-radius:50%;background:#fff;color:#276fd0;box-shadow:0 14px 34px #276fd020}.hero-count strong{font-size:2rem}.hero-count span{font-size:.65rem;font-weight:800}.library-filters{position:relative;margin:22px 0;background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:18px;display:grid;gap:13px}.education-selector{display:flex;align-items:center;gap:20px;padding-bottom:14px;border-bottom:1px solid #edf0f4}.education-selector div:first-child{min-width:145px}.education-selector b,.education-selector span{display:block}.education-selector b{font-size:.8rem}.education-selector span{font-size:.62rem;color:#8a94a5}.all-grades{display:flex;flex-wrap:wrap;gap:5px}.all-grades button,.filter-line button{border:0;border-radius:16px;background:#f0f3f7;color:#606a7e;padding:7px 11px;font-size:.67rem;font-weight:750}.all-grades button.active,.filter-line button.active{background:#17203a;color:#fff}.filter-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.filter-line strong{width:90px;font-size:.7rem}.library-search{position:absolute;right:18px;bottom:18px;width:285px}.library-search i,.bank-toolbar>div i{position:absolute;left:13px;top:10px;color:#8d97a7}.library-search input,.bank-toolbar input{padding-left:38px;border-radius:11px;font-size:.75rem}.result-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 15px}.result-heading h2{font-size:1.1rem;font-weight:850;margin:0}.result-heading p{font-size:.7rem;color:#858fa0;margin:4px 0 0}.result-heading select{width:170px;font-size:.72rem}.exam-card{height:100%;position:relative;overflow:hidden;background:#fff;border:1px solid #e0e6ef;border-radius:20px;padding:20px;box-shadow:0 7px 20px #1e33500b}.exam-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:#3679db}.exam-card.violet:before{background:#7c4adb}.exam-card.orange:before{background:#ef9d26}.exam-card.green:before{background:#32a76f}.exam-card.pink:before{background:#e25286}.exam-card-top{display:flex;justify-content:space-between}.exam-type{font-size:.63rem;font-weight:850;padding:5px 9px;border-radius:15px;background:#eaf3ff;color:#2867b7}.exam-card-top button{border:0;background:#f4f6f9;border-radius:9px;width:32px;height:32px}.exam-subject{margin:21px 0 9px;color:#50719d;font-size:.69rem;font-weight:800}.exam-card h3{font-size:1rem;font-weight:850;min-height:44px}.exam-card>p{font-size:.68rem;color:#8790a0}.exam-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:13px 0;border-top:1px solid #edf0f4}.exam-metrics span{text-align:center;font-size:.62rem;color:#7c8698}.exam-metrics strong{color:#2d3b55}.exam-card>a{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:8px;padding:11px;text-decoration:none;border-radius:11px;background:#1f73b5;color:#fff;font-size:.68rem;font-weight:850}.bank-actions{display:flex;gap:8px}.bank-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.bank-stats article{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e2e7ef;border-radius:16px;padding:17px}.bank-stats i{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:1.25rem;background:#edf4ff;color:#3577d0}.bank-stats i.green{background:#e8f8f0;color:#279361}.bank-stats i.orange{background:#fff4df;color:#d88a18}.bank-stats i.purple{background:#f2edff;color:#7049ce}.bank-stats small,.bank-stats strong{display:block}.bank-stats small{font-size:.65rem;color:#8a93a2}.bank-stats strong{font-size:1.2rem}.bank-toolbar{display:flex;gap:10px;background:#fff;border:1px solid #e1e6ef;border-radius:16px;padding:14px}.bank-toolbar select{width:180px;font-size:.72rem}.question-table{margin-top:15px;background:#fff;border:1px solid #e1e6ef;border-radius:17px;overflow:hidden}.question-table table{margin:0}.question-table th{background:#f8fafc;color:#747e90;font-size:.62rem;text-transform:uppercase;padding:13px 15px}.question-table td{padding:14px 15px;font-size:.7rem}.question-table td:first-child{min-width:310px}.question-table td:first-child strong,.question-table td:nth-child(2) small{display:block}.question-code{color:#3476c7;font-weight:800}.class-chip{display:inline-block;background:#edf3fa;border-radius:10px;padding:4px 7px;font-weight:800}.question-table td:nth-child(2) small{color:#8791a2;margin-top:5px}.difficulty,.approval{display:inline-flex;align-items:center;border-radius:12px;padding:5px 8px;background:#eef2f6;font-size:.62rem;font-weight:750}.approval i{width:6px;height:6px;border-radius:50%;background:#2daa6f;margin-right:5px}.approval.approved{background:#e8f8f0;color:#237b53}.approval.draft{background:#fff2dc;color:#9d6918}.approval.draft i{background:#dd971c}.row-menu{border:0;background:transparent}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-top:1px solid #edf0f4;font-size:.68rem;color:#7c8696}.table-footer button{border:1px solid #e0e5ec;background:#fff;border-radius:7px;margin-left:4px}.table-footer button.active{background:#1c70b1;color:#fff}@media(max-width:1100px){.library-search{position:relative;right:auto;bottom:auto;width:100%}.bank-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.library-hero,.bank-head{align-items:flex-start;flex-direction:column;padding:22px}.hero-count{width:80px;height:80px}.education-selector{align-items:flex-start;flex-direction:column}.filter-line strong{width:100%}.bank-actions,.bank-toolbar{flex-direction:column;width:100%}.bank-toolbar select{width:100%}.bank-stats{grid-template-columns:1fr 1fr}.question-table td:first-child{min-width:250px}}
