/* AI Article Generator — Frontend Prompt Card */

.aiag-prompt-card {
    border: 1px solid #e2e2e2;
    border-radius: 16px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    background: #fff;
    transition: box-shadow .25s ease;
}
.aiag-prompt-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.12); }

/* ------------------------------------------------------------------ */
/*  TOP — Image                                                         */
/* ------------------------------------------------------------------ */

.aiag-card-image-zone {
    background: #f0f0f2;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e8e8e8;
}

.aiag-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.aiag-card-no-image {
    text-align: center;
    padding: 48px 24px;
    color: #c0c0c0;
}
.aiag-card-no-image .dashicons {
    font-size: 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: block;
    margin: 0 auto 12px;
}
.aiag-card-no-image p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
}

/* ------------------------------------------------------------------ */
/*  MIDDLE — Prompt Text                                                */
/* ------------------------------------------------------------------ */

.aiag-card-prompt-text {
    padding: 22px 26px;
    background: #fff;
}

.aiag-prompt-label {
    display: inline-block;
    background: #1a1a2e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.aiag-card-prompt-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* ------------------------------------------------------------------ */
/*  BOTTOM — Copy Button                                                */
/* ------------------------------------------------------------------ */

.aiag-card-footer {
    padding: 14px 26px;
    background: #f8f8f8;
    border-top: 1px solid #ebebeb;
    display: flex;
    justify-content: flex-end;
}

.aiag-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1a1a2e;
    color: #fff !important;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    transition: background .2s, transform .1s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(26,26,46,.2);
    line-height: 1;
}
.aiag-copy-btn:hover     { background: #16213e; box-shadow: 0 4px 14px rgba(26,26,46,.3); }
.aiag-copy-btn:active    { transform: scale(.97); }
.aiag-copy-btn.aiag-copied { background: #1b7a34; }
.aiag-copy-btn:disabled  { cursor: default; }
.aiag-copy-btn .dashicons { font-size: 16px !important; width: 16px !important; height: 16px !important; line-height: 1 !important; }

/* ------------------------------------------------------------------ */
/*  Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 600px) {
    .aiag-card-prompt-text { padding: 16px 18px; font-size: 14px; }
    .aiag-card-footer      { padding: 12px 18px; }
    .aiag-copy-btn         { width: 100%; justify-content: center; }
}

/* Heading for /pp block cards */
.aiag-card-heading {
    font-size: 15px;
    font-weight: 700;
    color: #4c1d95;
    padding: 10px 16px 0;
}
