/* Carrier claim forms, including the prompt inside Manage Returns. */
.psc-claim-form input[type="text"],
.psc-claim-form input[type="date"],
.psc-claim-form select,
.psc-claim-form .btn,
#manage_returns .psc-claim-form input[type="text"],
#manage_returns .psc-claim-form input[type="date"],
#manage_returns .psc-claim-form select,
#manage_returns .psc-claim-form .btn {
    box-sizing: border-box;
    height: 34px !important;
    padding: 6px 10px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    vertical-align: middle;
}

.psc-claim-form .input-large {
    width: 320px;
    max-width: 100%;
}

.psc-claim-form .psc-claim-static {
    box-sizing: border-box;
    min-height: 34px;
    padding: 7px 0;
    font-size: 14px;
    line-height: 20px;
}

.psc-claim-form textarea,
#manage_returns .psc-claim-form textarea {
    box-sizing: border-box;
    min-height: 96px;
    padding: 6px 10px;
    font-size: 14px !important;
    line-height: 20px !important;
}

.psc-claim-form .psc-claim-tracking-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.psc-claim-form .psc-claim-tracking-row input {
    flex: 0 1 320px;
    min-width: 0;
    margin: 0;
}

.psc-claim-form .psc-claim-tracking-row .btn-group {
    display: inline-flex;
    flex-shrink: 0;
}

.psc-claim-form .psc-claim-tracking-row .btn,
#manage_returns .psc-claim-form .psc-claim-tracking-row .btn {
    width: 34px;
    padding: 6px !important;
}

.psc-claim-table-wrapper {
    overflow-x: auto;
}

.psc-claim-table {
    width: 100%;
    table-layout: fixed;
}

.psc-claim-table th,
.psc-claim-table td {
    overflow-wrap: anywhere;
}

.psc-claim-list > thead > tr > th,
.psc-claim-list > tbody > tr > td {
    padding: 8px;
}

.psc-claim-list > thead > tr > th,
.psc-claim-list > thead > tr > th > a {
    overflow-wrap: normal;
    word-break: normal;
}

.psc-claim-list .psc-claim-actions .btn {
    padding: 4px 6px;
}

.psc-claim-products,
.psc-claim-returns {
    min-width: 760px;
}

.psc-claim-table input[type="email"] {
    box-sizing: border-box;
    max-width: 100%;
}

.psc-claim-badge {
    display: inline-block;
    box-sizing: border-box;
    width: 100px;
    max-width: 100%;
    height: 24px;
    padding: 3px 6px;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.psc-claim-status-open {
    background-color: #007db7;
}

.psc-claim-status-approved {
    background-color: #7952b3;
}

.psc-claim-status-paid {
    background-color: #3c763d;
}

.psc-claim-status-denied {
    background-color: #a94442;
}

.psc-claim-status-not_filed {
    background-color: #697782;
}

.psc-claim-needs-filing {
    background-color: #b96b00;
}

.psc-claim-notes {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.psc-claim-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.psc-claims-sidebar {
    margin: 18px 0 10px;
}

.btn-psc-order-claims {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 0 !important;
    border: 1px solid #654399;
    border-radius: 4px;
    background-color: #7952b3;
    background-image: linear-gradient(to bottom, #8864bd, #7952b3);
    box-shadow: 0px 1px 1px #fff;
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0 0 1px #000;
    text-transform: uppercase;
}

.btn-psc-order-claims:hover {
    background-color: #654399 !important;
    background-image: none !important;
}

.psc-claim-table .psc-claim-bom-parent > td {
    background-color: #e6e4e4;
    font-weight: bold;
}

.psc-claim-table .psc-claim-bom-child > td {
    background-color: #f5f5f5;
}
