/* /css/reports.css */

.report-card {
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}
.report-card-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #1e293b; /* slate-800 */
    margin-bottom: 1rem; /* 16px */
}
.report-label {
    display: block;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    color: #475569; /* slate-600 */
    margin-bottom: 0.25rem; /* 4px */
}
.report-input, .report-select, .report-textarea {
    margin-top: 0.25rem;
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: white;
    border-width: 1px;
    border-color: #cbd5e1; /* slate-300 */
    border-radius: 0.375rem; /* 6px */
    font-size: 0.875rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.report-input:focus, .report-select:focus, .report-textarea:focus {
    outline: none;
    border-color: #0d9488; /* teal-500 */
    box-shadow: 0 0 0 1px #0d9488;
}
.report-textarea {
    resize: vertical;
    position: relative;
}

.edit-icon-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #64748b; /* slate-500 */
    background: white;
    padding: 0.25rem;
    border-radius: 0.25rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.report-textarea:hover + .edit-icon-btn, .edit-icon-btn:hover {
    opacity: 1;
}

.report-output-box {
    margin-top: 1rem;
    border-width: 1px;
    border-color: #cbd5e1; /* slate-300 */
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8fafc; /* slate-50 */
    max-height: 20rem; /* 320px */
    overflow-y: auto;
}
.report-output-title {
    font-weight: 600;
    color: #1d4ed8; /* blue-700 */
    font-size: 1.125rem; /* 18px */
    margin-bottom: 0.5rem;
    text-align: center;
}

/* For floating action buttons */
.fab-action-button {
    width: 3.5rem; /* 56px */
    height: 3.5rem;
    border-radius: 9999px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 1.5rem; /* 24px */
    transition-property: transform;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.fab-action-button:hover {
    transform: scale(1.1);
}

/* For custom color pickers */
.color-picker-wrapper {
    position: relative;
    width: 100%;
    height: 2.5rem; /* 40px */
    border-width: 1px;
    border-color: #cbd5e1;
    border-radius: 0.375rem;
    overflow: hidden;
}
.color-picker-input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.color-picker-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* For dynamic chart/table add/remove */
.remove-dynamic-item-btn {
    font-size: 1.125rem;
    line-height: 1;
    color: #ef4444; /* red-500 */
    background-color: #fee2e2; /* red-100 */
    border-radius: 9999px;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.remove-dynamic-item-btn:hover {
    background-color: #fca5a5; /* red-300 */
    color: #b91c1c; /* red-700 */
}

.generated-chart-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e2e8f0; /* slate-200 */
    border: 2px dashed #94a3b8; /* slate-400 */
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b; /* slate-500 */
    font-size: 0.875rem;
    font-weight: 500;
}