/* Public report pages : library, author, offer. */

.report-catalogue {
    max-width: 1100px;
    margin: 0 auto;
}

.report-catalogue-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.report-catalogue-intro h1 {
    margin-top: 0;
    font-weight: 700;
}

.report-catalogue-eyebrow,
.report-edition-kicker {
    color: #337ab7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.report-catalogue-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.report-catalogue-search label {
    margin: 0;
}

.report-catalogue-search .form-control {
    width: auto;
    min-width: 260px;
    flex: 1;
}

.report-catalogue-panel .card-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.report-offers-table {
    margin-bottom: 0;
}

.report-offers-table .table-header th[data-field] {
    cursor: pointer;
}

.report-offers-table .nowrap,
.report-price {
    white-space: nowrap;
}

.report-price,
.report-offer-price {
    font-weight: 700;
}

.report-edition {
    min-width: 220px;
}

.report-breadcrumb {
    margin-bottom: 16px;
    color: #777;
}

.report-breadcrumb span {
    margin: 0 8px;
}

.report-purchase-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.report-edition-label {
    font-size: 18px;
    font-weight: 700;
}

.report-offer-price {
    font-size: 28px;
}

.report-offer-payment-note {
    margin-top: 12px;
    font-size: 12px;
}

.report-next-steps ol {
    padding-left: 20px;
}

.report-next-steps li {
    margin-bottom: 12px;
}

.report-next-steps li span {
    display: block;
    color: #777;
}

.report-catalogue-note {
    margin-top: 24px;
}

/* Custom reports : catalogue block and request form. */

.report-custom-offers {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid #d6e4f0;
    border-radius: 6px;
    background: #f5f9fc;
}

.report-custom-offers h2 {
    margin-top: 0;
    font-size: 22px;
    font-weight: 700;
}

.report-custom-offers-grid,
.report-custom-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 16px 0 20px;
}

.report-custom-offer,
.report-custom-type-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
}

.report-custom-offer:hover,
.report-custom-offer:focus {
    border-color: #337ab7;
    color: #333;
    text-decoration: none;
}

.report-custom-offer span,
.report-custom-type-body span {
    color: #777;
}

.report-custom-offer em {
    margin-top: auto;
    color: #337ab7;
    font-style: normal;
    font-weight: 700;
}

.report-custom-form {
    max-width: 760px;
}

.report-custom-step {
    margin-bottom: 28px;
}

.report-custom-step legend {
    font-size: 18px;
    font-weight: 700;
}

.report-custom-step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 50%;
    background: #337ab7;
    color: #fff;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
}

.report-custom-types {
    margin: 0;
}

.report-custom-type {
    position: relative;
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.report-custom-type input {
    position: absolute;
    opacity: 0;
}

.report-custom-type input:checked + .report-custom-type-body {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, .25);
}

.report-custom-type input:focus-visible + .report-custom-type-body {
    outline: 2px solid #337ab7;
    outline-offset: 2px;
}

.report-custom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 16px;
}

.report-custom-honeypot {
    position: absolute;
    left: -10000px;
}

.report-custom-submit p {
    margin-top: 10px;
}

/* Order tracking : 5 steps, done and current steps highlighted. */

.report-order-steps {
    padding-left: 20px;
    margin-bottom: 0;
}

.report-order-steps li {
    margin-bottom: 12px;
    color: #999;
}

.report-order-steps li span {
    display: block;
}

.report-order-steps li.is-done {
    color: #3c763d;
}

.report-order-steps li.is-current {
    color: #333;
}

.report-order-steps li.is-current strong {
    color: #337ab7;
}

.report-order-steps .progress {
    margin: 8px 0 0;
}

.report-order-delay {
    margin: 8px 0 0;
    color: #8a6d3b;
}

.report-order-actions {
    margin: 8px 0 0;
}

/* Password page : masked password, Show/Hide and Copy buttons. */

.report-password-card {
    margin-top: 24px;
}

.report-password-value {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 16px;
}

.report-password-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

/* .btn display would otherwise override the hidden attribute. */
.report-password-actions [hidden] {
    display: none;
}

.report-password-feedback {
    min-height: 20px;
    margin: 8px 0 0;
    color: #3c763d;
}

@media (max-width: 767px) {
    .report-catalogue-intro {
        flex-direction: column;
    }

    .report-purchase-layout {
        grid-template-columns: 1fr;
    }
}
