@charset "UTF-8";

/* Order Picking App admin styles. Deliberately scoped to avoid WordPress conflicts. */
:root {
    --opa-navy: #0b163f;
    --opa-blue: #1377b3;
    --opa-blue-dark: #0d5f91;
    --opa-green: #13a940;
    --opa-red: #d63638;
    --opa-bg: #f4f7fb;
    --opa-surface: #ffffff;
    --opa-border: #dfe5ec;
    --opa-border-strong: #c8d2de;
    --opa-text: #172033;
    --opa-muted: #667085;
    --opa-radius: 12px;
    --opa-shadow: 0 8px 28px rgba(11, 22, 63, .08);
}

#toplevel_page_orderpickingapp-panel .wp-menu-image img { padding: 0; }
#wpfooter { display: none; }

/* Minimal utilities used by the settings template. */
#orderpickingapp-settings *,
#orderpickingapp-settings *::before,
#orderpickingapp-settings *::after { box-sizing: border-box; }
#orderpickingapp-settings { max-width: 1480px; margin: 20px 20px 40px 0; color: var(--opa-text); }
#orderpickingapp-settings .container { width: 100%; margin: 0 auto; }
#orderpickingapp-settings .row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
#orderpickingapp-settings [class*="col-"] { width: 100%; padding: 0 12px; }
#orderpickingapp-settings .col-12 { width: 100%; }
#orderpickingapp-settings .d-flex { display: flex; }
#orderpickingapp-settings .d-block { display: block; }
#orderpickingapp-settings .d-inline-block { display: inline-block; }
#orderpickingapp-settings .align-items-center { align-items: center; }
#orderpickingapp-settings .justify-content-center { justify-content: center; }
#orderpickingapp-settings .position-relative { position: relative; }
#orderpickingapp-settings .position-absolute { position: absolute; }
#orderpickingapp-settings .w-100 { width: 100%; }
#orderpickingapp-settings .overflow-hidden { overflow: hidden; }
#orderpickingapp-settings .list-unstyled { margin-left: 0; padding-left: 0; list-style: none; }
#orderpickingapp-settings .text-white { color: #fff; }
#orderpickingapp-settings .text-primary { color: var(--opa-blue); }
#orderpickingapp-settings .text-danger { color: var(--opa-red); }
#orderpickingapp-settings .text-body { color: var(--opa-text); }
#orderpickingapp-settings .text-decoration-none { text-decoration: none; }
#orderpickingapp-settings .bg-white { background: #fff; }
#orderpickingapp-settings .bg-dark { background: var(--opa-navy); }
#orderpickingapp-settings .bg-custom-light { background: var(--opa-bg); }
#orderpickingapp-settings .rounded-custom { border-radius: var(--opa-radius); }
#orderpickingapp-settings .rounded-circle { border-radius: 999px; }
#orderpickingapp-settings .border { border: 1px solid var(--opa-border); }
#orderpickingapp-settings .border-2 { border-width: 2px; }
#orderpickingapp-settings .border-light { border-color: var(--opa-border); }
#orderpickingapp-settings .p-2 { padding: 8px; }
#orderpickingapp-settings .p-5 { padding: 28px; }
#orderpickingapp-settings .p-50 { padding: 30px; }
#orderpickingapp-settings .px-3 { padding-left: 12px; padding-right: 12px; }
#orderpickingapp-settings .py-1 { padding-top: 4px; padding-bottom: 4px; }
#orderpickingapp-settings .py-2 { padding-top: 8px; padding-bottom: 8px; }
#orderpickingapp-settings .mt-3 { margin-top: 12px; }
#orderpickingapp-settings .mt-4 { margin-top: 20px; }
#orderpickingapp-settings .mt-5 { margin-top: 28px; }
#orderpickingapp-settings .mb-0 { margin-bottom: 0; }
#orderpickingapp-settings .mb-4 { margin-bottom: 20px; }
#orderpickingapp-settings .me-3 { margin-right: 12px; }

