/* Geoffrey 2.0 — Custom Styles */

/* Navigation active state */
nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Search results dropdown */
.search-results {
    position: absolute;
    z-index: 100;
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid var(--pico-muted-border-color);
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: var(--pico-primary-hover-background);
    color: var(--pico-primary-inverse);
}

/* Muted text */
.muted {
    color: var(--pico-muted-color);
    font-style: italic;
}

/* Position table */
#positions-table input[type="text"],
#positions-table input[type="number"],
#positions-table select {
    margin-bottom: 0;
    padding: 0.3rem 0.5rem;
}

#positions-table td {
    vertical-align: top;
    position: relative;
}

/* Article search within table cell */
#positions-table .search-results {
    min-width: 400px;
}

/* Progress steps */
#progress-steps li,
#upload-steps li {
    padding: 0.25rem 0;
}

#progress-steps li::marker,
#upload-steps li::marker {
    content: "✓ ";
    color: var(--pico-ins-color);
}

/* Result area */
#result-content {
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.6;
}

/* Strategie text */
.strategie-text {
    white-space: pre-wrap;
    line-height: 1.6;
}

/* Remove button in position rows */
.btn-remove {
    background: none;
    border: none;
    color: var(--pico-del-color);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
}

.btn-remove:hover {
    color: var(--pico-color-red-600);
}
