/* Global styles */
body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
}

.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 300px 20px;
}

/* Alpha banner */
.alpha-banner {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    border-radius: 0;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    display: block;
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    margin: 10px 0;
}

button:hover {
    background-color: #0052a3;
}

textarea {
    font-family: monospace;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

input[type="text"], select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    width: 400px;
    max-width: 100%;
}

label {
    display: flex;
    align-items: center;
    gap: 8px;
}

label div p:first-child {
    margin-top: 0;
}

label div p:last-child {
    margin-bottom: 0;
}

.question {
    margin-bottom: 20px;
}

.back {
    display: block;
    margin-top: 20px;
}

#copy-feedback {
    display: none;
    color: green;
}

/* Collapsible sections */
details summary {
    cursor: pointer;
    list-style: none; /* Drop default marker */
    display: flex;
    align-items: center;
}

/* Drop default marker, webkit */
details summary::-webkit-details-marker {
    display: none;
}

details summary * {
    display: inline;
}

details summary::before {
    content: '▶';
    margin-right: 8px;
    transition: transform 0.2s;
}

details[open] summary::before {
    transform: rotate(90deg);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 5px 0;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}