/* Main settings navigation. */
#orderpickingapp-settings > .feature-tab-list {
    display: flex;
    gap: 8px;
    justify-content: flex-start !important;
    margin: 20px 0 0;
    padding: 10px;
    overflow-x: auto;
    list-style: none;
    background: var(--opa-surface);
    border: 1px solid var(--opa-border);
    border-radius: var(--opa-radius) var(--opa-radius) 0 0;
    box-shadow: 0 3px 12px rgba(11, 22, 63, .04);
}
#orderpickingapp-settings .feature-tab-list .nav-item { flex: 0 0 auto; margin: 0; }
#orderpickingapp-settings .feature-tab-list .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 15px;
    color: #43506a;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
#orderpickingapp-settings .feature-tab-list .nav-link:hover { color: var(--opa-blue-dark); background: #eef7fc; }
#orderpickingapp-settings .feature-tab-list .nav-link.active {
    color: #fff;
    background: var(--opa-blue);
    border-color: var(--opa-blue);
    box-shadow: 0 4px 12px rgba(19, 119, 179, .22);
}

#orderpickingapp-settings > .tab-content {
    padding: 28px !important;
    background: var(--opa-bg);
    border: 1px solid var(--opa-border) !important;
    border-top: 0 !important;
    border-radius: 0 0 var(--opa-radius) var(--opa-radius);
    min-height: 420px;
}
#orderpickingapp-settings .tab-pane { display: none; }
#orderpickingapp-settings .tab-pane.active,
#orderpickingapp-settings .tab-pane.show { display: block; }
#orderpickingapp-settings .fade { transition: opacity .15s linear; }

/* Typography and section hierarchy. */
#orderpickingapp-settings h1,
#orderpickingapp-settings h2,
#orderpickingapp-settings h3,
#orderpickingapp-settings h4,
#orderpickingapp-settings h5,
#orderpickingapp-settings h6 { color: var(--opa-navy); line-height: 1.3; }
#orderpickingapp-settings .tab-pane > h5,
#orderpickingapp-settings .client_options > h5,
#orderpickingapp-settings .client_options > .form-group + h5 {
    margin: 28px 0 12px;
    padding-bottom: 10px;
    font-size: 16px;
    border-bottom: 1px solid var(--opa-border);
}
#orderpickingapp-settings p { color: var(--opa-muted); line-height: 1.55; }
#orderpickingapp-settings .description,
#orderpickingapp-settings .opa-display-help { display: block; margin-top: 6px; color: var(--opa-muted); font-size: 12px; line-height: 1.45; }

/* Generic cards: same visual language as Packing and Display. */
#orderpickingapp-settings .card,
#orderpickingapp-settings .orderpickingapp-card,
#orderpickingapp-settings .opa-display-card,
#orderpickingapp-settings .connected-app-content,
#orderpickingapp-settings .integration-section,
#orderpickingapp-settings .client_options,
#orderpickingapp-settings #picklist,
#orderpickingapp-settings #analytics,
#orderpickingapp-settings #api_account,
#orderpickingapp-settings #logs {
    background: var(--opa-surface);
    border: 1px solid var(--opa-border);
    border-radius: var(--opa-radius);
    box-shadow: var(--opa-shadow);
}
#orderpickingapp-settings .client_options { padding: 24px; }
#orderpickingapp-settings .card-body,
#orderpickingapp-settings .orderpickingapp-card-body { padding: 22px; }
#orderpickingapp-settings .orderpickingapp-card-header,
#orderpickingapp-settings .opa-display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--opa-border);
}
#orderpickingapp-settings .orderpickingapp-card-header h2,
#orderpickingapp-settings .orderpickingapp-card-header h3,
#orderpickingapp-settings .opa-display-header h2,
#orderpickingapp-settings .opa-display-header h3 { margin: 0; }

