/* Proshna AI Fact Check Button */
.proshna-ai-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1em;
    color: #555;
    transition: color 0.2s ease;
}

.proshna-ai-btn .dashicons {
    color: #6a0dad; /* A distinct purple color */
}

.proshna-ai-btn:hover,
.proshna-ai-btn:focus {
    color: #6a0dad;
    font-weight: bold;
}

/* AI Modal Styles */
#proshna-ai-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.proshna-ai-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.proshna-ai-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.proshna-ai-modal-content h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #333;
}

#proshna-ai-response-area {
    min-height: 200px;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.7;
    color: #444;
}

/* Loader Animation */
.proshna-ai-loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6a0dad;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
