* { box-sizing: border-box; }
body { font-family: -apple-system, Segoe UI, Roboto, sans-serif; margin: 0; background: #f4f5f7; color: #1f2328; }

.login-body { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-box { background: #fff; padding: 32px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.1); width: 280px; display: flex; flex-direction: column; gap: 10px; }
.login-box h1 { font-size: 18px; margin: 0 0 8px; }
.login-box input { padding: 10px; border: 1px solid #d0d5dd; border-radius: 6px; }
.login-box button { padding: 10px; background: #4f46e5; color: #fff; border: none; border-radius: 6px; cursor: pointer; }
.error { color: #b42318; font-size: 13px; }

.topbar { background: #fff; padding: 12px 24px; display: flex; justify-content: space-between; border-bottom: 1px solid #e4e7ec; }
.topbar a { color: #4f46e5; text-decoration: none; }

.container { max-width: 960px; margin: 24px auto; padding: 0 16px; }
.path-bar { margin-bottom: 16px; font-size: 14px; color: #667085; }
.path-bar a { color: #4f46e5; text-decoration: none; }

.notice { padding: 10px 14px; border-radius: 6px; margin-bottom: 12px; font-size: 14px; }
.notice.success { background: #ecfdf3; color: #027a48; }
.notice.error { background: #fef3f2; color: #b42318; }

.toolbar { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form input[type=text] { padding: 8px; border: 1px solid #d0d5dd; border-radius: 6px; }
.toolbar button { padding: 8px 14px; background: #4f46e5; color: #fff; border: none; border-radius: 6px; cursor: pointer; }

.file-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.file-table th, .file-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #f0f1f3; font-size: 14px; }
.file-table a { color: #1f2328; text-decoration: none; }
.file-table a:hover { text-decoration: underline; }
.file-table .empty { text-align: center; color: #98a2b3; padding: 32px; }
button.danger { background: #fff; color: #b42318; border: 1px solid #fda29b; padding: 4px 10px; border-radius: 6px; cursor: pointer; }