/* Forms. */
#orderpickingapp-settings .form-group,
#orderpickingapp-settings .form-field,
#orderpickingapp-settings .orderpickingapp-user-field,
#orderpickingapp-settings .opa-display-option { margin: 0 0 16px; }
#orderpickingapp-settings label { display: block; margin: 0 0 6px; color: #344054; font-size: 13px; font-weight: 650; }
#orderpickingapp-settings input[type="text"],
#orderpickingapp-settings input[type="email"],
#orderpickingapp-settings input[type="password"],
#orderpickingapp-settings input[type="number"],
#orderpickingapp-settings input[type="url"],
#orderpickingapp-settings input[type="date"],
#orderpickingapp-settings select,
#orderpickingapp-settings textarea,
#orderpickingapp-settings .form-control,
#orderpickingapp-settings .form-select,
#orderpickingapp-settings .input-text,
#orderpickingapp-settings .regular-text,
#orderpickingapp-settings .large-text {
    width: 100%;
    max-width: 100% !important;
    min-height: 40px;
    margin: 0;
    padding: 8px 11px;
    color: var(--opa-text);
    background: #fff;
    border: 1px solid var(--opa-border-strong);
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
#orderpickingapp-settings textarea { min-height: 96px; resize: vertical; }
#orderpickingapp-settings input:focus,
#orderpickingapp-settings select:focus,
#orderpickingapp-settings textarea:focus {
    border-color: var(--opa-blue);
    box-shadow: 0 0 0 3px rgba(19, 119, 179, .13);
    outline: 0;
}
#orderpickingapp-settings input[readonly] { background: #f8fafc; color: #475467; }
#orderpickingapp-settings .form-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; }
#orderpickingapp-settings .form-check label,
#orderpickingapp-settings .form-check-label { margin: 0; font-weight: 450; line-height: 1.45; }
#orderpickingapp-settings input[type="checkbox"],
#orderpickingapp-settings input[type="radio"],
#orderpickingapp-settings .form-check-input { flex: 0 0 auto; margin: 2px 0 0 !important; }

/* Buttons. */
#orderpickingapp-settings .btn,
#orderpickingapp-settings .button,
#orderpickingapp-settings button.btn,
#orderpickingapp-settings input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--opa-border-strong);
    border-radius: 7px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
#orderpickingapp-settings .btn:hover,
#orderpickingapp-settings .button:hover { transform: translateY(-1px); }
#orderpickingapp-settings .btn-primary,
#orderpickingapp-settings input[type="submit"],
#orderpickingapp-settings .submit_options { color: #fff; background: var(--opa-blue); border-color: var(--opa-blue); }
#orderpickingapp-settings .btn-primary:hover,
#orderpickingapp-settings input[type="submit"]:hover { color: #fff; background: var(--opa-blue-dark); border-color: var(--opa-blue-dark); }
#orderpickingapp-settings .btn-secondary,
#orderpickingapp-settings .button-secondary { color: #344054; background: #fff; border-color: var(--opa-border-strong); }
#orderpickingapp-settings .button-small { min-height: 32px; padding: 5px 10px; font-size: 12px; }
#orderpickingapp-settings button:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Packing and narrowcasting cards. */
#orderpickingapp-settings .orderpickingapp-shell,
#orderpickingapp-settings .opa-display-row { display: grid; gap: 18px; }
#orderpickingapp-settings .opa-display-card { overflow: hidden; width: 100%; }
#orderpickingapp-settings .opa-display-row { padding: 22px; }
#orderpickingapp-settings .opa-display-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
#orderpickingapp-settings .opa-display-option {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--opa-border);
    border-radius: 9px;
}
#orderpickingapp-settings .opa-display-option .form-check { margin: 0; }
#orderpickingapp-settings .opa-display-url-wrap { display: flex; gap: 10px; }
#orderpickingapp-settings .opa-display-url-wrap input { flex: 1 1 auto; }
#orderpickingapp-settings .opa-display-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#orderpickingapp-settings .opa-display-status,
#orderpickingapp-settings .opa-display-notice,
#orderpickingapp-settings .opa-display-error {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}
#orderpickingapp-settings .opa-display-status { color: #075d2b; background: #ecfdf3; border: 1px solid #abefc6; }
#orderpickingapp-settings .opa-display-notice { color: #854a0e; background: #fffaeb; border: 1px solid #fedf89; }
#orderpickingapp-settings .opa-display-error { color: #912018; background: #fef3f2; border: 1px solid #fecdca; }
#orderpickingapp-settings .opa-display-copy-message { display: none; margin-top: 7px; color: var(--opa-green); font-size: 12px; font-weight: 650; }

