/* Admin styles for AutoPost AI */

/* Arrow animation for both accordions */
.autopost-accordion-arrow {
    transition: transform 0.2s ease-in-out;
}

/* Rotated arrow for main accordion */
.autopost-openai-settings-header .autopost-main-accordion-arrow.rotated {
    transform: rotate(180deg);
}

/* Rotated arrow for instructions accordion (if used) */
.autopost-openai-instructions-header .autopost-accordion-arrow.rotated {
    transform: rotate(180deg);
}

/* Optional enhancements */
#autopost-ai-suggestions li,
#autopost-ai-queue li {
    margin: 6px 0;
    line-height: 1.6;
}

#autopost-ai-queue .remove-topic,
#autopost-ai-suggestions .add-topic {
    margin-left: 10px;
}

#autopost-ai-loading {
    font-style: italic;
    color: #666;
    padding-left: 2px;
}

.autopost-accordion-heading {
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
}

.autopost-accordion-heading .autopost-heading-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.autopost-accordion-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.autopost-accordion-heading.active {
    color: #007cba;
}

.autopost-accordion-body {
    padding: 12px 0;
}



.autopost-ai-pro-notice {
    padding-top: 10px;
    padding-bottom: 10px;
}

.autopost-ai-pro-notice h2 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.autopost-ai-pro-notice p {
    margin: 8px 0;
}

.autopost-ai-pro-notice ul {
    margin: 8px 0 10px 18px;
    list-style: disc;
}

.autopost-ai-pro-notice-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.autopost-ai-pro-notice-link {
    text-decoration: none;
}

.autopost-ai-go-pro-wrap {
    max-width: 1080px;
}

.autopost-ai-go-pro-hero,
.autopost-ai-go-pro-card,
.autopost-ai-go-pro-footer {
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-sizing: border-box;
}

.autopost-ai-go-pro-hero {
    padding: 24px;
    margin-bottom: 18px;
}

.autopost-ai-go-pro-eyebrow {
    margin: 0 0 6px;
    color: #2271b1;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.autopost-ai-go-pro-hero h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.autopost-ai-go-pro-hero p {
    max-width: 860px;
    font-size: 14px;
    line-height: 1.6;
}

.autopost-ai-go-pro-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 0;
}

.autopost-ai-go-pro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.autopost-ai-go-pro-card {
    padding: 18px;
}

.autopost-ai-go-pro-card h3 {
    margin: 0 0 8px;
}

.autopost-ai-go-pro-card p {
    margin: 0;
    line-height: 1.55;
}

.autopost-ai-go-pro-heading {
    margin-top: 24px;
}

.autopost-ai-go-pro-table th,
.autopost-ai-go-pro-table td {
    padding: 10px 12px;
}

.autopost-ai-go-pro-table th:nth-child(2),
.autopost-ai-go-pro-table th:nth-child(3),
.autopost-ai-go-pro-table td:nth-child(2),
.autopost-ai-go-pro-table td:nth-child(3) {
    text-align: center;
    width: 120px;
}

.autopost-ai-go-pro-footer {
    padding: 20px;
    margin-top: 18px;
}

.autopost-ai-go-pro-footer h3 {
    margin-top: 0;
}

@media screen and (max-width: 782px) {
    .autopost-ai-go-pro-grid {
        grid-template-columns: 1fr;
    }

    .autopost-ai-go-pro-actions .button {
        width: 100%;
        text-align: center;
    }
}

