* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: -apple-system, sans-serif; background: #f5f5f5; min-height: 100vh; }
.screen { display: none; padding: 16px; max-width: 100%; margin: 0 auto; box-sizing: border-box; }
.screen.active { display: block; }
h1 { font-size: 24px; margin-bottom: 8px; }
p { color: #666; margin-bottom: 24px; }
.card { background: white; border-radius: 16px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.btn { width: 100%; padding: 16px; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; margin-bottom: 10px; }
.btn-primary { background: #000; color: white; }
.btn-outline { background: white; border: 1.5px solid #000; color: #000; }
.locker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.locker { aspect-ratio: 1; border-radius: 8px; border: 1.5px solid #ddd; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; cursor: pointer; }
.locker.free { background: #f0fff4; border-color: #86efac; color: #16a34a; }
.locker.occupied { background: #fff1f2; border-color: #fca5a5; color: #dc2626; }
.locker.selected { background: #000; color: white; border-color: #000; }
.size-btn { flex: 1; padding: 10px; border: 1.5px solid #ddd; border-radius: 8px; background: white; font-size: 14px; cursor: pointer; }
.size-btn.active { background: #000; color: white; border-color: #000; }
.row { display: flex; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: #f0fff4; color: #16a34a; margin-bottom: 16px; }
input { width: 100%; padding: 14px; border: 1.5px solid #ddd; border-radius: 10px; font-size: 16px; margin-bottom: 12px; }
.price { font-size: 28px; font-weight: 700; text-align: center; padding: 12px 0; }
.error { color: #dc2626; font-size: 14px; margin-bottom: 12px; }
.lang-bar { position: fixed; top: 0; right: 0; padding: 10px 16px; display: flex; gap: 6px; z-index: 100; background: rgba(245,245,245,0.9); backdrop-filter: blur(4px); border-bottom-left-radius: 12px; }
.lang-btn { padding: 4px 10px; border: 1.5px solid #ddd; border-radius: 20px; background: white; font-size: 12px; cursor: pointer; font-weight: 500; }
.lang-btn.active { background: #000; color: white; border-color: #000; }
@media (max-width: 480px) {
  body { background: white; }
  .card { border-radius: 12px; padding: 16px; }
  .btn { padding: 14px; font-size: 15px; }
  .locker-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .lang-bar { padding: 8px 12px; }
  .price { font-size: 24px; }
  h1 { font-size: 22px; }
  .row { flex-wrap: wrap; }
  .size-btn { min-width: calc(33% - 6px); }
}
.size-wrapper { position: relative; flex: 1; display: flex; flex-direction: column; }
.size-wrapper .size-btn { width: 100%; flex: 1; }
.size-tooltip { display: none; position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%); background: #1a1a1a; color: white; padding: 8px 12px; border-radius: 8px; font-size: 12px; white-space: nowrap; z-index: 10; pointer-events: none; }
.size-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #1a1a1a; }
.size-wrapper:hover .size-tooltip { display: block; }