/* Users. */
#orderpickingapp-settings .orderpickingapp-users-wrap { display: grid; gap: 16px; }
#orderpickingapp-settings .orderpickingapp-users-intro { padding: 16px 18px; background: #eef7fc; border: 1px solid #cce7f5; border-radius: 9px; }
#orderpickingapp-settings .orderpickingapp-user-card { padding: 18px; background: #fff; border: 1px solid var(--opa-border); border-radius: 10px; box-shadow: 0 3px 12px rgba(11, 22, 63, .05); }
#orderpickingapp-settings .orderpickingapp-user-grid { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 14px; align-items: end; }
#orderpickingapp-settings .orderpickingapp-force-scan { align-self: center; }

/* General grids and widgets. */
#orderpickingapp-settings .orderpickingapp-grid,
#orderpickingapp-settings .grid { display: grid; gap: 18px; }
#orderpickingapp-settings .orderpickingapp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#orderpickingapp-settings .orderpickingapp-grid-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#orderpickingapp-settings .orderpickingapp-widget { padding: 18px; background: #fff; border: 1px solid var(--opa-border); border-radius: 10px; }
#orderpickingapp-settings .orderpickingapp-widget-item { padding: 10px 0; border-bottom: 1px solid var(--opa-border); }
#orderpickingapp-settings .orderpickingapp-widget-item:last-child { border-bottom: 0; }
#orderpickingapp-settings .orderpickingapp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
#orderpickingapp-settings .orderpickingapp-blue { color: var(--opa-blue); }
#orderpickingapp-settings .orderpickingapp-badge,
#orderpickingapp-settings .badge,
#orderpickingapp-settings .integration-badge { display: inline-flex; align-items: center; padding: 4px 8px; font-size: 11px; font-weight: 700; border-radius: 999px; background: #eef7fc; color: var(--opa-blue-dark); }

/* Tables. */
#orderpickingapp-settings table { width: 100%; border-collapse: collapse; background: #fff; }
#orderpickingapp-settings .widefat,
#orderpickingapp-settings .shop_table,
#orderpickingapp-settings .form-table { border: 1px solid var(--opa-border); border-radius: 9px; overflow: hidden; }
#orderpickingapp-settings th,
#orderpickingapp-settings td { padding: 11px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--opa-border); }
#orderpickingapp-settings th { color: #344054; background: #f8fafc; font-size: 12px; font-weight: 700; }
#orderpickingapp-settings tr:last-child td { border-bottom: 0; }
#orderpickingapp-settings .striped tbody tr:nth-child(odd),
#orderpickingapp-settings .table-striped tbody tr:nth-child(odd) { background: #fbfcfd; }
#orderpickingapp-settings .form-table th { width: 220px; }

/* Picking route tree reused on settings and product screens. */
#pickingRoute { width: 100%; }
#pickingRoute tr { border: 1px solid #eee; }
#pickingRoute tr td { padding: 5px; }
#orderpickingapp-settings .orderpickingapp-tree { margin: 0; padding: 0; list-style: none; }
#orderpickingapp-settings .orderpickingapp-tree-node { margin: 8px 0; padding: 12px; background: #fff; border: 1px solid var(--opa-border); border-radius: 8px; }
#orderpickingapp-settings .fa-solid.fa-up-down-left-right::before { content: ""; font-family: sans-serif; }

/* Trial, onboarding and integrations. */
#orderpickingapp-settings .cta-with-feature { margin-top: 20px; }
#orderpickingapp-settings .cta-with-feature > .bg-dark { padding: 24px; background-position: center; background-size: cover; }
#orderpickingapp-settings .cta-with-feature video { width: 100%; border-radius: 10px; }
#orderpickingapp-settings .cta-feature-list li { gap: 8px; color: #fff; }
#orderpickingapp-settings .cta-feature-list .dashicons { color: #52d273; }
#orderpickingapp-settings .our-integration { margin: 16px 0; }
#orderpickingapp-settings .connected-app-content { padding: 15px; box-shadow: none; }
#orderpickingapp-settings .integration-logo img,
#orderpickingapp-settings .logo img,
#orderpickingapp-settings .img-fluid { max-width: 100%; height: auto; }

/* Analytics/account/log tabs receive a card surface even without wrapper markup. */
#orderpickingapp-settings #picklist,
#orderpickingapp-settings #analytics,
#orderpickingapp-settings #api_account,
#orderpickingapp-settings #logs { padding: 22px; }
#orderpickingapp-settings canvas { max-width: 100%; }

