* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f6f7f9; color: #17191c; }
a { color: inherit; }
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; }
header { margin-bottom: 28px; }
h1 { margin-bottom: 8px; }
.panel, .rental-card { background: white; border: 1px solid #dcdfe4; border-radius: 12px; padding: 20px; margin-top: 24px; }
.locker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.locker { min-height: 58px; border-radius: 9px; border: 1px solid #aeb4bc; font-size: 18px; font-weight: 700; cursor: pointer; color: #17191c; }
.locker.free { background: #b7ebc6; }
.locker.pending { background: #ffe58f; }
.locker.rented { background: #ffb3b3; }
.locker.ending { background: #ffd1a3; }
.locker:disabled { cursor: not-allowed; opacity: 1; }
.legend { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid #9fa5ad; }
.dot.free { background: #b7ebc6; }
.dot.pending { background: #ffe58f; }
.dot.rented { background: #ffb3b3; }
.dot.ending { background: #ffd1a3; }
form, .two-col { display: grid; gap: 14px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 6px; font-weight: 600; }
input { width: 100%; padding: 11px 12px; border: 1px solid #bfc4cb; border-radius: 8px; font: inherit; }
.checkbox { display: flex; grid-template-columns: auto 1fr; align-items: center; font-weight: 400; }
.checkbox input { width: auto; }
button { padding: 11px 15px; border: 0; border-radius: 8px; background: #17191c; color: white; font: inherit; font-weight: 700; cursor: pointer; }
button.secondary { background: #eceef1; color: #17191c; }
.hidden { display: none; }
.success { color: #19713c; font-weight: 700; }
.error { color: #a61b1b; font-weight: 700; }
.rentals { display: grid; gap: 14px; margin-top: 20px; }
.rental-card { display: flex; justify-content: space-between; gap: 20px; margin-top: 0; }
.actions { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.status-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.status-label { font-weight: 600; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(0,0,0,.16); font-size: 14px; font-weight: 700; line-height: 1.2; }
.badge.free, .badge.paid { background: #b7ebc6; }
.badge.pending { background: #ffe58f; }
.badge.rented, .badge.failed { background: #ffb3b3; }
.badge.ending { background: #ffd1a3; }
.badge.neutral { background: #eceef1; }
@media (max-width: 650px) { .two-col { grid-template-columns: 1fr; } .rental-card { flex-direction: column; } }
