.admin-container{max-width:1200px;min-width:600px;margin:15px auto 60px;padding:20px;display:flex;flex-direction:column}@media screen and (max-width:600px){.admin-container{min-width:auto;width:calc(100% - 40px)}}.admin-logout-btn{position:fixed;top:120px;right:30px;z-index:1000;background-color:#f8f9fa;color:#333;border:1px solid #ddd;padding:8px 15px;border-radius:5px;text-decoration:none;font-weight:500;transition:all 0.3s ease}.admin-logout-btn:hover{background-color:#e2e6ea;border-color:#dde2e6;color:#000;text-decoration:none}.alert{padding:15px;margin-bottom:20px;border:1px solid #fff0;border-radius:4px}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.btn{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;user-select:none;border:1px solid #fff0;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;text-decoration:none;cursor:pointer}.btn:visited{color:#fff}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.form-control{display:block;width:calc(100% - 1.5rem);height:calc(2.25rem + 2px);padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out}textarea.form-control{height:auto}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgb(0 123 255 / .25)}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:700}.btn-group{margin-top:20px}.insufficient-copies-warning{border:2px solid #f44336!important;background-color:#ffebee!important;border-radius:8px}.availability-insufficient{color:#f44336!important;font-weight:bold!important}.error-state{border-color:#f44336!important;background-color:#ffebee!important;border-radius:4px}.copy-availability-warning{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:5px;padding:10px;margin:10px 0;color:#856404}.copy-availability-error{background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:5px;padding:10px;margin-bottom:10px;color:#721c24}.copy-availability-error ul{margin:10px 0}.work-item.insufficient-copies{border-left:4px solid #f44336;background-color:#ffebee;padding-left:15px}.availability-status{font-weight:700;display:block;margin-bottom:5px}.availability-status.sufficient{color:#28a745}.availability-status.insufficient{color:#dc3545}.availability-status.warning{color:#ffc107}.status-badge{display:inline-block;padding:5px 10px;font-size:14px;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:middle;border-radius:4px;color:#fff;margin-left:10px;float:right}.status-badge:empty{display:none}.pending{background-color:#A17b5A}.approved{background-color:#17a2b8}.checked-out{background-color:#28a745}.checked-in{background-color:#6c757d}.overdue{background-color:#da8230}.due-today{background-color:#28a745}.due-soon{background-color:#28a745}.rejected{background-color:#dc3545}.cancelled{background-color:#6c757d}h1.status-header{position:relative;margin-bottom:20px}h1.status-header .status-badge{font-size:16px;vertical-align:middle;font-weight:400}.request-header{position:relative;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.request-header h3{margin-bottom:0;padding-right:20px}.request-header .status-badge{font-size:14px;vertical-align:middle;font-weight:400}.request-details p{margin-bottom:3px}@media (max-width:768px){.d-flex.justify-content-between{display:block!important}h1.status-header{margin-bottom:10px;padding-right:90px;position:relative}h1.status-header .status-badge{position:absolute;right:0;top:50%;transform:translateY(-50%)}.request-header{flex-direction:column;align-items:flex-start}.request-header h3{margin-bottom:10px;padding-right:0;width:100%}.request-header .status-badge{position:relative;align-self:flex-end;margin-top:-30px}}@media (max-width:480px){h1.status-header{padding-right:0;margin-bottom:45px;text-align:center}h1.status-header .status-badge{position:absolute;right:auto;top:100%;left:50%;transform:translateX(-50%);margin-top:10px;float:none}.request-header{text-align:center}.request-header h3{text-align:center;margin-bottom:30px}.request-header .status-badge{position:absolute;right:auto;top:auto;left:50%;transform:translateX(-50%);margin-top:0}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.col-md-6{flex:0 0 50%;max-width:50%;padding-right:15px;padding-left:15px}.request-card{border:1px solid #ddd;margin-bottom:20px;padding:15px;border-radius:5px;background-color:#f9f9f9}.request-card.pending{border-left:5px solid #A17b5A}.request-card.approved{border-left:5px solid #17a2b8}.request-card.checked-out{border-left:5px solid #28a745}.request-card.checked-in{border-left:5px solid #6c757d}.request-card.rejected{border-left:5px solid #dc3545}.request-card.cancelled{border-left:5px solid #6c757d}.request-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.request-actions{display:flex;gap:10px;margin-top:15px;align-items:stretch}.request-actions .btn{display:flex;align-items:center;justify-content:center;padding:8px 15px;font-size:14px;line-height:1.5;border-radius:4px;transition:all 0.3s ease;height:100%}.request-actions .btn:visited{color:#fff}.filter-tabs{display:flex;gap:10px;margin-bottom:20px}.filter-tabs a{padding:8px 15px;text-decoration:none;border-radius:5px;color:#333;background-color:#f8f9fa;border:1px solid #ddd;transition:all 0.3s ease}.filter-tabs a:hover{background-color:#e2e6ea;border-color:#dde2e6}.filter-tabs a.active{background-color:#A17b5A;color:var(--color-light);border-color:#A17b5A}.works-list{margin-top:10px;padding:10px;background-color:#f0f0f0;border-radius:5px}.request-actions form{display:inline-flex}.showing-on-page{margin-bottom:5px;font-size:12px;font-style:italic}.checkin-container{max-width:800px;margin:0 auto;padding:20px}.borrowing-details{background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;padding:20px;margin-bottom:20px}.works-container{margin-top:20px}.work-item{background-color:#fff;border:1px solid #eee;border-radius:5px;padding:15px;margin-bottom:10px}.work-item h4{font-size:18px;margin-bottom:7.5px}.work-item p{margin-bottom:5px}.request-card .overdue{border-left:5px solid #da8230}.checkin-form{background-color:#f0f0f0;border:1px solid #ddd;border-radius:5px;padding:20px;margin-top:20px}.details-container{max-width:900px;margin:15px auto 60px;padding:20px}.details-section{background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;padding:20px;margin-bottom:20px}.borrower-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #eee}.borrower-name{font-size:1.2em}.borrower-id{font-size:1.2em;color:#6c757d;font-weight:700}.borrower-info{display:grid;grid-template-columns:1fr 1fr;gap:15px}.borrower-info p{margin-bottom:10px}.borrower-comment{margin-top:15px;padding-top:10px;border-top:1px solid #eee}.status-history{list-style:none;padding:0}.status-history li{padding:10px;border-bottom:1px solid #eee;margin-bottom:5px}.status-history li:last-child{border-bottom:none}.history-details{color:#666;font-size:.9em;margin-top:5px}.history-admin-notes{color:#555;font-size:.9em;margin-top:5px;font-style:italic;background-color:#f8f9fa;padding:5px 8px;border-radius:3px;border-left:3px solid #dee2e6}.action-buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;margin-top:20px}.section .work-item{margin-bottom:10px}.section .work-item p{margin-bottom:5px}@media (max-width:768px){.borrower-info{grid-template-columns:1fr}.borrower-header{flex-direction:column;align-items:flex-start}.borrower-name{margin-bottom:8px}.borrower-id{align-self:flex-end;margin-top:-25px}}@media (max-width:480px){.borrower-header{text-align:center;flex-direction:column;align-items:center}.borrower-name,.borrower-id{margin-bottom:8px;text-align:center}.borrower-id{align-self:center;margin-top:5px}}.status-badge{display:inline-block;padding:5px 10px;font-size:14px;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:middle;border-radius:4px;color:#fff;margin-left:10px;float:right}.status-badge:empty{display:none}.overdue-indicator{color:#dc3545;font-weight:700}.due-soon-indicator{color:#fd7e14;font-weight:700}.search-filters{display:flex;flex-direction:column-reverse;gap:15px;margin-bottom:20px}.filter-options{display:flex;gap:10px;flex-wrap:wrap}.search-box{width:100%}.filter-link{padding:8px 15px;text-decoration:none;border-radius:5px;color:#333;background-color:#e9e9e9}.filter-link.active{background-color:#A17b5A;color:var(--color-light)}.borrowing-card{border:1px solid #ddd;border-radius:5px;padding:15px;margin-bottom:15px;background-color:#f9f9f9}.borrowing-card.overdue{border-left:5px solid #dc3545}.borrowing-card.due-soon{border-left:5px solid #fd7e14}.borrowing-header{display:flex;justify-content:space-between;margin-bottom:10px}.borrowing-actions{margin-top:15px}.add-work-link{text-align:center;margin-bottom:30px}.add-work-link a{font-size:var(--site-text);color:var(--color-dark);text-decoration:none;padding:8px 15px;border:2px solid var(--color-dark);border-radius:4px;transition:all 0.2s ease}.add-work-link a:hover{background-color:var(--color-dark);color:var(--color-light);box-shadow:var(--site-shadow)}.flex-table{display:flex;flex-direction:column;width:100%;margin:20px 0;border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;overflow:hidden;box-shadow:var(--site-shadow);-webkit-box-shadow:var(--site-shadow);-moz-box-shadow:var(--site-shadow)}.flex-table-header,.flex-table-row{display:flex;padding:.75rem 1rem;border-bottom:1px solid #e9ecef;align-items:center}.flex-table-header{background-color:var(--color-dark);color:var(--color-light);font-weight:700;padding:15px 0}.flex-table-row{border-bottom:2px solid rgb(0 0 0 / .1);padding:15px 0;transition:background-color 0.3s ease;background-color:var(--color-light)}.flex-table-row:last-child{border-bottom:none!important}.flex-table-cell{display:flex;flex:1;padding:0;overflow-x:auto;font-size:.95rem}.search-results .flex-table-header .flex-table-cell,.search-results .flex-table-row .flex-table-cell{padding-left:12px;padding-right:12px}.search-results .flex-table-header .flex-table-cell.title,.search-results .flex-table-row .flex-table-cell.title{flex:3 1 0%}.search-results .flex-table-header .flex-table-cell.composer,.search-results .flex-table-row .flex-table-cell.composer{flex:2.5 1 0;line-height:1.6}.search-results .flex-table-header .flex-table-cell.catalog,.search-results .flex-table-row .flex-table-cell.catalog{flex:0 0 100px}.search-results .flex-table-header .flex-table-cell.copies,.search-results .flex-table-row .flex-table-cell.copies{flex:0 0 70px}.search-results .flex-table-header .flex-table-cell.actions,.search-results .flex-table-row .flex-table-cell.actions{flex:0 0 185px;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.flex-table-header .flex-table-cell{font-weight:700;text-transform:uppercase;letter-spacing:.5px;align-self:center;font-size:.95rem;line-height:1.6}.flex-table-header .sortable{position:relative;cursor:pointer}.sort-indicator{position:absolute;right:12px;transform:translateY(-50%)}.flex-table-row+.details-row{border-top:none;margin-top:-1px}.search-body{font-size:var(--site-text);color:var(--color-dark);background-color:var(--color-light);display:flex;flex-direction:column;max-width:1000px;width:100%;padding:40px;padding-bottom:80px;margin:0 auto}.search-body h1,.search-results h1{font-size:var(--site-header);margin-bottom:20px;text-align:center}.search-body form{display:flex;flex-direction:column;width:100%;max-width:700px;margin:0 auto;margin-bottom:40px}.search-body input[type=text],.search-body select{font-size:var(--form-input-text);font-weight:700;width:100%;padding:12px;color:var(--color-dark);background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;box-sizing:border-box;height:var(--form-input-height);margin-bottom:var(--form-input-margin);resize:vertical;box-shadow:var(--site-shadow);-webkit-box-shadow:var(--site-shadow);-moz-box-shadow:var(--site-shadow)}.search-body option{font-size:18px;font-weight:700;padding:12px;color:var(--color-dark)}.search-body input:focus-visible,.search-body select:focus-visible{border:3px outset var(--color-dark)}.search-body label{font-size:var(--site-text);font-weight:700;margin-top:10px;margin-bottom:5px;margin-left:5px}.search-body input[type=submit],.search-body button,.search-results input[type=button]{font-size:var(--form-submit-text);font-weight:700;color:var(--color-dark);background-color:var(--color-light);margin-top:10px;padding:var(--form-submit-padding);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;cursor:pointer;box-shadow:var(--site-shadow);-webkit-box-shadow:var(--site-shadow);-moz-box-shadow:var(--site-shadow);transition:all 0.2s linear}.search-body input[type=submit]:hover,.search-body button:hover,.search-results input[type=button]:hover{background-color:var(--color-dark);color:var(--color-light);box-shadow:var(--site-shadow-hover);-webkit-box-shadow:var(--site-shadow-hover);-moz-box-shadow:var(--site-shadow-hover)}.search-body ::placeholder{color:var(--color-dark)}.search-results{padding:40px 7.5%;margin-bottom:auto}.edit-btn,.remove-btn{padding:6px 12px;border:2px solid var(--color-dark);border-radius:4px;text-decoration:none;color:var(--color-dark);transition:all 0.2s ease;font-size:.95rem}.edit-btn:hover,.remove-btn:hover{background-color:var(--color-dark);color:var(--color-light)}.remove-btn,.remove-btn:visited{border-color:#dc3545;background-color:#dc3545;color:var(--color-light)}.remove-btn:hover{background-color:rgb(0 0 0 / .05);color:#dc3545}.see-more-btn,.borrow-btn{padding:6px 12px;border:2px solid var(--color-dark);border-radius:4px;text-decoration:none;color:var(--color-dark);transition:all 0.2s ease;font-size:.95rem;line-height:1.4em}.borrow-btn{background-color:var(--color-copper);border-color:var(--color-copper);color:var(--color-light)}.borrow-btn:visited{color:var(--color-light)}.see-more-btn:hover{background-color:var(--color-dark);color:var(--color-light)}.borrow-btn:hover{background-color:rgb(0 0 0 / .05);color:var(--color-copper)}.search-results .flex-table-header .flex-table-cell,.search-results .flex-table-row .flex-table-cell{padding-left:12px;padding-right:12px}.no-results-text{font-size:var(--site-text);font-weight:700;text-align:center;color:var(--color-dark);margin-top:40px;padding:20px;background-color:rgb(0 0 0 / .03);border-radius:8px}.pagination{display:flex;justify-content:center;margin:20px 0;gap:8px;align-items:center}.pagination a{font-size:.9rem;font-weight:600;color:var(--color-dark);background-color:var(--color-light);padding:8px 12px;border:2px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;cursor:pointer;box-shadow:var(--site-shadow);-webkit-box-shadow:var(--site-shadow);-moz-box-shadow:var(--site-shadow);transition:all 0.2s ease;text-decoration:none;min-width:40px;text-align:center;display:inline-flex;align-items:center;justify-content:center}.pagination a.active,.pagination a.pagination-page.active{background-color:var(--color-dark);color:var(--color-light);transform:translateY(-1px)}.pagination a:hover:not(.active){background-color:var(--color-dark);color:var(--color-light);transform:translateY(-1px)}.pagination-ellipsis{font-size:1rem;font-weight:700;color:var(--color-dark);padding:0 6px;display:inline-flex;align-items:center;justify-content:center;min-width:24px;text-align:center;cursor:default;user-select:none}.results-info{color:var(--color-dark);font-size:.9rem;margin:10px 0}.results-info.top-results-info{text-align:left;margin-bottom:15px;padding-left:2px}.results-info.bottom-results-info{text-align:center;margin-top:15px;font-style:italic;color:#666}.results-info p{margin:0;font-weight:500}.see-more-btn,.borrow-btn{padding:6px 12px;font-size:.95rem;transition:all 0.2s ease}.see-more-btn{line-height:1.4em}.borrow-btn{background-color:var(--color-copper);border-color:var(--color-copper);color:var(--color-light)}.see-more-btn:hover{background-color:var(--color-dark);color:var(--color-light)}.borrow-btn:hover{background-color:rgb(0 0 0 / .05);color:var(--color-copper)}.flex-table-row{display:flex;border-bottom:2px solid rgb(0 0 0 / .1);padding:15px 0;align-items:center;transition:background-color 0.3s ease;background-color:var(--color-light)}.flex-table-row:nth-child(even){background-color:rgb(0 0 0 / .03)}.search-results .flex-table-row:nth-child(odd),.search-results .flex-table-row:nth-child(even){background-color:#fff0}.search-results .flex-table-row:nth-child(4n+1),.search-results .flex-table-row:nth-child(4n+2){background-color:#f9f9f9}.search-results .flex-table-row:nth-child(4n+3),.search-results .flex-table-row:nth-child(4n+4){background-color:#fff}.search-results .flex-table-row+.details-row{background-color:inherit}.flex-table-cell::-webkit-scrollbar,.details-content .detail-value::-webkit-scrollbar{height:6px}.flex-table-cell::-webkit-scrollbar-thumb,.details-content .detail-value::-webkit-scrollbar-thumb{background-color:rgb(0 0 0 / .2);border-radius:3px}.flex-table-cell::-webkit-scrollbar-track,.details-content .detail-value::-webkit-scrollbar-track{background-color:rgb(0 0 0 / .05)}.flex-table-cell{position:relative}.flex-table-cell:hover{cursor:default}.details-row{overflow:hidden;height:0;opacity:0;border-top:1px solid #eee;will-change:height,opacity;pointer-events:none;border-bottom:2px solid rgb(0 0 0);border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;transition:height 400ms cubic-bezier(.33,1,.68,1),opacity 350ms cubic-bezier(.33,1,.68,1);-webkit-transition:height 400ms cubic-bezier(.33,1,.68,1),opacity 350ms cubic-bezier(.33,1,.68,1);-moz-transition:height 400ms cubic-bezier(.33,1,.68,1),opacity 350ms cubic-bezier(.33,1,.68,1);-ms-transition:height 400ms cubic-bezier(.33,1,.68,1),opacity 350ms cubic-bezier(.33,1,.68,1);-o-transition:height 400ms cubic-bezier(.33,1,.68,1),opacity 350ms cubic-bezier(.33,1,.68,1)}.details-row.open{opacity:1;pointer-events:auto}.details-content{padding:15px;opacity:0;transform:translateY(10px);will-change:opacity,transform;transition:opacity 300ms cubic-bezier(.33,1,.68,1),transform 300ms cubic-bezier(.34,1.56,.64,1);-webkit-transition:opacity 300ms cubic-bezier(.33,1,.68,1),transform 300ms cubic-bezier(.34,1.56,.64,1);-moz-transition:opacity 300ms cubic-bezier(.33,1,.68,1),transform 300ms cubic-bezier(.34,1.56,.64,1);-ms-transition:opacity 300ms cubic-bezier(.33,1,.68,1),transform 300ms cubic-bezier(.34,1.56,.64,1);-o-transition:opacity 300ms cubic-bezier(.33,1,.68,1),transform 300ms cubic-bezier(.34,1.56,.64,1)}.details-row.open .details-content{opacity:1;transform:translateY(0)}.details-content p{margin:8px 0;line-height:1.6}.details-content h3{font-size:1.2em;margin-bottom:12px;color:var(--color-dark)}.details-content .detail-group{margin-bottom:0;padding:10px;border-bottom:1px solid rgb(0 0 0 / .1)}.details-content .detail-group:last-child{border-bottom:none}.details-content .detail-label{font-weight:700;color:var(--color-dark);margin-right:8px}.details-content .detail-value{flex:2;overflow-x:visible;color:var(--color-dark)}.details-content .notes{font-style:italic;background-color:rgb(0 0 0 / .03);padding:10px;border-radius:4px;margin-top:10px}.details-content .collection-info{margin-top:20px;padding-top:15px;border-top:1px solid rgb(0 0 0 / .1)}.details-content .collection-label{font-weight:700;color:var(--color-dark);display:block;margin-bottom:5px}.details-content .collection-value{color:var(--color-dark);padding-left:10px}.sortable{cursor:pointer;position:relative;padding-right:20px;transition:text-shadow 0.2s ease}.sortable:hover{text-shadow:0 0 8px rgb(255 255 255 / .6)}.sort-indicator{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:0;height:0;border-left:5px solid #fff0;border-right:5px solid #fff0}.sort-asc .sort-indicator{border-bottom:5px solid var(--color-light);border-top:none}.sort-desc .sort-indicator{border-top:5px solid var(--color-light);border-bottom:none}@media (max-width:768px){.sortable{padding-right:25px}.sort-indicator{right:8px}.flex-table-header .sortable .sort-indicator{display:none}}.loading-container{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgb(255 255 255 / .8);display:flex;justify-content:center;align-items:center;z-index:1000}.loading-spinner{width:50px;height:50px;border:5px solid rgb(0 0 0 / .1);border-radius:50%;border-top-color:var(--color-dark);animation:spin 1s ease-in-out infinite;position:relative}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);font-weight:700;color:var(--color-dark)}.results-per-page{display:flex;justify-content:center;align-items:center;margin-top:15px;font-size:var(--form-submit-text);color:var(--color-dark)}.results-per-page span{margin-right:10px;font-weight:700}.results-per-page select{padding:5px 10px;border:2px solid var(--color-dark);border-radius:4px;background-color:var(--color-light);color:var(--color-dark);font-size:var(--form-submit-text);cursor:pointer;transition:all 0.2s ease;min-width:75px;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:25px;position:relative;background:none!important}.results-per-page .select-wrapper{position:relative;display:inline-block}.results-per-page .select-wrapper::after{content:'';position:absolute;right:10px;top:50%;transform:translateY(-25%);width:0;height:0;border-left:5px solid #fff0;border-right:5px solid #fff0;border-top:5px solid var(--color-dark);pointer-events:none}.results-per-page select:hover{border-color:var(--color-dark);background-color:rgb(0 0 0 / .05)}.results-per-page select:focus{outline:none;box-shadow:0 0 0 2px rgb(0 0 0 / .1)}@media screen and (min-width:1401px){.flex-table-row,.flex-table-header{padding:15px 0}}@media screen and (max-width:1400px){.search-results{padding:40px 60px}}@media screen and (max-width:1300px){.flex-table-row,.flex-table-header{padding:12px 0}.flex-table-cell{font-size:.85rem}.flex-table-header .flex-table-cell{font-size:.85rem}.edit-btn,.remove-btn,.see-more-btn,.borrow-btn{padding:5px 10px;font-size:.85rem}.search-results .flex-table-header .flex-table-cell,.search-results .flex-table-row .flex-table-cell{padding-left:10px;padding-right:10px}.sort-indicator{right:10px}.search-results .flex-table-header .flex-table-cell.actions,.search-results .flex-table-row .flex-table-cell.actions{flex:0 0 146px;gap:8px}.see-more-btn,.borrow-btn{padding:3px 6px}.edit-btn,.remove-btn{padding:3px 6px}}@media screen and (max-width:1200px){.search-body{width:95%;padding:40px 2.5%}.search-results{padding:40px}}@media screen and (max-width:900px) and (min-width:701px){.flex-table-row,.flex-table-header{padding:10px}.flex-table-cell{font-size:.85rem}.search-results .flex-table-header .flex-table-cell,.search-results .flex-table-row .flex-table-cell{padding-left:8px;padding-right:8px}.sort-indicator{right:8px}.search-results .flex-table-header .flex-table-cell.title,.search-results .flex-table-row .flex-table-cell.title{flex:2 1 0%}.search-results .flex-table-header .flex-table-cell.composer,.search-results .flex-table-row .flex-table-cell.composer{flex:2 1 0%}.edit-btn,.remove-btn,.see-more-btn,.borrow-btn{padding:4px 6px;font-size:.85rem}}@media (max-width:768px){.borrower-info{grid-template-columns:1fr}.col-md-6{flex:0 0 100%;max-width:100%}.search-filters,.filter-options,.request-header,.borrowing-header,.request-actions,.borrowing-actions{flex-direction:column}.filter-tabs{flex-wrap:wrap}.flex-table-header{display:none}.flex-table-row{flex-direction:column;padding:5px 15px 0;box-shadow:0 2px 4px rgb(0 0 0 / .1);border-bottom:2px solid rgb(0 0 0);border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.flex-table-cell{width:100%;padding:8px 12px;display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;text-align:left;border-bottom:1px dotted rgb(0 0 0 / .1);overflow:visible}.flex-table-cell:before{content:attr(data-label);font-weight:700;width:130px;min-width:130px;color:var(--color-dark);flex-shrink:0;text-align:left}.flex-table-cell.actions:before{display:none}.flex-table-cell.actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:15px;width:100%;padding:10px 12px}.edit-btn,.remove-btn,.see-more-btn,.borrow-btn{flex:0 0 calc(50% - 5px);text-align:center;box-sizing:border-box;margin:0;display:flex;justify-content:center;align-items:center;min-height:38px;padding:8px 10px;font-size:.85rem;min-width:100px;flex:1 1 calc(50% - 5px)}.flex-table-cell.composer,.flex-table-cell.collection,.flex-table-cell.catalog,.flex-table-cell.copies,.flex-table-cell.title{display:flex;flex-direction:row;text-align:left;padding:8px 0;width:100%}.flex-table-cell.title,.flex-table-cell.composer,.flex-table-cell.collection,.flex-table-cell.catalog,.flex-table-cell.copies{width:100%;flex:1 1 auto}.flex-table-cell>*:not(:first-child){flex:1;text-align:left;padding-left:10px}.flex-table-cell.composer,.flex-table-cell.collection{align-items:flex-start;flex-wrap:wrap;justify-content:start}.flex-table-cell.catalog,.flex-table-cell.copies{flex:0 0 0%}.flex-table-cell.composer>*:not(:first-child),.flex-table-cell.collection>*:not(:first-child){padding-left:10px}.flex-table-cell.composer:after,.flex-table-cell.collection:after{content:"";display:table;clear:both;width:100%}.search-results .flex-table-cell.catalog,.search-results .flex-table-cell.copies{flex:0!important}.search-results .flex-table-cell.actions{flex-wrap:wrap;gap:10px;margin-top:15px;border-top:1px solid rgb(0 0 0 / .1);width:100%;flex:0!important;padding:0;margin-bottom:15px}.search-results .see-more-btn,.search-results .borrow-btn,.search-results .edit-btn,.search-results .remove-btn{flex:0 0 calc(50% - 5px);text-align:center;box-sizing:border-box;margin:0;display:flex;justify-content:center;align-items:center;min-height:38px}.details-content{padding:10px}.details-content .detail-group{padding:8px 5px}}@media screen and (max-width:480px){.search-body{padding:20px 2.5%}.search-results{padding:20px}.search-body h1,.search-results h1{font-size:24px}.flex-table-row{padding:5px 10px 0}.flex-table-cell:before{width:90px;min-width:90px}.details-content h3{font-size:1.1em}.details-content .detail-label,.details-content .detail-value{display:block;width:100%}.edit-btn,.remove-btn,.see-more-btn,.borrow-btn{padding:8px 8px;font-size:.8rem;font-size:13px;padding:8px 5px}}.work-body{padding:40px 10%;display:flex;flex-direction:column;align-items:center}.work-body h1{font-size:var(--site-header);margin-bottom:20px;text-align:center}.work-body form{display:flex;flex-direction:column;width:100%;max-width:700px;margin:0 auto;margin-bottom:40px}.work-body .form-group{margin-bottom:0}.work-body input[type=text],.work-body input[type=number],.work-body select{font-size:var(--form-input-text);font-weight:700;width:100%;padding:12px;color:var(--color-dark);background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;box-sizing:border-box;height:var(--form-input-height);margin-bottom:var(--form-input-margin)}.work-body textarea{font-size:var(--form-input-text);font-weight:700;width:100%;padding:12px;color:var(--color-dark);background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;box-sizing:border-box;min-height:120px;margin-bottom:var(--form-input-margin);resize:vertical}.work-body input[type=file]{font-size:var(--form-input-text);width:100%;padding:12px;background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;box-sizing:border-box;margin-bottom:var(--form-input-margin)}.work-body label{font-size:var(--form-label-text);font-weight:700;margin-bottom:8px;display:block}.work-body .submit-container{text-align:center;margin-top:20px}.work-body input[type=submit],.work-body button{font-size:var(--site-text);font-weight:700;padding:12px 24px;color:var(--color-dark);background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;cursor:pointer;transition:all 0.2s ease}.work-body input[type=submit]:hover,.work-body button:hover{background-color:var(--color-dark);color:var(--color-light)}.artist-entry{display:flex;gap:10px;position:relative}.work-error-message{max-width:700px;margin-bottom:20px;padding:15px;border-radius:4px;background-color:#dc3545;color:#fff}.success-message{max-width:700px;margin-bottom:20px;padding:15px;border-radius:4px;background-color:#28a745;color:#fff;text-align:center}.field-error{color:#dc3545;font-size:14px;margin-top:-10px;margin-bottom:10px;display:none}.quick-add-controls{margin-bottom:20px;display:flex;gap:10px}.quick-add-controls>button{flex:1}.quick-add-forms-container{display:flex;gap:20px;margin-bottom:20px}.quick-add-forms-container.dual-view>div{flex-basis:50%}.quick-add-form{border:1px solid #ccc;padding:15px;border-radius:5px;background-color:#f9f9f9}.quick-add-form label{display:block;margin-bottom:5px}.quick-add-form>div{display:flex;flex-direction:column;gap:10px}.quick-add-form input[type="text"]{width:100%}.quick-add-form button{width:100%}.validation-error-message{color:red;font-size:.9em;display:block;margin-top:-15px;margin-bottom:20px;text-align:center}.invalid-entry{border:2px solid #dc3545!important;background-color:#f8d7da!important}.field-error-message{color:red;font-size:.9em;display:block;margin-top:5px;margin-bottom:10px;text-align:center}.collection-association-entry{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap;position:relative}.collection-association-entry>input[id^="collection_dynamic_new_name_"]{flex-basis:100%;margin-top:5px}.quick-add-single-btn{width:100%;display:block;margin-bottom:15px}#quick-add-collection-form-container{margin-bottom:20px}.artist-entry .floating-remove-btn,.collection-association-entry .floating-remove-btn{font-size:18px;font-weight:700;color:#dc3545;background:none;border:none;padding:0 8px;cursor:pointer;position:absolute;right:-30px;top:44%;transform:translateY(-50%)}.artist-entry>select,.collection-association-entry>select{min-width:200px}.artist-entry>input[type="number"],.collection-association-entry>input[type="number"]{width:80px}.collection-association-entry .collection-select-dropdown{margin-bottom:0}.collection-association-entry .catalog_number_input{width:calc(100% - 90px)!important}.quick-add-collection-row{display:flex;gap:10px;margin-bottom:15px}#quick-add-remove-collection-form-container{display:none;margin-bottom:20px}#quick-add-remove-collection-form-container select{min-width:200px}#quick-remove-collection-msg{text-align:center;margin:20px auto 0}#work-collections-associations{scroll-margin-top:80px}.delete-container{margin-top:70px!important}.delete-button{font-size:var(--site-text);font-weight:700;padding:12px 24px;color:var(--color-light);background-color:#bd2130;border:3px solid #bd2130;cursor:pointer;transition:all 0.2s ease;-webkit-transition:all 0.2s ease;-moz-transition:all 0.2s ease;-ms-transition:all 0.2s ease;-o-transition:all 0.2s ease;text-decoration:none}.delete-button:visited{color:var(--color-light)}.delete-button:hover{background-color:#fff;color:#bd2130}.current-file-display{max-width:none!important}.flex-center{display:flex;align-items:center;justify-content:center}.audio-file{display:block;width:100%;max-width:400px;margin:-10px auto 20px}.remove-file-btn{font-size:18px!important;font-weight:bold!important;color:#dc3545!important;background:none;border:none!important;padding:0 8px!important;cursor:pointer!important}.remove-message{display:inline;color:red;font-size:.9em;margin-left:5px;text-align:center;margin-bottom:15px}.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgb(0 0 0 / .7);z-index:1000;justify-content:center;align-items:center}.modal-container{background-color:#fff;width:90%;max-width:500px;padding:30px;border-radius:8px;box-shadow:0 5px 15px rgb(0 0 0 / .3);position:relative;animation:modalFadeIn 0.3s}@keyframes modalFadeIn{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{margin-bottom:20px;text-align:center}.modal-header h2{color:#d9534f;margin:0;font-size:24px}.modal-body{margin-bottom:20px}.modal-body p{font-size:16px;line-height:1.6;margin:10px 0}.modal-body .warning{font-weight:700;color:#d9534f}.modal-footer{display:flex;justify-content:center;gap:15px}.work-body p{text-align:center;margin-bottom:20px;font-size:18px;max-width:600px}.remove-work-button-container{display:flex;justify-content:center;gap:15px;margin-top:20px}.action-button{font-size:var(--site-text);font-weight:700;padding:12px 24px;color:var(--color-dark);background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;cursor:pointer;transition:all 0.2s ease;text-decoration:none;display:inline-block}.action-button:hover{background-color:var(--color-dark);color:var(--color-light)}.delete-button{background-color:#bd2130!important;border-color:#bd2130!important;color:white!important}.delete-button:hover{background-color:white!important;color:#bd2130!important}#deleteForm{margin-bottom:0px!important}.remove-work-details{background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;padding:20px;margin:20px 0;max-width:800px}.remove-work-details p{margin:8px 0;line-height:1.5;text-align:left}.remove-work-details p strong{display:inline-block;color:#333}.warning{color:#d9534f;font-weight:700}.success-message.work-body{background-color:#dff0d8;color:#3c763d;border:1px solid #d6e9c6;border-radius:4px;padding:15px;margin-bottom:20px;text-align:center;width:100%;max-width:600px}.error-message.work-body{background-color:#f2dede;color:#a94442;border:1px solid #ebccd1;border-radius:4px;padding:15px;margin-bottom:20px;text-align:center;width:100%;max-width:600px}.orphaned-items-section{margin-top:20px;padding:20px;border:2px solid var(--color-dark);border-radius:8px;background-color:#f3f3f3}.orphaned-items-section h2{color:var(--color-dark);margin-top:0}.orphaned-items-section p{color:var(--color-dark)}.orphaned-item{margin:15px 0;padding:15px;border:1px solid var(--color-dark);border-radius:5px;background-color:#bd2130!important}.orphaned-item p{margin:0 0 10px 0;color:#fff}.orphan-buttons{display:flex;justify-content:center;gap:10px}.orphan-buttons .action-button{padding:8px 16px;font-size:14px;width:50%}.orphan-delete-btn{background-color:white!important;border-color:#820000!important;color:#820000!important}.orphan-delete-btn:hover{background-color:#820000!important;border-color:#820000!important;color:white!important}.orphan-keep-btn{background-color:var(--color-dark);border-color:var(--color-dark);color:var(--color-light)}.orphan-keep-btn:hover{background-color:var(--color-light);border-color:var(--color-dark);color:var(--color-dark)}@media screen and (max-width:768px){.work-body{padding:20px 5%}.artist-entry{flex-direction:column;gap:5px;width:95%}.artist-select-dropdown{margin-bottom:0}.collection-association-entry{gap:5px;width:95%}.collection-association-entry .catalog_number_input{width:calc(100% - 85px)!important}.remove-work-button-container{flex-direction:column;width:100%;max-width:300px}.action-button{margin-bottom:10px;text-align:center}.modal-container{width:80%;padding:20px}}@media screen and (max-width:480px){.work-body h1{font-size:24px}.work-body input[type=text],.work-body input[type=number],.work-body select{font-size:16px}}.borrowing-agreement-form-error.hidden{display:none!important}.borrowing-agreement-form-error{color:#dc3545;font-size:.9em;margin-top:5px;text-align:center}.borrowing-agreement-form-error:not(:empty){display:block!important}.borrowing-notice{background-color:#f8f9fa;border:3px solid var(--color-dark);border-radius:8px;padding:20px;margin:20px 0 30px 0;box-shadow:0 2px 4px rgb(0 0 0 / .1)}.borrowing-notice h3{color:var(--color-dark);margin-top:0;margin-bottom:15px;font-size:1.2em}.borrowing-notice p{margin-bottom:10px;line-height:1.6}.borrowing-notice p:last-child{margin-bottom:0}.borrowing-notice strong{color:var(--color-dark)}#work-items{margin-bottom:20px}.borrowing-work-item{border:3px solid var(--color-dark);border-radius:8px;padding:20px;margin-bottom:20px;background-color:#f9f9f9;position:relative}.borrowing-work-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid rgb(0 0 0 / .1)}.borrowing-work-item-header h3{color:var(--color-dark);margin:0;font-size:1.1em}.remove-work-btn{background-color:#dc3545;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:.9em;transition:background-color 0.2s ease}.remove-work-btn:hover{background-color:#c82333}.work-search-container{position:relative;margin-bottom:15px}.work-search-input{font-size:var(--form-input-text);font-weight:700;width:100%;padding:12px;color:var(--color-dark);background-color:var(--color-light);border:3px solid var(--color-dark);border-radius:4px;box-sizing:border-box;height:var(--form-input-height);margin-bottom:10px;box-shadow:var(--site-shadow)}.work-search-input.error-state{background-color:Yellow!important}.borrowing-work-item #work-error-0,.borrowing-work-item #work-error-1,.borrowing-work-item #work-error-2,.borrowing-work-item #work-error-3,.borrowing-work-item #work-error-4,.borrowing-work-item #work-error-5,.borrowing-work-item #work-error-6,.borrowing-work-item #work-error-7,.borrowing-work-item #work-error-8,.borrowing-work-item #work-error-9,.borrowing-work-item .error-message{color:#dc3545;font-size:.9em;margin-top:5px;margin-bottom:10px;display:block}.work-search-container:has(.work-search-results:not(:empty)) .work-search-input,.work-search-container.has-results .work-search-input{margin-bottom:0}.work-search-input:focus{border:3px outset var(--color-dark);outline:none}.work-search-input::placeholder{color:rgb(0 0 0 / .6)}.work-search-results{position:absolute;top:100%;left:0;right:0;background-color:#fff;border:2px solid var(--color-dark);border-top:none;border-radius:0 0 4px 4px;max-height:300px;overflow-y:auto;z-index:1000;box-shadow:0 4px 6px rgb(0 0 0 / .1)}.work-search-result{padding:12px;border-bottom:1px solid #eee;cursor:pointer;transition:background-color 0.2s ease}.work-search-result:hover{background-color:#f8f9fa}.work-search-result:last-child{border-bottom:none}.work-search-result.unavailable{background-color:#f8f8f8;color:#6c757d;cursor:not-allowed}.work-search-result.already-selected{background-color:#fff3cd;color:#856404;cursor:not-allowed}.work-search-result.insufficient-copies{background-color:#f1f1f1;color:#6c757d;cursor:not-allowed;opacity:.7}.work-search-result.insufficient-copies:hover{background-color:#e0e0e0}.work-search-result.insufficient-copies .work-search-result-availability.not-available{color:#dc3545;font-weight:700}.work-search-result-title{font-weight:700;color:var(--color-dark);margin-bottom:4px}.work-search-result-composer{color:#666;font-size:.9em;margin-bottom:4px}.work-search-result-catalog{color:#888;font-size:.8em;margin-bottom:4px}.work-search-result-availability{font-size:.85em;font-weight:700}.work-search-result-availability.available{color:#28a745}.work-search-result-availability.not-available{color:#dc3545}.work-search-spinner{position:absolute;right:12px;top:12px;display:flex;align-items:center}.work-search-spinner img{animation:spin 1s linear infinite}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.work-details{background-color:#e9ecef;border:1px solid #dee2e6;border-radius:4px;padding:15px;margin-bottom:10px}.work-details-item{display:flex;margin-bottom:8px}.work-details-item:last-child{margin-bottom:0}.work-details-label{font-weight:700;color:var(--color-dark);width:120px;flex-shrink:0}.work-details-label::after{content:""}.waiting-for-search,.searching-status,.no-results,.work-search-error{padding:12px;text-align:center;color:#666;font-style:italic}.work-search-error{color:#dc3545;background-color:#f8d7da}.borrow-button-container{text-align:center;margin:20px 0}#add-work-btn{font-size:var(--site-text);font-weight:700;color:var(--color-dark);background-color:var(--color-light);padding:12px 24px;border:3px solid var(--color-dark);border-radius:4px;cursor:pointer;transition:all 0.2s ease;display:inline-flex;align-items:center;gap:8px}#add-work-btn:hover{background-color:var(--color-dark);color:var(--color-light)}#add-work-btn:disabled{background-color:#f8f9fa;color:#6c757d;border-color:#dee2e6;cursor:not-allowed}.work-count{font-size:.9em;font-weight:400;opacity:.8}.borrowing-works-help{color:#666;font-size:.95em;margin-bottom:20px;text-align:center;font-style:italic}.borrowing-agreement-subtitle{color:var(--color-dark);margin-top:30px;margin-bottom:15px;font-size:1.3em;border-bottom:2px solid var(--color-dark);padding-bottom:8px}@media screen and (max-width:768px){.borrowing-work-item{padding:15px}.work-search-results{max-height:200px}.work-details-item{flex-direction:column}.work-details-label{width:auto;margin-bottom:4px}}@media screen and (max-width:480px){.borrowing-notice{padding:15px;margin:15px 0 20px 0}.borrowing-notice h3{font-size:1.1em}.borrowing-work-item{padding:12px}.work-search-input{font-size:16px}}.overdue-badge{background-color:#dc3545;color:#fff;padding:4px 8px;border-radius:4px;font-size:.8em;font-weight:700;margin-left:10px}.due-soon-badge{background-color:#ffc107;color:#212529;padding:4px 8px;border-radius:4px;font-size:.8em;font-weight:700;margin-left:10px}#ajax-message,#ajax-message-bottom{width:fit-content;margin:0 auto;font-size:16px}