/* Existing non-settings admin components. */
#woocommerce-product-data ul.wc-tabs li.orderpickingapp_location_options a::before { font-family: Dashicons; content: "\f535"; }
.location-variation-fields { width: 100%; box-sizing: border-box; }
.location-variation-fields .form-row-first,
.location-variation-fields .form-row-last { margin-top: 0 !important; }
.location-variation-fields .form-row-first { clear: left; }
.location-variation-fields .form-row-last { float: right; }
.location-variation-fields .orderpickingapp-location-field label { display: block; }
.location-variation-fields .orderpickingapp-location-field .select2-container { width: 100% !important; }
.location-variation-fields textarea { min-height: 50px; }
.orderpickingapp-route-badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 4px 6px 4px 0; padding: 6px 10px; color: #fff; background: var(--opa-blue); border-radius: 5px; font-size: 12px; line-height: 1.4; white-space: normal; box-sizing: border-box; }
.orderpickingapp-route-badge .dashicons { width: 14px; height: 14px; font-size: 14px; line-height: 14px; }
.column-taxonomy-pickingroute,
.column-taxonomy-pickingroute .orderpickingapp-route-badge-text { word-break: break-word; }
.orderpickingapp-orders-banner.notice { margin: 16px 0; padding: 0; color: #fff; background: linear-gradient(135deg, var(--opa-navy), #0a4b78); border: 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.orderpickingapp-orders-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 8px 15px; }
.orderpickingapp-orders-banner__text { font-size: 14px; line-height: 1.5; text-align: center; }
.orderpickingapp-orders-banner__text strong { display: block; margin-bottom: 4px; color: #fff; font-size: 18px; }
.orderpickingapp-orders-banner__actions .btn,
.orderpickingapp-orders-banner__actions .button { display: inline-block; padding: 10px 25px; color: #fff; background: var(--opa-green); border: 1px solid var(--opa-green); border-radius: 5px; text-decoration: none; }

@media (min-width: 768px) {
    #orderpickingapp-settings .col-md-6 { width: 50%; }
    #orderpickingapp-settings .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
    #orderpickingapp-settings .col-lg-5 { width: 41.6667%; }
    #orderpickingapp-settings .col-lg-7 { width: 58.3333%; }
}
@media (max-width: 1100px) {
    #orderpickingapp-settings .orderpickingapp-user-grid { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
    #orderpickingapp-settings .orderpickingapp-grid-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
    #orderpickingapp-settings { margin-right: 10px; }
    #orderpickingapp-settings > .tab-content { padding: 16px !important; }
    #orderpickingapp-settings .client_options { padding: 16px; }
    #orderpickingapp-settings .p-5,
    #orderpickingapp-settings .p-50 { padding: 18px; }
    #orderpickingapp-settings .orderpickingapp-user-grid,
    #orderpickingapp-settings .orderpickingapp-grid-2,
    #orderpickingapp-settings .orderpickingapp-grid-overview,
    #orderpickingapp-settings .opa-display-options { grid-template-columns: 1fr; }
    #orderpickingapp-settings .opa-display-url-wrap { flex-direction: column; }
    #orderpickingapp-settings .form-table th,
    #orderpickingapp-settings .form-table td { display: block; width: 100%; }
    #orderpickingapp-settings .form-table th { padding-bottom: 4px; border-bottom: 0; }
}

/* Settings header: keep the logo, API key and barcode in a stable grid. */
#orderpickingapp-settings #api_credentials > .row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 8px 28px;
    margin: 0;
}

#orderpickingapp-settings #api_credentials > .row > img:first-child {
    position: static !important;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    width: 180px !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#orderpickingapp-settings #api_credentials > .row > h5,
#orderpickingapp-settings #api_credentials > .row > strong,
#orderpickingapp-settings #api_credentials > .row > img:not(:first-child) {
    grid-column: 2;
    justify-self: center;
    text-align: center;
}

#orderpickingapp-settings #api_credentials > .row > h5 {
    margin: 0;
}

#orderpickingapp-settings #api_credentials > .row > strong {
    overflow-wrap: anywhere;
}

