.setup-alert-collapsible {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.setup-alert-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-secondary, #6b7280);
}

.setup-alert-summary::-webkit-details-marker {
    display: none;
}

.setup-alert-summary::marker {
    display: none;
    content: "";
}

.setup-alert-icon {
    color: #d97706;
    flex-shrink: 0;
}

.setup-alert-text {
    flex: 1;
}

.setup-alert-chevron {
    transition: transform 0.2s ease;
    color: var(--text-tertiary, #9ca3af);
    flex-shrink: 0;
}

.setup-alert-collapsible[open] .setup-alert-chevron {
    transform: rotate(180deg);
}

.setup-alert-content {
    padding: 0 1rem 1rem 2.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
}

.setup-alert-content p {
    margin: 0 0 0.75rem 0;
}

.setup-alert-content ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.25rem;
}

.setup-alert-content li {
    margin: 0.25rem 0;
}

.setup-alert-content .button {
    margin-top: 0.5rem;
}

/* Dismissible container */
.setup-alert-dismissible {
    position: relative;
}

.setup-alert-dismiss-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-tertiary, #9ca3af);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.setup-alert-dismissible:hover .setup-alert-dismiss-btn,
.setup-alert-dismiss-btn:focus {
    opacity: 1;
}

.setup-alert-dismiss-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary, #374151);
}

.setup-alert-dismiss-btn:focus {
    outline: 2px solid var(--focus-ring-color, #6366f1);
    outline-offset: 2px;
}

/* Adjust summary padding when dismissible to avoid overlap with dismiss button */
.setup-alert-dismissible .setup-alert-summary {
    padding-right: 2.5rem;
}
