﻿body { font-family: -apple-system, Arial, sans-serif; max-width: 720px; margin: 40px auto; padding: 0 16px; color: #1e293b; }
h1 { font-size: 20px; }
h2 { font-size: 16px; margin-top: 32px; border-bottom: 1px solid #e2e8f0; padding-bottom: 6px; }
.card { border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.progress-bg { background: #f1f5f9; border-radius: 6px; height: 10px; overflow: hidden; margin: 8px 0; }
.progress-bar { background: #4361ee; height: 100%; width: 0%; transition: width .2s; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; }
button { background: #4361ee; color: #fff; border: none; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; }
button:disabled { background: #cbd5e1; cursor: not-allowed; }
button.secondary { background: #64748b; }
button.white { background: white; color: black; }
input[type=file] { margin-bottom: 12px; }
.file-name { font-weight: 600; font-size: 14px; }
.status { font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.status.uploading { background: #fef3c7; color: #92400e; }
.status.processing { background: #dbeafe; color: #1e40af; }
.status.completed { background: #dcfce7; color: #166534; }
.status.failed { background: #fee2e2; color: #991b1b; }
#downloadList .card { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
#downloadList .card { flex-direction: column; align-items: stretch; }
.link-row { display: flex; gap: 8px; margin-top: 4px; }
.link-row input[type=text] { flex: 1; font-family: monospace; font-size: 12px; background: #f8fafc; }
select, input[type=text] { padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 13px; }
#tenantList .card { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
.tenant-form { display: flex; gap: 8px; margin-bottom: 12px; }
button.danger { background: #dc2626; }
.hint { font-size: 12px; color: #94a3b8; margin: 4px 0 12px 0; }
.btn {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    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;
}

.btn:hover {
    text-decoration: none;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}