#orderpickingapp-settings #api_credentials > .row > img:not(:first-child) {
    display: block !important;
    width: auto;
    max-width: min(100%, 500px) !important;
    height: 52px;
    object-fit: fill;
    margin: 6px auto 0 !important;
}

#orderpickingapp-settings #api_credentials > .row > #token,
#orderpickingapp-settings #api_credentials > .row > .client_options {
    grid-column: 1 / -1;
}

#orderpickingapp-settings #api_credentials .client_options {
    margin-top: 18px !important;
}

/* Scanner choices: aligned, clickable-looking option cards. */
#orderpickingapp-settings #api_credentials .form-check:has(input[name="use_barcodescanner"]) {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    margin: 10px 0;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--opa-border);
    border-radius: 10px;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

#orderpickingapp-settings #api_credentials .form-check:has(input[name="use_barcodescanner"]):hover {
    border-color: var(--opa-border-strong);
    box-shadow: 0 3px 10px rgba(16, 24, 40, .06);
}

#orderpickingapp-settings #api_credentials .form-check:has(input[name="use_barcodescanner"]:checked) {
    background: rgba(19, 119, 179, .045);
    border-color: var(--opa-blue);
    box-shadow: 0 0 0 3px rgba(19, 119, 179, .09);
}

#orderpickingapp-settings #api_credentials .form-check input[name="use_barcodescanner"] {
    margin: 0 !important;
}

#orderpickingapp-settings #api_credentials .form-check:has(input[name="use_barcodescanner"]) .form-check-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 62px;
    margin: 0;
    color: var(--opa-text);
    font-size: 14px;
    font-weight: 550;
    cursor: pointer;
}

#orderpickingapp-settings #api_credentials .form-check:has(input[name="use_barcodescanner"]) .form-check-label img {
    flex: 0 0 90px;
    width: 90px;
    max-width: 90px !important;
    max-height: 64px;
    margin: 0;
    object-fit: contain;
}

@media (max-width: 782px) {
    #orderpickingapp-settings #api_credentials > .row {
        grid-template-columns: 1fr;
    }

    #orderpickingapp-settings #api_credentials > .row > img:first-child,
    #orderpickingapp-settings #api_credentials > .row > h5,
    #orderpickingapp-settings #api_credentials > .row > strong,
    #orderpickingapp-settings #api_credentials > .row > img:not(:first-child),
    #orderpickingapp-settings #api_credentials > .row > #token,
    #orderpickingapp-settings #api_credentials > .row > .client_options {
        grid-column: 1;
        grid-row: auto;
    }

    #orderpickingapp-settings #api_credentials > .row > img:first-child {
        width: 150px !important;
        margin-bottom: 8px;
    }

    #orderpickingapp-settings #api_credentials .form-check:has(input[name="use_barcodescanner"]) .form-check-label img {
        flex-basis: 70px;
        width: 70px;
        max-width: 70px !important;
    }
}

/* Inline declarations moved from orderpickingapp-settings-page.php. */
#orderpickingapp-settings .opa-trial-hero {
    background-size: cover;
    background-image: url("../images/bg_opa.jpg");
}

#orderpickingapp-settings .opa-inline-039 {
    text-align: center;
    padding: 20px;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    font-family: Montserrat, sans-serif;
}

#orderpickingapp-settings .opa-inline-038 {
    padding-top: 0 !important;
}

#orderpickingapp-settings .opa-inline-037 {
    background: #fff;
}

#orderpickingapp-settings .opa-inline-036 {
    margin-top: 15px;
}

#orderpickingapp-settings .opa-inline-035 {
    color: #000;
}

#orderpickingapp-settings .opa-inline-034 {
    margin-top: 40px;
}

#orderpickingapp-settings .opa-inline-033 {
    margin: 10px 0;
}

#orderpickingapp-settings .opa-inline-032 {
    width: 224px;
    left: 40px;
    position: absolute;
}

#orderpickingapp-settings .opa-inline-031 {
    text-align: center;
}

#orderpickingapp-settings .opa-inline-030 {
    text-align: center;
    display: block;
    margin: 0 auto;
    max-width: 500px;
}

#orderpickingapp-settings .opa-inline-029 {
    width: 100%;
    margin-top:25px;
}

