body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
}

h1 {
    margin-bottom: 20px;
    color: #2563eb;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

h2 {
    color: #374151;
    margin-bottom: 16px;
}

section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background: #fafafa;
}

input[type="text"], input[type="password"], input[type="file"] {
    padding: 12px;
    margin-right: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
}

input[type="file"] {
    width: auto;
    padding: 8px;
}

button {
    padding: 12px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

button:hover {
    background: #1d4ed8;
}

.msg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    white-space: pre-wrap;
    background: #f3f4f6;
}

.summary {
    margin-top: 20px;
    padding: 16px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    white-space: pre-wrap;
    line-height: 1.6;
}

#docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#docs-table th,
#docs-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

#docs-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

#docs-table tbody tr:hover {
    background: #f9fafb;
}

#docs-table button {
    padding: 6px 12px;
    margin: 0 4px;
    font-size: 12px;
}

.privacy-note {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
}

.privacy-note p {
    margin: 0;
}