/* Minimal custom-report presentation. Keep this palette scoped to the report. */
.csCustomReport {
    --report-charcoal: #424141;
    --report-amber: #ffaa01;
    --report-mint: #6ddeb1;
    box-sizing: border-box;
    margin: 0;
    max-width: none !important;
    width: 100%;
    color: var(--report-charcoal);
    border-top: 4px solid var(--report-amber);
    padding: 28px 24px 32px;
    box-shadow: none !important;
}
.csCustomReport .cs-report-heading {
    margin-bottom: 28px;
}
.csCustomReport .cs-report-heading > span {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--report-charcoal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.csCustomReport .cs-report-heading h2 {
    color: var(--report-charcoal);
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 7px;
    padding: 0;
}
.csCustomReport .cs-report-heading p {
    color: var(--report-charcoal);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
    opacity: .8;
}
.csCustomReport .report_type {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--report-mint);
}
.csCustomReport .report_type > label,
.csCustomReport .report_type > label:not(:last-child) {
    display: block;
    flex: 1 1 0;
    margin: 0 !important;
    min-width: 0;
}
.csCustomReport .report_type > label > p {
    align-items: center;
    background: transparent;
    border: 1px solid var(--report-charcoal);
    box-shadow: none !important;
    color: var(--report-charcoal);
    display: flex;
    box-sizing: border-box;
    height: 58px !important;
    justify-content: center;
    line-height: 1.35;
    min-height: 58px;
    padding: 9px 12px;
    text-align: center;
}
.csCustomReport .report_type > label > p:hover {
    border-color: var(--report-amber);
}
.csCustomReport .report_type label input:checked + p {
    background: var(--report-charcoal) !important;
    border-color: var(--report-charcoal) !important;
    color: var(--report-mint) !important;
}
.csCustomReport .report_type label input:checked + p > i {
    color: var(--report-amber);
}
.csCustomReport .cs-fields {
    display: grid !important;
    align-items: flex-start;
    gap: 14px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 22px 0 26px;
}
.csCustomReport .cs-fields > .cs-field {
    box-sizing: border-box;
    min-width: 0;
    padding: 0;
    width: 100%;
}
.csCustomReport .cs-field select,
.csCustomReport .cs-field input,
.csCustomReport input.form-control {
    background: transparent;
    border: 1px solid var(--report-charcoal);
    border-radius: 4px;
    box-shadow: none !important;
    color: var(--report-charcoal);
    min-height: 48px;
    padding: 11px 13px;
}
.csCustomReport .cs-field select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23424141' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 12px 7px;
    padding-right: 44px;
}
.csCustomReport .cs-field select:focus,
.csCustomReport .cs-field input:focus,
.csCustomReport input.form-control:focus {
    border-color: var(--report-amber);
    box-shadow: 0 0 0 2px var(--report-mint) !important;
    outline: 0;
}
.csCustomReport .input-group-addon {
    background: var(--report-mint);
    border-color: var(--report-charcoal);
    color: var(--report-charcoal);
}
.csCustomReport .cs-submit #download_custom_report {
    background: var(--report-amber);
    border: 1px solid var(--report-amber);
    border-radius: 4px;
    color: var(--report-charcoal);
    font-weight: 700;
    height: 52px;
    line-height: normal;
    margin: 0;
    max-width: none;
    min-width: 220px;
    padding: 10px 20px;
    width: 100%;
}
.csCustomReport .cs-submit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.csCustomReport .fromDateToDate {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.csCustomReport .fromDateToDate .date-section {
    min-width: 0;
    width: 100%;
}
.csCustomReport .cs-submit img {
    display: none !important;
    height: 42px;
    margin-left: 10px;
}
.csCustomReport .cs-submit .cs-progress-bars {
    margin-bottom: 10px;
    width: 100%;
}
.csCustomReport .cs-progress-bar {
    display: grid;
    gap: 7px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 26px 0 12px;
    position: relative;
    width: 100%;
}
.csCustomReport .cs-progress-bar .cs-title {
    bottom: auto;
    grid-column: 1 / -1;
    order: -1;
    position: static;
}
.csCustomReport .cs-progress-bar .cs-percentage {
    align-self: center;
    grid-column: 2;
    left: auto;
    position: static;
    top: auto;
}
.csCustomReport .cs-progress-bar .cs-retry {
    grid-column: 1 / -1;
    margin-top: 4px;
}
.csCustomReport .cs-submit #download_custom_report:hover,
.csCustomReport .cs-submit #download_custom_report:focus {
    background: var(--report-charcoal);
    border-color: var(--report-charcoal);
    color: var(--report-mint);
}
.csCustomReport .cs-submit #download_custom_report:disabled {
    cursor: wait;
    opacity: .65;
}
.csCustomReport .cs-progress-bar .bar-line {
    background: var(--report-charcoal);
}
.csCustomReport .cs-progress-bar .bar-line .cs-percentage-line,
.csCustomReport .cs-progress-bar.failed .bar-line .cs-percentage-line {
    animation: none;
    background: var(--report-mint);
    box-shadow: none;
}
.csCustomReport .cs-progress-bar .cs-title,
.csCustomReport .cs-progress-bar .cs-percentage {
    color: var(--report-charcoal);
}
.csCustomReport .cs-progress-bar .cs-retry,
.csCustomReport .cs-progress-bar .cs-retry:hover {
    background: var(--report-amber);
    border-color: var(--report-amber);
    color: var(--report-charcoal);
}
@media (max-width: 1200px) {
    .csCustomReport .report_type {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .csCustomReport {
        padding: 22px 16px 26px;
    }
    .csCustomReport .report_type {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .csCustomReport .cs-fields,
    .csCustomReport .fromDateToDate {
        grid-template-columns: minmax(0, 1fr);
    }
    .csCustomReport .fromDateToDate {
        gap: 0;
    }
}
@media (max-width: 480px) {
    .csCustomReport .report_type {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
    }
}
