/* -------------------------------------------------------------------------- */
/* Basic Report Generator Styles */
/* -------------------------------------------------------------------------- */

.brg-container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
    border: 1px solid #e0e0e0; 
    border-radius: 10px; 
    background-color: #ffffff; 
    font-family: Arial, sans-serif; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.brg-header { 
    color: #1e40af; 
    border-bottom: 2px solid #3b82f6; 
    padding-bottom: 8px; 
    margin-top: 0; 
    font-size: 1.5rem;
}

.brg-form-wrapper { 
    margin-bottom: 20px; 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.brg-input { 
    flex-grow: 1; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    font-size: 16px; 
    min-width: 250px;
}

.brg-button { 
    padding: 10px 20px; 
    background-color: #f59e0b; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: background-color 0.3s, box-shadow 0.3s; 
    white-space: nowrap; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.brg-button:hover:not(:disabled) {
    background-color: #d97706;
}

.brg-button:disabled {
    background-color: #fcae4c;
    cursor: not-allowed;
}

.brg-status-div {
    padding: 10px; 
    color: #3b82f6; 
    font-weight: bold; 
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brg-output { 
    margin-top: 20px; 
    padding: 20px; 
    border: 1px solid #e5e7eb; 
    border-radius: 8px; 
    background-color: #f9fafb; 
    min-height: 100px; 
    white-space: pre-wrap; 
    font-family: monospace, sans-serif; 
    font-size: 0.95em; 
    line-height: 1.5;
}

.brg-placeholder {
    color: #6b7280;
}

.brg-upsell { 
    margin-top: 25px; 
    padding: 15px; 
    border-left: 5px solid #ef4444; 
    background-color: #fee2e2; 
    color: #991b1b; 
    border-radius: 5px; 
}

.brg-upsell a { 
    color: #dc2626; 
    font-weight: bold; 
    text-decoration: underline;
}

/* Spinner Animation */
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

.brg-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}

/* Source Styling */
.brg-sources-header { 
    margin-top: 25px; 
    font-size: 1.1em; 
    color: #374151; 
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
}

.brg-sources-list {
    list-style-type: none; 
    padding-left: 0;
    margin-top: 10px;
}

.brg-source-item {
    margin-bottom: 6px; 
    font-size: 0.9em; 
    border-left: 3px solid #60a5fa; 
    padding-left: 10px;
}

.brg-source-item a {
    color: #1d4ed8;
    text-decoration: none;
}

.brg-source-item a:hover {
    text-decoration: underline;
}
