.customer-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.customer-table th {
    padding: 12px 16px;

    background: #4f5fa8;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.customer-table td {
    padding: 11px 16px;

    background: rgba(255, 255, 255, 0.18);

    font-size: 15px;
    vertical-align: top;
}

.customer-table tbody tr + tr td {
    border-top: 1px solid rgba(23, 32, 51, 0.10);
}

.customer-table a {
    color: #172033;
    font-weight: 600;
    text-decoration: none;
}

.customer-table a:hover {
    text-decoration: underline;
}

.customer-actions {
    display: flex;
    justify-content: center;

    margin-top: auto;
    padding-top: 35px;
}


/* Add / Edit Customer form */

.customer-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.customer-form-fields {
    width: 620px;
}

.customer-form-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.customer-form-row label {
    font-size: 15px;
    font-weight: 600;
}

.customer-form-row input {
    width: 100%;
    height: 34px;
    padding: 5px 8px;

    border: 1px solid #6f7885;
    background: #ffffff;

    font-family: inherit;
    font-size: 15px;
}

.customer-form-row textarea {
    width: 100%;
    min-height: 110px;
    padding: 8px;

    border: 1px solid #6f7885;
    background: #ffffff;

    font-family: inherit;
    font-size: 15px;

    resize: vertical;
}

.customer-form-actions {
    margin-top: auto;

    display: flex;
    justify-content: center;
    gap: 70px;

    padding-top: 40px;
}

.customer-form-actions .button-primary,
.customer-form-actions .button-secondary {
    width: 220px;
    min-width: 220px;
    padding: 11px 18px;

    border: 1px solid #52606f;
    border-radius: 2px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.customer-form-actions .button-secondary {
    display: inline-block;
    background: transparent;
    color: #172033;
}

.customer-form-actions .button-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
}
/* =========================================================
   CUSTOMER OVERVIEW
   ========================================================= */

.customer-overview {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.customer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 110px;
    padding: 20px 30px 35px;
}

.customer-details-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.customer-detail-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: 20px;
    align-items: center;

    font-size: 15px;
}

.customer-detail-label {
    font-weight: 600;
}

.customer-detail-value {
    min-height: 18px;
}


.customer-assets {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 30px;

    padding: 45px 30px 20px;
}

.customer-installations h2,
.customer-machines h2 {
    margin: 0 0 20px;

    font-size: 17px;
    font-weight: 600;
}

.installation-row {
    margin-bottom: 12px;
    font-size: 15px;
}

.machine-row {
    display: grid;
    grid-template-columns: 100px 100px 150px 170px;
    align-items: center;

    margin-bottom: 10px;
    font-size: 15px;
}

.machine-row a {
    color: #172033;
    text-decoration: none;
}

.machine-row a:hover {
    text-decoration: underline;
}


/* Bottom buttons */

.customer-overview-actions {
    margin-top: auto;

    display: flex;
    justify-content: center;
    gap: 30px;

    padding-top: 35px;
}

.customer-overview-actions .button-secondary {
    display: inline-block;

    width: 210px;
    padding: 11px 18px;

    border: 1px solid #52606f;
    border-radius: 2px;

    background: transparent;
    color: #172033;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.customer-overview-actions .button-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Machine action buttons */

.machine-action-button {
    display: inline-block;

    min-width: 135px;
    padding: 7px 12px;

    border: 1px solid #52606f;
    border-radius: 2px;

    background: transparent;
    color: #172033;

    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.machine-action-button:hover {
    background: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

.machine-row .machine-action-primary {
    background: #4f5fa8;
    border-color: #4f5fa8;
    color: #ffffff;
}

.machine-row .machine-action-primary:hover {
    background: #46559a;
    color: #ffffff;
    text-decoration: none;
}

