/*
 * File: page_styles/aiAPI.css
 * Date: 2025-01-02 10:30
 * Description: Styling for Gemini AI "Analyze with AI" button and processing states
 * Version: 1.0 - Initial Implementation
 * Dependencies: Used by records.html for AI analysis feature
 */

/* ===========================================
   AI ANALYZE BUTTON - Next to FFO Button
   =========================================== */
.ai-analyze-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: 2px solid #5a67d8;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.ai-analyze-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.ai-analyze-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.ai-analyze-btn:disabled {
    background: #9ca3af;
    border-color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.ai-analyze-btn:disabled:hover {
    background: #9ca3af;
    transform: none;
    box-shadow: 0 2px 4px rgba(156, 163, 175, 0.3);
}

/* Brain icon styling */
.ai-analyze-btn i {
    font-size: 16px;
}

/* ===========================================
   PROCESSING STATE STYLING
   =========================================== */
.ai-processing {
    color: #667eea;
    font-weight: 600;
    font-style: italic;
    padding: 12px;
    background: #eef2ff;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

/* ===========================================
   ERROR STATE STYLING
   =========================================== */
.ai-error {
    color: #dc2626;
    font-weight: 600;
    padding: 12px;
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    border-radius: 4px;
}

/* ===========================================
   SUCCESS STATE STYLING
   =========================================== */
.ai-success {
    color: #059669;
    font-weight: 600;
    padding: 12px;
    background: #d1fae5;
    border-left: 4px solid #059669;
    border-radius: 4px;
}

/* ===========================================
   BUTTON CONTAINER (if needed for alignment)
   =========================================== */
.ai-button-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}