/**
 * WP Pinterest AI Auto Poster - Frontend Stylesheet
 */

/* In-Content Image Placeholder Box (Visible until real image is uploaded) */
.wppaip-image-placeholder-box {
    margin: 30px 0;
    padding: 20px;
    background: #fdfdfd;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

.wppaip-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.wppaip-badge {
    background: #e60023; /* Pinterest Red */
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
}

.wppaip-ratio-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.wppaip-pin-title {
    font-size: 15px;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.wppaip-prompt-container {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 10px 0;
}

.wppaip-prompt-container label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.wppaip-prompt-text {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 10px;
    font-style: italic;
}

.wppaip-copy-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wppaip-copy-btn:hover {
    background: #e60023;
}

.wppaip-alt-text {
    font-size: 12px;
    color: #64748b;
    margin: 8px 0 0 0;
}

/* Inserted Image Styling */
figure.wppaip-inserted-image {
    margin: 32px auto;
    text-align: center;
}

figure.wppaip-inserted-image img {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Pinterest Details Box at Bottom */
.wppaip-pinterest-box {
    margin: 40px 0 20px 0;
    background: #fff8f8;
    border: 2px solid #ffe4e6;
    border-left: 6px solid #e60023;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(230, 0, 35, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wppaip-pbox-header h3 {
    margin: 0 0 14px 0;
    font-size: 18px;
    color: #9f1239;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wppaip-prow {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #1f2937;
}

.wppaip-prow strong {
    color: #881337;
    margin-right: 6px;
}

.wppaip-tags {
    color: #e11d48;
    font-weight: 600;
}

.wppaip-tags-row {
    margin-bottom: 0;
}
