body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9fafb;
    color: #333;
}

.container {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 1.5rem;
    margin-top: 0;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

.code-inline {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95em;
}

input[type="file"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    min-height: 150px;
    font-family: monospace;
    line-height: 1.45;
    resize: vertical;
}

textarea::placeholder {
    color: #9ca3af;
}

textarea:focus,
select:focus,
input[type="file"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.field-hint {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.82rem;
    color: #6b7280;
    word-break: break-word;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background-color: #005bb5;
}

button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

#result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    font-weight: bold;
    word-wrap: break-word;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.privacy-note {
    margin-top: 24px;
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.45;
}

.privacy-note p {
    margin: 0;
}

.privacy-note p + p {
    margin-top: 14px;
}

.privacy-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.privacy-text {
    display: block;
}

.privacy-continuation {
    display: block;
}

.privacy-icon {
    color: #6b7280;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.privacy-note a {
    color: inherit;
}

.is-hidden {
    display: none;
}
