/* Charity report "an update is available" banner. */

.charity-report-update-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 20px;
    padding: 14px 18px;
    border: 1px solid #f2a900;
    border-left: 4px solid #f2a900;
    border-radius: 5px;
    background-color: #fff8e8;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
}

.charity-report-update-notice__text {
    flex: 1 1 240px;
}

.charity-report-update-notice__button {
    flex: 0 0 auto;
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background-color: #007398;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.charity-report-update-notice__button:hover,
.charity-report-update-notice__button:focus {
    background-color: #005f7d;
}

.charity-report-update-notice__button:disabled {
    opacity: 0.65;
    cursor: default;
}

@media (max-width: 600px) {
    .charity-report-update-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* The banner is injected after render, so it must not appear in print. */
@media print {
    .charity-report-update-notice {
        display: none;
    }
}
