body {
    margin: 0;
    background: #f5f7fa;
    font-family: system-ui, -apple-system, sans-serif;
    color: #1f2937;
    min-height: 100vh;
}

header {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    main {
        grid-template-columns: 1fr;
    }
}

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 600;
}

label {
    font-size: 0.85rem;
    color: #6b7280;
    display: block;
    margin-top: 0.6rem;
}

input,
select,
button {
    width: 100%;
    padding: 0.45rem;
    margin-top: 0.25rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

button {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 0.75rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-1px);
    background: #1d4ed8;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
}

button.secondary {
    background: transparent;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

button.secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

button.danger {
    background: #ef4444;
}

button.danger:hover {
    background: #dc2626;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.artifact {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fafafa;
    transition: border-color 0.2s;
}

.artifact:hover {
    border-color: #9ca3af;
}

.artifact-header {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    min-height: 350px;
    overflow: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    line-height: 1.6;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.example-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.example-section h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 600;
}

.example-section pre {
    margin: 0;
    min-height: auto;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 0.75rem;
}

.example-section button {
    background: #6b7280;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    margin-top: 0.5rem;
}

.example-section button:hover {
    background: #4b5563;
    box-shadow: 0 4px 8px rgba(107, 114, 128, 0.25);
}

/* Repositories Section */
.repos-section {
    background: #ffffff;
    padding: 2rem 1.5rem 3rem;
    margin-top: 1.5rem;
}

.repos-container {
    max-width: 1600px;
    margin: 0 auto;
}

.repos-container h2 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}

.repos-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

#repositories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.repo-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.repo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.repo-name {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    font-size: 1rem;
}

.repo-name:hover {
    text-decoration: underline;
}

.repo-language {
    font-size: 0.75rem;
    color: #6b7280;
    background: #e5e7eb;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.repo-description {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0.5rem 0;
    min-height: 3rem;
}

.repo-releases {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.repo-releases:hover {
    text-decoration: underline;
}