#orderpickingapp-settings .opa-inline-028 {
    font-size: 14px;
    text-align: center;
    margin: 25px 15%;
}

#orderpickingapp-settings .opa-inline-027 {
    max-width: 100px;
    margin: 10px;
}

#orderpickingapp-settings .opa-inline-026 {
    max-width: 100px;
    margin: 10px;
    display: none;
}

#orderpickingapp-settings .opa-inline-025 {
    margin-top: 5px;
}

#orderpickingapp-settings .opa-inline-024 {
    margin-top: 23px;
}

#orderpickingapp-settings .opa-inline-023 {
    margin-top: 14px;
}

#orderpickingapp-settings .opa-inline-022 {
    margin-top: 33px;
}

#orderpickingapp-settings .opa-inline-021 {
    max-width: 80px;
}

#orderpickingapp-settings .opa-inline-020 {
    border: 1px solid #575757;
    padding: 15px;
    margin-top: 5px;
    border-radius: 10px;
}

#orderpickingapp-settings .opa-inline-019 {
    font-size: 12px;
}

#orderpickingapp-settings .opa-inline-018 {
    min-width: 350px;
}

#orderpickingapp-settings .opa-inline-017 {
    font-size: 13px;
}

#orderpickingapp-settings .opa-inline-016 {
    font-size: 12px;
    margin-top:10px;
}

#orderpickingapp-settings .opa-inline-015 {
    max-width: 500px;
}

#orderpickingapp-settings .opa-inline-014 {
    font-size: 12px;
    margin-top:5px;
}

#orderpickingapp-settings .opa-inline-013 {
    font-size: 11px;
    margin-top: 5px;
}

#orderpickingapp-settings .opa-inline-012 {
    font-size: 14px;
    float: left;
}

#orderpickingapp-settings .opa-inline-011 {
    width: 100%;
}

#orderpickingapp-settings .opa-inline-010 {
    font-size: 14px;
    margin-top: 5px;
}

#orderpickingapp-settings .opa-inline-009 {
    font-size: 24px;
    cursor: grab;
}

#orderpickingapp-settings .opa-inline-008 {
    font-size: 14px;
    float: right;
}

#orderpickingapp-settings .opa-inline-007 {
    font-size: 14px;
    text-align: center;
    margin: 0 15%;
}

#orderpickingapp-settings .opa-inline-006 {
    margin-bottom: 10px;
}

#orderpickingapp-settings .opa-inline-005 {
    list-style: none;
    max-height: 500px;
    overflow: scroll;
}

#orderpickingapp-settings .opa-inline-004 {
    color:#000;
}

#orderpickingapp-settings .opa-inline-003 {
    min-width:150px;
    display:inline-block;
}

#orderpickingapp-settings .opa-inline-002 {
    margin-top: 25px;
}

#orderpickingapp-settings .opa-inline-001 {
    margin: 0;
}

/* ==========================================================================
   Download apps
   ========================================================================== */

.integration-section {
    margin: 40px 0 0;
}
.integration-section .fl-left { float: left; width: 40%; }
.integration-section .fl-right { float: right; width: 40%; margin-right: 25px; }
.integration-section .row {
    gap: 24px 0;
}
.connected-app-single {
    position: relative;
    display: flex;
    align-items: flex-start;
    height: 100%;
    padding: 28px !important;
    background: #fff;
    border: 1px solid #dcdcde !important;
    border-radius: 12px !important;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.connected-app-single:hover {
    border-color: #2271b1 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.connected-app-content {
    width: 100%;
}

.integration-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 14px !important;
}

.integration-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.connected-app-single h5 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
}

.connected-app-single p {
    margin: 0;
    color: #50575e;
    line-height: 1.6;
    font-size: 14px;
}

.integration-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px !important;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    background: #edf4ff !important;
    color: #2271b1 !important;
}

.connected-app-single:hover .integration-badge {
    background: #2271b1 !important;
    color: #fff !important;
}

@media (max-width: 782px) {

    .connected-app-single {
        padding: 22px !important;
    }

    .integration-badge {
        position: static;
        display: inline-flex;
        margin-top: 18px;
    }

    .integration-logo {
        width: 56px;
        height: 56px;
    }

    .integration-logo img {
        width: 34px;
        height: 34px;
    }
}