@media (max-width: 700px) {

    .kroma-header {
        min-height: 0;
        padding: 25px 20px 25px;
        text-align: center;
    }

    .kroma-logo-link {
        display: inline-block;
    }

    .kroma-logo {
        width: 220px;
        max-width: 80vw;
        margin: 0 auto;
    }

    .user-session {
        position: static;

        width: 100%;
        margin-top: 15px;

        justify-content: center;
        gap: 12px;

        font-size: 13px;
    }

    .logout-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .page-title {
        position: static;
        transform: none;

        margin-top: 25px;

        font-size: 30px;
        text-align: center;
    }

    /* Management choice on mobile */

    .management-choice {
        justify-content: flex-start;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .management-choice-text {
        text-align: center;
    }

    .management-choice-actions {
        width: 100%;

        flex-direction: column;
        gap: 12px;
    }

    .management-choice-actions .button-primary {
        width: 100%;
        min-width: 0;
    }

    /* Customer list on mobile */

    .customer-table {
        display: block;
        width: 100%;
    }

    .customer-table thead {
        display: none;
    }

    .customer-table tbody {
        display: block;
        width: 100%;
    }

    .customer-table tr {
        display: block;
        width: 100%;
        padding: 18px 15px;
        border-bottom: 1px solid rgba(23, 32, 51, 0.15);
    }

    .customer-table tr:last-child {
        border-bottom: none;
    }

    .customer-table td {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 10px;

        width: 100%;
        padding: 4px 0;
        border: none;

        background: transparent;
        font-size: 15px;
    }

    .customer-table td::before {
        content: attr(data-label);

        font-weight: 600;
        color: #172033;
    }

    .customer-table td:first-child {
        display: block;
        padding-bottom: 10px;
        font-size: 18px;
    }

    .customer-table td:first-child::before {
        display: none;
    }

    .customer-table td:first-child a {
        font-weight: 600;
    }

    /* User Management on mobile */

    .user-table {
        display: block;
        width: 100%;
    }

    .user-table thead {
        display: none;
    }

    .user-table tbody {
        display: block;
        width: 100%;
    }

    .user-table tr {
        display: block;
        width: 100%;

        padding: 18px 15px;

        border-bottom: 1px solid rgba(23, 32, 51, 0.15);
    }

    .user-table tr:last-child {
        border-bottom: none;
    }

    .user-table td {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 10px;

        width: 100%;
        padding: 5px 0;

        border: none;
        background: transparent;

        font-size: 15px;
    }

    .user-table td::before {
        content: attr(data-label);

        font-weight: 600;
        color: #172033;
    }

    .user-table td:first-child {
        display: block;

        padding-bottom: 12px;

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

    .user-table td:first-child::before {
        display: none;
    }

    .user-table td:last-child {
        display: block;

        padding-top: 14px;
    }

    .user-table td:last-child::before {
        display: none;
    }

    .user-edit-button {
        width: 100%;
    }

    .user-actions {
        flex-direction: column;
        gap: 12px;

        width: 100%;
        padding-top: 30px;
    }

    .user-actions .button-primary,
    .user-back-button {
        width: 100%;
        min-width: 0;
    }

    /* General mobile content */

    .page-content {
        width: calc(100% - 24px);
        padding: 35px 18px 22px;
    }


    /* Customer overview on mobile */

    .customer-details {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 28px;
        padding: 10px 0 30px;
    }

    .customer-details-column {
        gap: 14px;
    }

    .customer-detail-row {
        grid-template-columns: 110px 1fr;
        column-gap: 12px;
        font-size: 15px;
    }


    .customer-assets {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 30px 0 20px;
    }

    .customer-installations h2,
    .customer-machines h2 {
        margin-bottom: 15px;
    }


    .machine-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;

        padding: 0 0 18px;
        margin-bottom: 18px;

        border-bottom: 1px solid rgba(23, 32, 51, 0.15);
    }

    .machine-row:last-child {
        border-bottom: none;
    }

    .machine-action-button {
        width: 100%;
        min-width: 0;

        padding: 9px 5px;
        font-size: 11px;
    }


    .customer-overview-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;

        width: 100%;
        padding-top: 35px;
    }

    .customer-overview-actions .button-secondary {
        width: 100%;
        min-width: 0;

        padding: 11px 5px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Add / Edit Customer form */

    .customer-form-fields {
        width: 100%;
    }

    .customer-form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 18px;
    }

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

    .customer-form-row input {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .customer-form-actions {
        width: 100%;
        margin-top: auto;

        display: flex;
        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .customer-form-actions .button-primary,
    .customer-form-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }

    .customer-form-row textarea {
        width: 100%;
        min-width: 0;
        min-height: 120px;
    }

    .customer-form-row select {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .customer-form-row textarea {
        width: 100%;
        min-width: 0;
        min-height: 150px;
    }

    .form-static-value {
        min-height: 30px;
    }

    /* Add / Edit User form */

    .user-form-fields {
        width: 100%;
    }

    .user-form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 18px;
    }

    .user-form-row label {
        font-size: 15px;
    }

    .user-form-row input,
    .user-form-row select {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .user-form-errors {
        width: 100%;
    }

    .user-form-actions {
        width: 100%;
        margin-top: auto;

        display: flex;
        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .user-form-actions .button-primary,
    .user-form-actions .user-back-button {
        width: 100%;
        min-width: 0;
    }

    /* Edit Machine */

    .machine-edit-errors,
    .machine-edit-divider {
        width: 100%;
    }

    /* Edit Service Report */

    .service-report-form-errors {
        margin-left: 0;
        margin-right: 0;
    }

    /* Service History on mobile */

    .service-history-table {
        display: block;
        width: 100%;
    }

    .service-history-table thead {
        display: none;
    }

    .service-history-table tbody {
        display: block;
        width: 100%;
    }

    .service-history-table tr {
        display: block;
        width: 100%;

        padding: 16px 0;
        border-bottom: 1px solid rgba(23, 32, 51, 0.15);
    }

    .service-history-table tr:last-child {
        border-bottom: none;
    }

    .service-history-table td {
        display: grid;
        grid-template-columns: 105px 1fr;
        gap: 12px;

        width: 100%;
        padding: 5px 0;
        border: none;

        background: transparent;
        font-size: 15px;
        text-align: left;
    }

    .service-history-table td::before {
        content: attr(data-label);

        font-weight: 600;
        color: #172033;
    }

    .service-history-table td:last-child .machine-action-button {
        width: 100%;
        max-width: 180px;
    }

    .service-info-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .report-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

}

@media (max-width: 700px) {

    .machine-overview-actions {
        width: 100%;
        gap: 12px;
    }

    .machine-overview-actions .button-secondary {
        flex: 1 1 0;
        width: auto;
        min-width: 0;

        padding: 11px 8px;

        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 700px) {

    .service-machine-info {
        padding: 0 0 25px;
    }

    .machine-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .machine-info-column {
        gap: 10px;
    }

    .info-row {
        grid-template-columns: 125px 1fr;
        gap: 12px;
    }

    .service-report-entry {
        padding: 25px 0 0;
    }

    .service-report-top-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 25px;
    }

    .service-report-field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .service-report-field input {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .service-report-text-field {
        margin-bottom: 20px;
    }

    .service-report-text-field textarea {
        width: 100%;
        min-width: 0;
        min-height: 120px;
    }

    .service-report-create-actions {
        width: 100%;
        margin-top: auto;

        display: flex;
        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .service-report-create-actions .button-primary,
    .service-report-create-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 700px) {

    .service-history-machine h2 {
        font-size: 22px;
    }

    .service-history-search {
        margin-top: 30px;
    }

    .service-history-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .service-history-search-row input {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .service-history-search-row .button-primary,
    .service-history-search-row .button-secondary {
        width: 100%;
        min-width: 0;
    }


    /* Turn desktop table into mobile report blocks */

    .service-history-table,
    .service-history-table tbody,
    .service-history-table tr,
    .service-history-table td {
        display: block;
        width: 100%;
    }

    .service-history-table thead {
        display: none;
    }

    .service-history-table tr {
        padding: 15px 0 20px;

        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .service-history-table td {
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 12px;

        padding: 10px 0;

        border-bottom: 1px solid rgba(23, 32, 51, 0.10);

        font-size: 15px;
    }

    .service-history-table td::before {
        content: attr(data-label);

        font-weight: 600;
    }

    .service-history-table td:last-child {
        border-bottom: 0;
    }

    .service-history-view-button {
        width: 100%;
        min-width: 0;

        padding: 10px 12px;
    }

    .service-history-actions .button-secondary {
        width: 100%;
    }
}

@media (max-width: 700px) {

    .report-meta-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .report-meta-grid .report-info-row {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

}

@media (max-width: 700px) {

    /* Existing materials become cards */

    .materials-table {
        display: block;
        width: 100%;
        margin-bottom: 35px;
    }

    .materials-table thead {
        display: none;
    }

    .materials-table tbody {
        display: block;
        width: 100%;
    }

    .materials-table tr {
        display: block;
        width: 100%;

        padding: 14px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .materials-table td {
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 12px;

        width: 100%;
        padding: 8px 0;

        border: 0;

        font-size: 15px;
    }

    .materials-table td:nth-child(1)::before {
        content: "Item No.";
        font-weight: 600;
    }

    .materials-table td:nth-child(2)::before {
        content: "Quantity";
        font-weight: 600;
    }

    .materials-table td:nth-child(3)::before {
        content: "Description";
        font-weight: 600;
    }


    /* Edit / Delete buttons */

    .materials-table td.materials-actions {
        display: flex;
        gap: 10px;

        padding-top: 12px;
    }

    .materials-actions form,
    .materials-actions > a {
        flex: 1;
    }

    .materials-actions .material-action-button {
        width: 100%;
        min-width: 0;
    }


    /* Add Material form */

    .add-material-row {
        width: 100%;

        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;

        margin-bottom: 18px;
    }

    .add-material-row input {
        width: 100%;
        min-width: 0;
        height: 42px;
    }


    /* Bottom actions */

    .materials-page-actions {
        width: 100%;

        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .materials-page-actions .button-primary,
    .materials-page-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 700px) {

    /* Existing work hours become cards */

    .work-hours-table {
        display: block;
        width: 100%;
        margin-bottom: 35px;
    }

    .work-hours-table thead {
        display: none;
    }

    .work-hours-table tbody {
        display: block;
        width: 100%;
    }

    .work-hours-table tbody tr:not(.work-hours-total) {
        display: block;
        width: 100%;

        padding: 14px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .work-hours-table tbody tr:not(.work-hours-total) td {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;

        width: 100%;
        padding: 8px 0;

        border: 0;
        font-size: 15px;
    }

    .work-hours-table tbody tr:not(.work-hours-total) td:nth-child(1)::before {
        content: "Date";
        font-weight: 600;
    }

    .work-hours-table tbody tr:not(.work-hours-total) td:nth-child(2)::before {
        content: "Start Time";
        font-weight: 600;
    }

    .work-hours-table tbody tr:not(.work-hours-total) td:nth-child(3)::before {
        content: "End Time";
        font-weight: 600;
    }

    .work-hours-table tbody tr:not(.work-hours-total) td:nth-child(4)::before {
        content: "Worked Time";
        font-weight: 600;
    }

    .work-hours-table tbody tr:not(.work-hours-total) td:nth-child(5)::before {
        content: "Travel Time";
        font-weight: 600;
    }


    /* Edit / Delete */

    .work-hours-table td.work-hours-actions {
        display: flex;
        gap: 10px;

        padding-top: 12px;
    }

    .work-hours-actions > a,
    .work-hours-actions form {
        flex: 1;
    }

    .work-hours-actions .table-action-button {
        width: 100%;
        min-width: 0;
    }


    /* Total */

    .work-hours-total {
        display: block;
        width: 100%;

        padding: 16px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .work-hours-total td {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;

        width: 100%;
        padding: 7px 0;

        border: 0;
        background: transparent;
    }

    .work-hours-total td:first-child {
        display: block;
        font-size: 16px;
        padding-bottom: 10px;
    }

    .work-hours-total td:nth-child(2)::before {
        content: "Worked Time";
        font-weight: 600;
    }

    .work-hours-total td:nth-child(3)::before {
        content: "Travel Time";
        font-weight: 600;
    }

    .work-hours-total td:nth-child(4) {
        display: none;
    }


    /* Add Work Hours form */

    .work-hours-form-row {
        width: 100%;

        grid-template-columns: 1fr;
        gap: 6px;

        margin-bottom: 18px;
    }

    .work-hours-form-row input {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .work-hours-info-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }


    /* Bottom actions */

    .work-hours-page-actions {
        width: 100%;

        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .work-hours-page-actions .button-primary,
    .work-hours-page-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   MOBILE - SERVICE REPORT MATERIALS + WORK HOURS
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       Materials Used
       ----------------------------------------------------- */

    .report-materials-table {
        display: block;
        width: 100%;
    }

    .report-materials-table thead {
        display: none;
    }

    .report-materials-table tbody {
        display: block;
        width: 100%;
    }

    .report-materials-table tr {
        display: block;
        width: 100%;

        padding: 12px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .report-materials-table td {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;

        width: 100%;
        padding: 7px 0;

        border: 0;
        font-size: 15px;
    }

    .report-materials-table td:nth-child(1)::before {
        content: "Item No.";
        font-weight: 600;
    }

    .report-materials-table td:nth-child(2)::before {
        content: "Quantity";
        font-weight: 600;
    }

    .report-materials-table td:nth-child(3)::before {
        content: "Description";
        font-weight: 600;
    }


    /* -----------------------------------------------------
       Work Hours
       ----------------------------------------------------- */

    .report-work-hours-table {
        display: block;
        width: 100%;
    }

    .report-work-hours-table thead {
        display: none;
    }

    .report-work-hours-table tbody {
        display: block;
        width: 100%;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) {
        display: block;
        width: 100%;

        padding: 12px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;

        width: 100%;
        padding: 7px 0;

        border: 0;
        font-size: 15px;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td:nth-child(1)::before {
        content: "Date";
        font-weight: 600;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td:nth-child(2)::before {
        content: "Start Time";
        font-weight: 600;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td:nth-child(3)::before {
        content: "End Time";
        font-weight: 600;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td:nth-child(4)::before {
        content: "Worked Time";
        font-weight: 600;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td:nth-child(5)::before {
        content: "Travel Time";
        font-weight: 600;
    }

    .report-work-hours-table tbody tr:not(.report-work-hours-total) td:first-child {
        white-space: nowrap;
    }


    /* Total Time */

    .report-work-hours-total {
        display: block;
        width: 100%;

        padding: 14px 0;
    }

    .report-work-hours-total td {
        width: 100%;
        border: 0;
        padding: 7px 0;
    }

    .report-work-hours-total td:first-child {
        display: block;
        padding-bottom: 10px;
        font-size: 16px;
    }

    .report-work-hours-total td:nth-child(2),
    .report-work-hours-total td:nth-child(3) {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .report-work-hours-total td:nth-child(2)::before {
        content: "Worked Time";
        font-weight: 600;
    }

    .report-work-hours-total td:nth-child(3)::before {
        content: "Travel Time";
        font-weight: 600;
    }
}

/* =========================================================
   MOBILE - SERVICE REPORT TRAVEL DETAILS
   ========================================================= */

@media (max-width: 700px) {

    .report-travel-table {
        display: block;
        width: 100%;
    }

    .report-travel-table thead {
        display: none;
    }

    .report-travel-table tbody {
        display: block;
        width: 100%;
    }

    .report-travel-table tbody tr:not(.report-travel-total) {
        display: block;
        width: 100%;

        padding: 12px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .report-travel-table tbody tr:not(.report-travel-total) td {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 12px;

        width: 100%;
        padding: 7px 0;

        border: 0;
        font-size: 15px;
    }

    .report-travel-table tbody tr:not(.report-travel-total) td:nth-child(1)::before {
        content: "Date";
        font-weight: 600;
    }

    .report-travel-table tbody tr:not(.report-travel-total) td:nth-child(2)::before {
        content: "Start Time";
        font-weight: 600;
    }

    .report-travel-table tbody tr:not(.report-travel-total) td:nth-child(3)::before {
        content: "End Time";
        font-weight: 600;
    }

    .report-travel-table tbody tr:not(.report-travel-total) td:nth-child(4)::before {
        content: "Total Travel Time";
        font-weight: 600;
    }

    .report-travel-table tbody tr:not(.report-travel-total) td:nth-child(5)::before {
        content: "From";
        font-weight: 600;
    }

    .report-travel-table tbody tr:not(.report-travel-total) td:nth-child(6)::before {
        content: "To";
        font-weight: 600;
    }

    /* Keep date on one line */

    .report-travel-table tbody tr:not(.report-travel-total) td:first-child {
        white-space: nowrap;
    }


    /* Total */

    .report-travel-total {
        display: block;
        width: 100%;

        padding: 14px 0;
    }

    .report-travel-total td {
        width: 100%;
        border: 0;
        padding: 7px 0;
    }

    .report-travel-total td:first-child {
        display: block;

        padding-bottom: 10px;

        font-size: 16px;
    }

    .report-travel-total td:nth-child(2) {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 12px;
    }

    .report-travel-total td:nth-child(2)::before {
        content: "Total Travel Time";
        font-weight: 600;
    }

    .report-travel-total td:nth-child(3) {
        display: none;
    }
}

/* =========================================================
   MOBILE - TRAVEL DETAILS
   ========================================================= */

@media (max-width: 700px) {

    /* Existing travel details become cards */

    .travel-details-table {
        display: block;
        width: 100%;
        margin-bottom: 35px;
    }

    .travel-details-table thead {
        display: none;
    }

    .travel-details-table tbody {
        display: block;
        width: 100%;
    }

    .travel-details-table tbody tr:not(.travel-details-total) {
        display: block;
        width: 100%;

        padding: 14px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .travel-details-table tbody tr:not(.travel-details-total) td {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 12px;

        width: 100%;
        padding: 8px 0;

        border: 0;
        font-size: 15px;
    }

    .travel-details-table tbody tr:not(.travel-details-total) td:nth-child(1)::before {
        content: "Date";
        font-weight: 600;
    }

    .travel-details-table tbody tr:not(.travel-details-total) td:nth-child(2)::before {
        content: "Start Time";
        font-weight: 600;
    }

    .travel-details-table tbody tr:not(.travel-details-total) td:nth-child(3)::before {
        content: "End Time";
        font-weight: 600;
    }

    .travel-details-table tbody tr:not(.travel-details-total) td:nth-child(4)::before {
        content: "Travel Time";
        font-weight: 600;
    }

    .travel-details-table tbody tr:not(.travel-details-total) td:nth-child(5)::before {
        content: "From";
        font-weight: 600;
    }

    .travel-details-table tbody tr:not(.travel-details-total) td:nth-child(6)::before {
        content: "To";
        font-weight: 600;
    }


    /* Edit / Delete */

    .travel-details-table td.travel-details-actions {
        display: flex;
        gap: 10px;

        padding-top: 12px;
    }

    .travel-details-actions > a,
    .travel-details-actions form {
        flex: 1;
    }

    .travel-details-actions .table-action-button {
        width: 100%;
        min-width: 0;
    }


    /* Total */

    .travel-details-total {
        display: block;
        width: 100%;

        padding: 16px 0;
        border-bottom: 2px solid rgba(23, 32, 51, 0.12);
    }

    .travel-details-total td {
        border: 0;
        background: transparent;
    }

    .travel-details-total td:first-child {
        display: block;
        padding: 0 0 10px;

        font-size: 16px;
    }

    .travel-details-total td:nth-child(2) {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 12px;

        width: 100%;
        padding: 7px 0;
    }

    .travel-details-total td:nth-child(2)::before {
        content: "Total Time";
        font-weight: 600;
    }

    .travel-details-total td:nth-child(3),
    .travel-details-total td:nth-child(4) {
        display: none;
    }


    /* Add Travel Detail form */

    .travel-details-form-row {
        width: 100%;

        grid-template-columns: 1fr;
        gap: 6px;

        margin-bottom: 18px;
    }

    .travel-details-form-row input {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .travel-details-info-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }


    /* Bottom actions */

    .travel-details-page-actions {
        width: 100%;

        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .travel-details-page-actions .button-primary,
    .travel-details-page-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 700px) {

    /* Signatures */

    .signature-reference {
        margin-bottom: 25px;
    }

    .signature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .signature-panel {
        width: 100%;
    }

    .signature-field input,
    .signature-static-value,
    .signature-canvas,
    .signature-image,
    .signature-empty {
        width: 100%;
        max-width: none;
    }

    .signature-form-actions {
        width: 100%;

        flex-direction: column;
        gap: 12px;

        padding-top: 30px;
    }

    .signature-form-actions .button-primary,
    .signature-form-actions .signature-back-button {
        width: 100%;
        min-width: 0;
    }

    .signature-close-button {
        width: 100%;
        min-width: 0;
    }
}

