/**
 * WP Auto Post Admin & Preview Stylesheet
 * 100% Pure Custom CSS (No external libraries or frameworks)
 * All selectors scoped with .wpAutoPost prefix
 */

/* General Container */
.wpAutoPostWrap {
    margin: 20px 20px 40px 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
}

/* Header Area */
.wpAutoPostHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.wpAutoPostPageTitle {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    padding: 0;
}

.wpAutoPostPageSubtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.wpAutoPostHeaderActions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Custom Buttons */
.wpAutoPostBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    line-height: 1.4;
}

.wpAutoPostBtnPrimary {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.wpAutoPostBtnPrimary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.wpAutoPostBtnSecondary {
    background: #ffffff;
    color: #334155;
    border-color: #cbd5e1;
}
.wpAutoPostBtnSecondary:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.wpAutoPostBtnSuccess {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}
.wpAutoPostBtnSuccess:hover {
    background: #047857;
    color: #ffffff;
}

.wpAutoPostBtnInfo {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
.wpAutoPostBtnInfo:hover {
    background: #0369a1;
    color: #ffffff;
}

.wpAutoPostBtnDanger {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}
.wpAutoPostBtnDanger:hover {
    background: #b91c1c;
    color: #ffffff;
}

.wpAutoPostBtnLarge {
    padding: 12px 28px;
    font-size: 15px;
}

/* Notices / Alerts */
.wpAutoPostNoticeBox {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.wpAutoPostNoticeSuccess {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.wpAutoPostNoticeError {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.wpAutoPostNoticeInfo {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Statistics Grid */
.wpAutoPostStatsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.wpAutoPostStatCard {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wpAutoPostStatIcon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.wpAutoPostIconBlue   { background: #eff6ff; color: #2563eb; }
.wpAutoPostIconGreen  { background: #ecfdf5; color: #059669; }
.wpAutoPostIconPurple { background: #f5f3ff; color: #7c3aed; }
.wpAutoPostIconOrange { background: #fff7ed; color: #ea580c; }

.wpAutoPostStatDetails {
    display: flex;
    flex-direction: column;
}

.wpAutoPostStatLabel {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 4px;
}

.wpAutoPostStatNumber {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}
.wpAutoPostStatSmallText {
    font-size: 14px;
    font-weight: 600;
}

/* Cards */
.wpAutoPostCard {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    overflow: hidden;
}

.wpAutoPostCardHeader {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.wpAutoPostCardTitle {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpAutoPostCardBody {
    padding: 24px;
}

/* Tables */
.wpAutoPostTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
.wpAutoPostTable th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.wpAutoPostTable td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}
.wpAutoPostTable tr:hover td {
    background: #fafafa;
}

/* Badges */
.wpAutoPostBadge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.wpAutoPostBadgeGreen  { background: #d1fae5; color: #065f46; }
.wpAutoPostBadgeYellow { background: #fef3c7; color: #92400e; }
.wpAutoPostBadgeRed    { background: #fee2e2; color: #991b1b; }
.wpAutoPostBadgeBlue   { background: #dbeafe; color: #1e40af; }
.wpAutoPostBadgePurple { background: #ede9fe; color: #5b21b6; }
.wpAutoPostBadgeGray   { background: #f1f5f9; color: #475569; }

/* Links & Buttons in Table */
.wpAutoPostPostLink {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}
.wpAutoPostPostLink:hover {
    color: #2563eb;
}
.wpAutoPostActionBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 6px;
}
.wpAutoPostActionBtn:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.wpAutoPostActionBtnPreview {
    background: #ede9fe;
    color: #5b21b6;
}
.wpAutoPostActionBtnPreview:hover {
    background: #ddd6fe;
    color: #4338ca;
}
.wpAutoPostLink {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

/* Forms */
.wpAutoPostFormGroup {
    margin-bottom: 20px;
}
.wpAutoPostFormRow {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.wpAutoPostColHalf {
    flex: 1 1 calc(50% - 10px);
    min-width: 250px;
}
.wpAutoPostLabel {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}
.wpAutoPostRequired {
    color: #dc2626;
}
.wpAutoPostInput, .wpAutoPostSelect, .wpAutoPostTextarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.wpAutoPostInput:focus, .wpAutoPostSelect:focus, .wpAutoPostTextarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.wpAutoPostTextarea {
    font-family: monospace;
    font-size: 12px;
}
.wpAutoPostHelp {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    margin-bottom: 0;
}
.wpAutoPostRadioGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}
.wpAutoPostRadioLabel, .wpAutoPostCheckboxLabel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}
.wpAutoPostFormSubmit {
    margin-top: 28px;
}

/* Feature Check List */
.wpAutoPostFeatureList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}
.wpAutoPostFeatureItem {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #334155;
}
.wpAutoPostGreen {
    color: #059669;
}

/* Empty State */
.wpAutoPostEmptyState {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}
.wpAutoPostEmptyState .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: #94a3b8;
}

/* Spin animation */
.wpAutoPostSpin {
    animation: wpAutoPostSpinAnim 1.2s infinite linear;
}
@keyframes wpAutoPostSpinAnim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Utilities */
.wpAutoPostHidden {
    display: none !important;
}

/* Timing & Scheduling Section */
.wpAutoPostTimingSection {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}
.wpAutoPostTimingModeGroup {
    margin-bottom: 14px;
}
.wpAutoPostTimingRow {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 20px;
    margin-top: 12px;
}
.wpAutoPostStaggeredHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 14px;
}
.wpAutoPostStaggeredList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wpAutoPostStaggeredItem {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    flex-wrap: wrap;
    transition: border-color 0.2s;
}
.wpAutoPostStaggeredItem:hover {
    border-color: #cbd5e1;
}
.wpAutoPostStaggeredBadge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}
.wpAutoPostStaggeredInputs {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
}
.wpAutoPostStaggeredCol {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}
.wpAutoPostSubLabel {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    min-width: 36px;
}
.wpAutoPostDateInputGroup {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 100%;
}
.wpAutoPostDateInputGroup .wpAutoPostInput {
    padding-right: 30px;
    width: 100%;
}
.wpAutoPostDateClearBtn {
    position: absolute;
    right: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}
.wpAutoPostDateClearBtn:hover {
    color: #ef4444;
    background-color: #fee2e2;
}

/* ====================================================
   PREVIEW MODAL STYLING
   ==================================================== */
.wpAutoPostModalBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wpAutoPostModalBackdrop.wpAutoPostModalActive {
    opacity: 1;
    visibility: visible;
}

.wpAutoPostModalContainer {
    background: #ffffff;
    width: 100%;
    max-width: 1050px;
    height: 90vh;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid #cbd5e1;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wpAutoPostModalBackdrop.wpAutoPostModalActive .wpAutoPostModalContainer {
    transform: translateY(0) scale(1);
}

/* Sync Result Modal Specific Styles */
.wpAutoPostSyncModalContainer {
    max-width: 840px;
    height: auto;
    max-height: 88vh;
}

.wpAutoPostSyncModalBody {
    padding: 22px 26px;
    overflow-y: auto;
    max-height: calc(88vh - 140px);
}

.wpAutoPostSyncTitleIcon {
    font-size: 22px;
    color: #2563eb;
    margin-right: 6px;
}

.wpAutoPostSyncMetricGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.wpAutoPostSyncMetricCard {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wpAutoPostSyncMetricCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.wpAutoPostSyncMetricCardPurple {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.wpAutoPostSyncMetricCardGreen {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.wpAutoPostSyncMetricCardBlue {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.wpAutoPostSyncMetricNum {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 4px;
}

.wpAutoPostSyncMetricCardPurple .wpAutoPostSyncMetricNum {
    color: #6d28d9;
}

.wpAutoPostSyncMetricCardGreen .wpAutoPostSyncMetricNum {
    color: #059669;
}

.wpAutoPostSyncMetricCardBlue .wpAutoPostSyncMetricNum {
    color: #2563eb;
}

.wpAutoPostSyncMetricLabel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.wpAutoPostSyncBanner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13.5px;
    line-height: 1.5;
}

.wpAutoPostSyncBanner .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.wpAutoPostSyncBannerTitle {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 14.5px;
}

.wpAutoPostSyncBannerDesc {
    margin: 0;
}

.wpAutoPostSyncTableSection {
    margin-top: 16px;
}

.wpAutoPostSyncTableTitle {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wpAutoPostSyncTableWrapper {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.wpAutoPostSyncTable {
    margin: 0;
    border: none;
    width: 100%;
}

.wpAutoPostSyncTable th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
}
    overflow: hidden;
}

.wpAutoPostModalHeader {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.wpAutoPostModalTitleArea {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wpAutoPostModalTitle {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}
.wpAutoPostModalCloseBtn {
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}
.wpAutoPostModalCloseBtn:hover {
    color: #0f172a;
}

.wpAutoPostModalNavTabs {
    display: flex;
    background: #f1f5f9;
    padding: 8px 18px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 8px;
    overflow-x: auto;
}
.wpAutoPostModalTabBtn {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    color: #475569;
    transition: all 0.2s;
}
.wpAutoPostModalTabBtn.active {
    background: #ffffff;
    color: #2563eb;
    border-color: #cbd5e1;
    border-bottom-color: #ffffff;
}

.wpAutoPostModalBody {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #ffffff;
}
.wpAutoPostModalLoading {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}
.wpAutoPostModalLoading .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.wpAutoPostModalFooter {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.wpAutoPostModalFooterRight {
    display: flex;
    gap: 12px;
}

/* Rank Math SEO Box in Preview */
.wpAutoPostSeoPreviewBox {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 24px;
}
.wpAutoPostSeoPreviewHeader {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wpAutoPostGoogleSnippet {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}
.wpAutoPostSnippetUrl {
    font-size: 12px;
    color: #202124;
    margin-bottom: 3px;
}
.wpAutoPostSnippetTitle {
    font-size: 18px;
    color: #1a0dab;
    text-decoration: underline;
    font-weight: 500;
    margin-bottom: 4px;
}
.wpAutoPostSnippetDesc {
    font-size: 13px;
    color: #4d5156;
    line-height: 1.5;
}
.wpAutoPostSeoMetaRow {
    font-size: 12px;
    color: #334155;
    margin-top: 6px;
}

/* ====================================================
   FRONTEND / PREVIEW ARTICLE COMPONENTS STYLES
   ==================================================== */
.wpAutoPostAffiliateNotice {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    font-size: 13px;
    color: #92400e;
    border-radius: 4px;
    margin-bottom: 20px;
}

.wpAutoPostLead {
    font-size: 17px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 24px;
}

.wpAutoPostVerdictBox {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
}
.wpAutoPostVerdictTitle {
    margin-top: 0;
    color: #166534;
    font-size: 18px;
}
.wpAutoPostVerdictList {
    margin: 0;
    padding-left: 20px;
}
.wpAutoPostVerdictList li {
    margin-bottom: 6px;
    color: #14532d;
    font-size: 14px;
}

.wpAutoPostTableResponsive {
    overflow-x: auto;
    margin-bottom: 28px;
}
.wpAutoPostBody {
    font-size: 15px;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 28px;
}
.wpAutoPostFigure {
    margin: 24px 0;
    text-align: center;
}
.wpAutoPostImg {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.wpAutoPostFigCaption {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

.wpAutoPostProsConsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.wpAutoPostProsCard {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 18px;
}
.wpAutoPostProsTitle {
    color: #15803d;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
}
.wpAutoPostConsCard {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 18px;
}
.wpAutoPostConsTitle {
    color: #b91c1c;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
}

.wpAutoPostGuideBox {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
}
.wpAutoPostGuideTitle {
    margin-top: 0;
    font-size: 18px;
    color: #0f172a;
}
.wpAutoPostStepList {
    margin: 0;
    padding-left: 20px;
}
.wpAutoPostStepList li {
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
}

.wpAutoPostCtaSection {
    text-align: center;
    margin: 32px 0;
}
.wpAutoPostCtaButton {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, background 0.2s;
}
.wpAutoPostCtaButton:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.wpAutoPostFaqBlock {
    margin-bottom: 32px;
}
.wpAutoPostFaqTitle {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 18px;
}
.wpAutoPostFaqAccordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wpAutoPostFaqItem {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.wpAutoPostFaqItem:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.wpAutoPostFaqItem.wpAutoPostFaqActive {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.1);
}
.wpAutoPostFaqTrigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    transition: background-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}
.wpAutoPostFaqTrigger:hover {
    background-color: #f8fafc;
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqTrigger {
    background-color: #eff6ff;
}
.wpAutoPostFaqQ {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    transition: color 0.2s ease;
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqQ {
    color: #1d4ed8;
}
.wpAutoPostFaqIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.wpAutoPostFaqItem:hover .wpAutoPostFaqIcon {
    background: #e2e8f0;
    color: #334155;
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqIcon {
    background: #dbeafe;
    color: #2563eb;
}
.wpAutoPostFaqSvg {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqSvg {
    transform: rotate(180deg);
}
.wpAutoPostFaqCollapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqCollapse {
    grid-template-rows: 1fr;
}
.wpAutoPostFaqContent {
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.35s ease;
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqContent {
    opacity: 1;
    transform: translateY(0);
}
.wpAutoPostFaqA {
    padding: 0 20px 18px 20px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    border-top: 1px solid transparent;
}
.wpAutoPostFaqItem.wpAutoPostFaqActive .wpAutoPostFaqA {
    border-top-color: #dbeafe;
    padding-top: 14px;
}

.wpAutoPostFinalVerdictBox {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
}
.wpAutoPostFinalVerdictTitle {
    margin-top: 0;
    color: #1e40af;
    font-size: 18px;
}

.wpAutoPostFeaturedFigure {
    margin: 20px 0 28px 0;
    text-align: center;
}
.wpAutoPostFeaturedImg {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

/* Dynamic Category Auto-Publish UI */
.wpAutoPostCategoryModeInfo {
    margin-bottom: 12px;
}
.wpAutoPostCategoryBadge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
}
.wpAutoPostCategoryHelp {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}
.wpAutoPostFallbackLabel {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #334155;
}


