/* WP Post Automator Frontend Styles */

.wpa-puns-shortcode {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.wpa-puns-shortcode h4 {
    color: #495057;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.wpa-puns-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpa-pun-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.wpa-pun-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.wpa-pun-item:before {
    content: "😄";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 2px;
    border-radius: 50%;
    font-size: 16px;
}

.wpa-jokes-shortcode {
    background: #fff8e1;
    border: 1px solid #ffcc02;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.wpa-jokes-shortcode h4 {
    color: #f57c00;
    border-bottom: 2px solid #ff9800;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.wpa-jokes-list {
    display: grid;
    gap: 15px;
}

.wpa-joke-item {
    background: #fff;
    border: 1px solid #ffcc02;
    border-radius: 6px;
    padding: 15px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wpa-joke-item:before {
    content: "😂";
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 18px;
}

.wpa-generated-post {
    position: relative;
}

.wpa-generated-badge {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.wpa-content-sections h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.wpa-content-sections ul {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.wpa-content-sections li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    line-height: 1.6;
}

.wpa-content-sections li:last-child {
    border-bottom: none;
}

.wpa-reading-time {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.wpa-topic-tag {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.wpa-topic-tag:hover {
    background: #2e7d32;
    color: white;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wpa-puns-shortcode,
    .wpa-jokes-shortcode {
        padding: 15px;
        margin: 15px 0;
    }
    
    .wpa-content-sections h3 {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .wpa-content-sections ul {
        padding: 15px;
    }
    
    .wpa-content-sections li {
        font-size: 15px;
    }
}

/* Print Styles */
@media print {
    .wpa-generated-badge,
    .wpa-reading-time,
    .wpa-topic-tag {
        background: #f0f0f0 !important;
        color: #333 !important;
        border: 1px solid #ccc;
    }
    
    .wpa-content-sections h3 {
        background: #f0f0f0 !important;
        color: #333 !important;
        border: 1px solid #ccc;
    }
}
