/* DataSoft Articles Reports — ds-ar.css */

.ds-ar-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ds-ar-error {
    color: #c0392b;
    background: #fdf0ef;
    border-left: 4px solid #c0392b;
    padding: 12px 16px;
    border-radius: 4px;
}

.ds-ar-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin: 24px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e0e0;
}

.ds-ar-report-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.ds-ar-report-card {
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    padding: 20px 16px 16px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .15s, border-color .15s;
}

.ds-ar-report-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-color: #2d6cdf;
}

.ds-ar-report-icon svg {
    width: 40px;
    height: 40px;
    stroke: #2d6cdf;
}

.ds-ar-report-name {
    font-size: .9rem;
    font-weight: 600;
    color: #222;
    text-align: center;
    line-height: 1.3;
}

.ds-ar-report-format {
    font-size: .75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ds-ar-run-btn {
    margin-top: 4px;
    background: #2d6cdf;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 18px;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s;
    width: 100%;
}

.ds-ar-run-btn:hover    { background: #1a56c4; }
.ds-ar-run-btn:disabled { background: #aaa; cursor: not-allowed; }

@media (max-width: 600px) {
    .ds-ar-report-grid { gap: 12px; }
    .ds-ar-report-card { width: calc(50% - 6px); padding: 14px 10px 12px; }
}
