.theme-refresh {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 28%),
        linear-gradient(180deg, #e6e7ea 0%, #f1f2f4 42%, #e7e9ec 100%);
    color: #2e3136;
    font-family: "Segoe UI", "Helvetica Neue", "Trebuchet MS", sans-serif;
}

.theme-refresh .navbar-default {
    background: linear-gradient(135deg, #b7bbc1 0%, #c7cbd1 55%, #d7dbe0 100%);
    border-color: rgba(126, 131, 139, 0.22);
    box-shadow: 0 10px 24px rgba(35, 37, 41, 0.06);
}

.theme-refresh .navbar-default .navbar-brand,
.theme-refresh .navbar-default .navbar-nav > li > a {
    color: #2f343a;
}

.theme-refresh .app-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-refresh .navbar-btn-mobile {
    display: none;
    margin: 13px 10px 0 0;
    border-radius: 10px;
}

.theme-refresh .navbar-user-mobile {
    display: none;
    color: #2f343a;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    margin-left: auto;
    margin-right: 10px;
}

.theme-refresh .navbar-default .navbar-nav > li > a:hover,
.theme-refresh .navbar-default .navbar-nav > li > a:focus,
.theme-refresh .navbar-default .navbar-brand:hover {
    color: #1f2429;
    background-color: rgba(255, 255, 255, 0.14);
}

.theme-refresh .navbar-default .navbar-toggle {
    border-color: rgba(47, 52, 58, 0.18);
}

.theme-refresh .navbar-default .navbar-toggle .icon-bar {
    background-color: #2f343a;
}

.theme-refresh #contenido.container,
.theme-refresh footer.container,
.theme-refresh > .container {
    position: relative;
}

.theme-refresh .container {
    width: 94%;
    max-width: 1440px;
}

.theme-refresh h2 {
    margin-bottom: 20px;
    color: #2d3035;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.theme-refresh .table-responsive,
.theme-refresh .well,
.theme-refresh .modal-content,
.theme-refresh .alert,
.theme-refresh .panel,
.theme-refresh .dropdown-menu {
    border: 1px solid rgba(47, 50, 56, 0.10);
    box-shadow: 0 12px 34px rgba(31, 34, 39, 0.10);
    border-radius: 14px;
}

.theme-refresh .table-responsive {
    background: rgba(255, 255, 255, 0.92);
    overflow-x: auto;
    overflow-y: hidden;
    clear: both;
}

.theme-refresh .table {
    margin-bottom: 0;
    background: transparent;
}

.theme-refresh .table > thead > tr > th,
.theme-refresh .table > tfoot > tr > th {
    background: #eceef1;
    color: #2c3036;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    vertical-align: middle;
}

.theme-refresh .table > thead > tr > th {
    border-bottom: 2px solid #d7dade;
    border-top: 0;
}

.theme-refresh .table > tfoot > tr > th {
    border-top: 2px solid #d7dade;
}

.theme-refresh .table > tbody > tr > td {
    border-top: 1px solid #e3e5e8;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.86);
}

.theme-refresh .table-striped > tbody > tr:nth-of-type(odd) > td {
    background: rgba(246, 247, 248, 0.95);
}

.theme-refresh .table-hover > tbody > tr:hover > td {
    background: #f0f1f3;
}

.theme-refresh .table > tbody > tr.basket-row-active > td,
.theme-refresh .table-striped > tbody > tr.basket-row-active:nth-of-type(odd) > td,
.theme-refresh .table-hover > tbody > tr.basket-row-active:hover > td {
    background: #f6efcf;
}

.theme-refresh .btn {
    border-radius: 10px;
    border-width: 0;
    box-shadow: 0 7px 16px rgba(33, 35, 39, 0.12);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.theme-refresh .btn:hover,
.theme-refresh .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(33, 35, 39, 0.16);
}

.theme-refresh .btn-default {
    background: linear-gradient(135deg, #cfd5dc 0%, #bcc4cd 100%);
    color: #2f343a;
}

.theme-refresh .btn-default:hover,
.theme-refresh .btn-default:focus {
    background: linear-gradient(135deg, #c4ccd5 0%, #aeb8c3 100%);
    color: #2a2f35;
}

.theme-refresh .btn-primary {
    background: linear-gradient(135deg, #7a7f87 0%, #656971 100%);
}

.theme-refresh .btn-success {
    background: linear-gradient(135deg, #5d8c63 0%, #4a7250 100%);
}

.theme-refresh .btn-info {
    background: linear-gradient(135deg, #8a8f97 0%, #72767d 100%);
}

.theme-refresh .btn-warning {
    background: linear-gradient(135deg, #b8824b 0%, #a26d3e 100%);
    color: #fff;
}

.theme-refresh .btn-danger {
    background: linear-gradient(135deg, #b64b55 0%, #9d3943 100%);
}

.theme-refresh .form-control,
.theme-refresh .input-group-addon,
.theme-refresh .bootstrap-select .btn {
    border-radius: 10px;
}

.theme-refresh .form-control {
    border: 1px solid #d2d5da;
    box-shadow: inset 0 1px 2px rgba(26, 28, 32, 0.04);
}

.theme-refresh .form-control:focus {
    border-color: #b64b55;
    box-shadow: 0 0 0 3px rgba(182, 75, 85, 0.14);
}

.theme-refresh .label {
    border-radius: 999px;
    padding: .4em .8em .45em;
}

.theme-refresh .pagination > li > a,
.theme-refresh .pagination > li > span {
    border: 1px solid #bcc4cc;
    color: #353b42;
    background: #d3d8de;
    margin: 0 2px;
    border-radius: 9px;
}

.theme-refresh .pagination > .active > a,
.theme-refresh .pagination > .active > span,
.theme-refresh .pagination > .active > a:hover,
.theme-refresh .pagination > .active > span:hover,
.theme-refresh .pagination > .active > a:focus,
.theme-refresh .pagination > .active > span:focus {
    background: #7d858d;
    color: #fff;
}

.theme-refresh .modal-header {
    background: linear-gradient(135deg, #f0f1f3 0%, #fafafb 100%);
    border-bottom-color: #dee1e5;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.theme-refresh .modal-footer {
    background: #f7f8f9;
    border-top-color: #e4e6e9;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.theme-refresh .app-brand-main,
.theme-refresh .app-brand-auth {
    padding: 5px 0 !important;
    margin: 6px 0 !important;
}

.theme-refresh .app-brand-main-image {
    width: auto;
    height: 30px;
}

.theme-refresh .app-brand-auth-image {
    width: auto;
    height: 26px;
}

.theme-refresh .global-hidden-alert {
    display: none;
}

.theme-refresh .app-content-offset {
    margin-top: 75px;
}

.theme-refresh .login-footer-copy-row {
    margin-top: 5px;
}

.modal-dialog.modal-articulo-wide {
    width: 98% !important;
    max-width: 1520px !important;
    margin: 12px auto !important;
}

.modal-dialog.modal-articulo-wide .modal-content {
    width: 100%;
}

.theme-refresh .article-modal-layout .panel {
    margin-bottom: 14px;
}

.theme-refresh .article-modal-layout .panel-heading .fa {
    margin-right: 8px;
    color: #6a7480;
}

.theme-refresh .article-modal-layout .article-image-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.theme-refresh .article-modal-layout .article-image-panel-heading strong {
    display: inline-flex;
    align-items: center;
}

.theme-refresh .article-modal-layout .article-status-panel .row + .row,
.theme-refresh .article-modal-layout .article-logistics-panel {
    margin-top: 14px;
}

.theme-refresh .article-modal-layout .article-image-button {
    width: auto;
    min-width: 152px;
    margin: 0;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 10px;
    background: #4f87b5;
    border-color: #44789f;
    color: #fff;
    box-shadow: none;
}

.theme-refresh .article-modal-layout .article-image-button .fa {
    color: #fff;
}

.theme-refresh .article-modal-layout .remove-file.article-image-button {
    background: linear-gradient(135deg, #b64b55 0%, #9d3943 100%);
    border-color: #9d3943;
}

.theme-refresh .article-modal-layout .article-image-preview {
    width: 94%;
    min-height: 240px;
    margin: 0 auto;
    padding: 12px;
    border: 1px dashed #cfd7df;
    border-radius: 6px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-refresh .article-modal-layout .article-image-preview img {
    max-width: 100%;
    max-height: 210px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.theme-refresh .article-modal-layout .article-image-preview-inner {
    width: 100%;
    text-align: center;
}

@media (max-width: 991px) {
    .modal-dialog.modal-articulo-wide {
        width: auto;
        max-width: none;
    }

    .theme-refresh .article-modal-layout .article-image-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

.theme-refresh .well {
    background: rgba(255, 255, 255, 0.88);
}

.theme-refresh .footer-support {
    background: linear-gradient(135deg, rgba(106, 111, 118, 0.96) 0%, rgba(130, 135, 142, 0.96) 100%);
    color: #f0f2f4;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.theme-refresh .footer-support a,
.theme-refresh .footer-support small,
.theme-refresh .footer-support .fa {
    color: #f0f2f4;
}

.theme-refresh .footer-support .row > div {
    text-align: center;
}

.theme-refresh .footer-support .col-xs-12 {
    line-height: 1.6;
}

.theme-refresh .alert-success {
    background: #eef1ee;
    border-color: #d8ddd8;
    color: #4b5750;
}

.theme-refresh .alert-danger {
    background: #f6ecee;
    border-color: #e9d0d4;
    color: #8b434b;
}

.theme-refresh .alert-warning {
    background: #f4f0ea;
    border-color: #e6d9c9;
    color: #7d6344;
}

.theme-refresh .alert-info {
    background: #eceff3;
    border-color: #d8dde3;
    color: #505a66;
}

.theme-refresh .article-thumb-image,
.theme-refresh .article-thumb-placeholder {
    border-radius: 12px;
}

.theme-refresh .article-data-code {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
}

.theme-refresh .article-data-meta-separator {
    display: inline-block;
    margin: 0 6px;
    color: #99a1aa;
}

.theme-refresh .article-data-code-cliente {
    color: #5c4d2d;
}

.theme-refresh .article-data-code-pp {
    color: #4b5968;
}

.theme-refresh .article-data-inline-warning {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #9a5e2f;
}

.theme-refresh .article-data-inline-alert {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #337ab7;
}

.theme-refresh .article-data-expiry {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

.theme-refresh .article-data-expiry-danger {
    color: #a13f48;
}

.theme-refresh .article-data-expiry-warning {
    color: #9a5e2f;
}

.theme-refresh .article-data-inline-warning .fa,
.theme-refresh .article-data-inline-alert .fa,
.theme-refresh .article-data-expiry .fa,
.theme-refresh .article-stock-scope .fa {
    margin-right: 4px;
}

.theme-refresh .article-stock-scope {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #7a6a43;
}

.theme-refresh .article-stock-center {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.theme-refresh .article-stock-value {
    font-size: 12px;
    font-weight: 700;
    color: #337ab7;
}

.theme-refresh .article-stock-context {
    margin-top: 12px;
    margin-bottom: 16px;
}

.theme-refresh .article-stock-context-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.theme-refresh .article-stock-context-action {
    flex: 0 0 auto;
}

.theme-refresh .article-stock-context-action .btn {
    background: #b8c4cf;
    color: #2f5d7c;
    border: 0;
    box-shadow: none;
}

.theme-refresh .article-stock-context-action .btn:hover,
.theme-refresh .article-stock-context-action .btn:focus {
    background: #aab8c5;
    color: #2f5d7c;
}

.theme-refresh .label-info {
    background-color: #b24b54;
}

.theme-refresh .label-warning {
    background-color: #9f6c41;
}

.theme-refresh .btn-excel {
    background: linear-gradient(135deg, #6f9b61 0%, #557c48 100%);
    color: #fff;
}

.theme-refresh .btn-excel:hover,
.theme-refresh .btn-excel:focus {
    color: #fff;
}

.theme-refresh .btn-excel-alt {
    background: linear-gradient(135deg, #7eab73 0%, #64895a 100%);
    color: #fff;
}

.theme-refresh .btn-excel-alt:hover,
.theme-refresh .btn-excel-alt:focus {
    color: #fff;
}

.theme-refresh .page-title-with-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.theme-refresh .page-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    vertical-align: middle;
}

.theme-refresh .page-toolbar .btn,
.theme-refresh .page-toolbar .fileinput-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    box-sizing: border-box;
    white-space: nowrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.theme-refresh .page-toolbar .btn .fa,
.theme-refresh .page-toolbar .fileinput-button .fa {
    margin-right: 4px;
}

.theme-refresh .page-toolbar .btn:hover,
.theme-refresh .page-toolbar .btn:focus,
.theme-refresh .page-toolbar .fileinput-button:hover,
.theme-refresh .page-toolbar .fileinput-button:focus {
    transform: none;
}

.theme-refresh .order-postal-separator {
    margin: 14px 0 18px;
    border-top: 1px solid #d9dee4;
}

.theme-refresh .basket-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.theme-refresh .basket-counter {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #eceef1;
    color: #3d434a;
    font-weight: 700;
}

.theme-refresh .basket-toolbar {
    justify-content: flex-end;
}

.theme-refresh .basket-toolbar #BtnHacerPedido {
    background: linear-gradient(135deg, #7e97ad 0%, #687f93 100%);
    color: #fff;
    padding: 8px 12px;
    min-height: 0;
    line-height: 1.42857143;
}

.theme-refresh .basket-toolbar #BtnHacerPedido:hover,
.theme-refresh .basket-toolbar #BtnHacerPedido:focus {
    background: linear-gradient(135deg, #738ba0 0%, #5d7386 100%);
    color: #fff;
}

.theme-refresh .AddCesta,
.theme-refresh .AniadirCesta {
    background: linear-gradient(135deg, #7e97ad 0%, #687f93 100%);
    color: #fff;
}

.theme-refresh .AddCesta:hover,
.theme-refresh .AddCesta:focus,
.theme-refresh .AniadirCesta:hover,
.theme-refresh .AniadirCesta:focus {
    background: linear-gradient(135deg, #738ba0 0%, #5d7386 100%);
    color: #fff;
}

.theme-refresh .btn-order-submit {
    background: linear-gradient(135deg, #5a93c2 0%, #3f739f 100%);
    color: #fff;
}

.theme-refresh .btn-order-submit:hover,
.theme-refresh .btn-order-submit:focus {
    color: #fff;
}

.theme-refresh .order-form-actions {
    justify-content: flex-end;
}

.theme-refresh .modal-form-actions {
    gap: 8px;
    justify-content: flex-end;
}

.theme-refresh .modal-form-actions .btn {
    padding: 8px 12px;
    font-weight: 600;
}

.theme-refresh .basket-action-icon {
    padding: 3px 0;
}

.theme-refresh .basket-bottom-spacer {
    margin: 10px 0;
}

.theme-refresh .order-download-warning {
    color: #d88700;
    font-weight: 700;
}

.theme-refresh .transfer-data-panel.hidden {
    display: none;
}

.theme-refresh .transfer-page-header {
    margin-bottom: 8px;
}

.theme-refresh .transfer-page-intro {
    margin: 8px 0 0;
    max-width: 820px;
    color: #586574;
    font-size: 14px;
}

.theme-refresh .transfer-page-alert {
    margin-bottom: 18px;
}

.theme-refresh .transfer-grid {
    margin-bottom: 4px;
}

.theme-refresh .transfer-panel {
    overflow: hidden;
    min-height: 100%;
    border: 1px solid #d8dde4;
    box-shadow: 0 10px 26px rgba(41, 52, 64, 0.08);
}

.theme-refresh .transfer-panel .panel-heading {
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(216, 221, 228, 0.9);
}

.theme-refresh .transfer-panel .panel-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.theme-refresh .transfer-panel-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(47, 52, 58, 0.08);
    color: #586574;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-refresh .transfer-panel-summary {
    margin: 10px 0 0;
    color: #586574;
    line-height: 1.55;
}

.theme-refresh .transfer-panel-body {
    padding: 20px 22px;
}

.theme-refresh .transfer-search-row,
.theme-refresh .transfer-article-meta,
.theme-refresh .transfer-upload-row {
    margin-bottom: 6px;
}

.theme-refresh .transfer-action-well {
    margin: 10px 0 0;
    padding: 18px 18px 12px;
    border: 1px solid #dce3ea;
    background: linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-refresh .transfer-action-header {
    margin-bottom: 14px;
}

.theme-refresh .transfer-field-card {
    min-height: 100%;
    padding: 14px;
    border: 1px solid #d8dde4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(41, 52, 64, 0.05);
}

.theme-refresh .transfer-section-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
}

.theme-refresh .transfer-section-copy {
    color: #586574;
    font-size: 14px;
    line-height: 1.6;
}

.theme-refresh .transfer-panel-half .transfer-section-copy {
    min-height: 46px;
}

.theme-refresh .transfer-action-cell {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.theme-refresh .transfer-action-cell .btn,
.theme-refresh .transfer-full-button,
.theme-refresh .transfer-equal-button {
    width: 100%;
}

.theme-refresh .transfer-message-block {
    margin-top: 14px;
}

.theme-refresh .transfer-message-block .alert:last-child {
    margin-bottom: 0;
}

.theme-refresh .transfer-inline-alert {
    margin: 0;
}

.theme-refresh .transfer-stock-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #fff8ee 0%, #fff2df 100%);
    border-color: #e6cfab;
    box-shadow: 0 16px 28px rgba(156, 122, 74, 0.12);
}

.theme-refresh .transfer-stock-card:before {
    content: "";
    position: absolute;
    top: -36px;
    right: -24px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(212, 175, 120, 0.16);
    pointer-events: none;
}

.theme-refresh .transfer-stock-summary-row {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.theme-refresh .transfer-stock-summary-block {
    flex: 1 1 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(205, 184, 154, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-refresh .transfer-stock-summary-block-full {
    max-width: 180px;
}

.theme-refresh .transfer-stock-summary-label {
    display: block;
    color: #85684a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.theme-refresh .transfer-stock-summary-value {
    display: block;
    margin-top: 6px;
    color: #7b5b3c;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.theme-refresh .transfer-stock-note {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: #6f7a84;
    font-size: 12px;
    line-height: 1.45;
}

.theme-refresh .transfer-quantity-label {
    display: block;
    margin-top: 14px;
}

.theme-refresh .transfer-upload-button {
    width: 100%;
    justify-content: center;
    min-height: 58px;
    padding: 12px 16px !important;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    border-width: 1px;
    box-shadow: 0 10px 18px rgba(41, 52, 64, 0.12);
}

.theme-refresh .transfer-upload-button .fa {
    margin-right: 6px;
}

.theme-refresh .transfer-equal-button {
    min-height: 58px;
    padding: 12px 16px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    border-width: 1px;
    box-shadow: 0 10px 18px rgba(41, 52, 64, 0.12);
    background: linear-gradient(180deg, #5f9470 0%, #4b7d5c 100%);
    border-color: #416f51;
    color: #fff;
}

.theme-refresh .transfer-equal-button:hover,
.theme-refresh .transfer-equal-button:focus {
    background: linear-gradient(180deg, #568a67 0%, #447354 100%);
    border-color: #3b644a;
    color: #fff;
}

.theme-refresh .transfer-equal-button .fa {
    margin-right: 6px;
}

.theme-refresh .transfer-panel.panel-danger .transfer-upload-button {
    background: linear-gradient(180deg, #d46870 0%, #bb515b 100%);
    border-color: #a84b53;
    color: #fff;
}

.theme-refresh .transfer-panel.panel-danger .transfer-upload-button:hover,
.theme-refresh .transfer-panel.panel-danger .transfer-upload-button:focus {
    background: linear-gradient(180deg, #c95e67 0%, #ac4852 100%);
    border-color: #974048;
    color: #fff;
}

.theme-refresh .transfer-panel.panel-primary .transfer-upload-button {
    background: linear-gradient(180deg, #6f8faa 0%, #597790 100%);
    border-color: #4f6c84;
    color: #fff;
}

.theme-refresh .transfer-panel.panel-primary .transfer-upload-button:hover,
.theme-refresh .transfer-panel.panel-primary .transfer-upload-button:focus {
    background: linear-gradient(180deg, #6686a1 0%, #506e87 100%);
    border-color: #48647a;
    color: #fff;
}

.theme-refresh .transfer-panel .bootstrap-select,
.theme-refresh .transfer-panel .bootstrap-select > .dropdown-toggle {
    width: 100% !important;
}

.theme-refresh .transfer-action-well label,
.theme-refresh .transfer-panel-body label {
    color: #566573;
    font-weight: 700;
}

.theme-refresh .transfer-action-well select.form-control,
.theme-refresh .transfer-action-well .input-group,
.theme-refresh .transfer-panel-body .transfer-full-button {
    margin-top: 4px;
}

.theme-refresh .transfer-action-well > .row > div,
.theme-refresh .transfer-panel-body > .row > div {
    margin-bottom: 8px;
}

.theme-refresh .transfer-quantity-group .form-control {
    min-width: 110px;
}

.theme-refresh .transfer-quantity-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theme-refresh .transfer-confirm-button-full {
    width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
}

.theme-refresh .transfer-equal-body {
    min-height: 350px;
    height: auto;
}

.theme-refresh .transfer-upload-result {
    padding: 16px;
}

.theme-refresh .transfer-upload-result-success {
    background: linear-gradient(180deg, #f2f8f3 0%, #f8fcf8 100%);
    border-color: #cfe0d1;
}

.theme-refresh .transfer-upload-result-error {
    background: linear-gradient(180deg, #fbf2f3 0%, #fff8f8 100%);
    border-color: #e5cfd2;
}

.theme-refresh .transfer-upload-result-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(47, 52, 58, 0.08);
    color: #586574;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-refresh .transfer-upload-result-summary {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.theme-refresh .transfer-upload-result-metric {
    flex: 1 1 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(205, 184, 154, 0.32);
}

.theme-refresh .transfer-upload-result-label {
    display: block;
    color: #6f7a84;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.theme-refresh .transfer-upload-result-value {
    display: block;
    margin-top: 6px;
    color: #3d4b58;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
}

.theme-refresh .transfer-upload-result-note {
    color: #5f6d7a;
    font-size: 13px;
    line-height: 1.5;
}

.theme-refresh .transfer-upload-result-messages {
    margin-top: 12px;
}

.theme-refresh .transfer-upload-result-messages .alert {
    margin-bottom: 10px;
}

.theme-refresh .app-inline-progress .progress-bar,
.theme-refresh .app-loading-progress .progress-bar {
    width: 100%;
}

.theme-refresh .panel-toggle-heading {
    cursor: pointer;
}

.theme-refresh .user-stock-scroll {
    max-height: 600px;
    overflow: auto;
}

.theme-refresh .order-postal-help {
    margin-bottom: 18px;
}

.theme-refresh .order-form-actions-row {
    margin: 15px 0 5px;
}

.theme-refresh .order-context-strip {
    margin: 0 0 18px;
    padding: 14px 18px 2px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 50, 56, 0.08);
}

.theme-refresh .order-context-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #7b828b;
}

.theme-refresh .order-context-value {
    min-height: 22px;
    font-size: 16px;
    font-weight: 600;
    color: #2f343a;
}

.theme-refresh .shipping-help-text {
    margin: 34px 0 0;
}

.theme-refresh .required-mark {
    color: #b64b55;
    margin-left: 4px;
}

.theme-refresh .order-trace-list {
    margin-top: -6px;
}

.theme-refresh .order-trace-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #d8dde4;
}

.theme-refresh .order-trace-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.theme-refresh .order-trace-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.theme-refresh .order-trace-date {
    white-space: nowrap;
    font-size: 13px;
    color: #6f7782;
}

.theme-refresh .trace-waiting .order-trace-status {
    color: #b94a48;
}

.theme-refresh .trace-delivered .order-trace-status {
    color: #3c763d;
}

.theme-refresh .trace-closed .order-trace-status {
    color: #6c757d;
}

.theme-refresh .trace-default .order-trace-status {
    color: #31708f;
}

.theme-refresh .trace-empty {
    color: #6f7782;
    padding: 4px 0;
}

.theme-refresh .form-group .help-block.form-error,
.theme-refresh .form-group .help-block.form-error * {
    color: #b64b55;
}

.theme-refresh .form-group .help-block.form-error {
    margin-left: 4px;
}

.theme-refresh #modalFormulario .modal-dialog.modal-dialog-update.modal-dialog-order-wide,
.theme-refresh #modalInfo .modal-dialog.modal-dialog-update.modal-dialog-order-wide {
    width: 94% !important;
    max-width: 1320px !important;
    margin: 12px auto !important;
}

.theme-refresh .order-detail-article-name {
    margin-top: 6px;
}

.theme-refresh .order-detail-family {
    line-height: 1.45;
}

.theme-refresh .order-detail-division {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #9a6a2f;
}

.theme-refresh .order-detail-quantity {
    font-size: 18px;
    font-weight: 700;
    color: #5a93c2;
    text-align: center;
}

.theme-refresh .mass-destruction-button {
    padding: 8px !important;
}

.theme-refresh .destructions-message-row {
    margin-top: 15px;
}

.theme-refresh .bulk-error-list {
    text-align: left;
}

.theme-refresh .transfer-confirm-button {
    padding: 9px;
}

.theme-refresh .transfer-confirm-button .fa {
    margin-right: 2px;
}

.theme-refresh .transfer-panel.panel-info .panel-heading {
    background: linear-gradient(180deg, #edf6fb 0%, #f8fbfd 100%);
}

.theme-refresh .transfer-panel.panel-warning .panel-heading {
    background: linear-gradient(180deg, #fff5e6 0%, #fffaf1 100%);
}

.theme-refresh .transfer-panel.panel-danger .panel-heading {
    background: linear-gradient(180deg, #fff0f0 0%, #fff8f8 100%);
}

.theme-refresh .transfer-panel.panel-primary .panel-heading {
    background: linear-gradient(180deg, #eef4fb 0%, #f8fbfe 100%);
}

.theme-refresh .transfer-panel.panel-primary .panel-title,
.theme-refresh .transfer-panel.panel-primary .transfer-panel-summary,
.theme-refresh .transfer-panel.panel-primary .transfer-panel-kicker {
    color: #4f647b;
}

.theme-refresh .transfer-panel.panel-success .panel-heading {
    background: linear-gradient(180deg, #eef8f2 0%, #f8fcf9 100%);
}

.theme-refresh .transfer-panel.panel-success .transfer-action-cell {
    padding-top: 25px;
}

@media (min-width: 992px) {
    .theme-refresh .article-header-row {
        display: flex;
        align-items: center;
    }

    .theme-refresh .article-header-row .article-header-main,
    .theme-refresh .article-header-row .article-header-side {
        float: none;
    }

    .theme-refresh .article-header-row .article-header-main h2 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .theme-refresh .article-header-row .article-header-side {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .theme-refresh .article-filter-row {
        margin-top: 30px;
    }

    .theme-refresh .article-filter-row .article-delegate-filter {
        float: right;
    }
}

@media (min-width: 768px) {
    .theme-refresh .navbar-default .navbar-nav {
        display: flex;
        align-items: stretch;
    }

    .theme-refresh .navbar-default .navbar-nav > li {
        display: flex;
        align-items: stretch;
    }

    .theme-refresh .navbar-default .navbar-nav > li > a {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .theme-refresh .navbar-default .navbar-nav > li > a:hover,
    .theme-refresh .navbar-default .navbar-nav > li > a:focus {
        background-color: rgba(255, 255, 255, 0.18);
        color: #1f2429;
    }

    .theme-refresh .navbar-default .navbar-nav > li > a .fa,
    .theme-refresh .navbar-default .navbar-nav > li > a .glyphicon {
        margin-right: 8px;
    }

    .theme-refresh .app-brand {
        min-height: 52px;
        margin: 2px 0 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .theme-refresh #modalFormulario .modal-dialog.modal-dialog-update.modal-dialog-order-wide,
    .theme-refresh #modalInfo .modal-dialog.modal-dialog-update.modal-dialog-order-wide {
        width: auto !important;
        max-width: none !important;
        margin: 10px !important;
    }

    .theme-refresh .order-context-strip .form-group:last-child {
        margin-bottom: 0;
    }

    .theme-refresh .shipping-help-text {
        margin-top: 4px;
    }

    .theme-refresh .order-trace-row {
        display: block;
    }

    .theme-refresh .order-trace-date {
        display: block;
        margin-top: 4px;
    }
    .theme-refresh .page-title-with-actions {
        align-items: flex-start;
    }

    .theme-refresh .page-toolbar {
        margin: 12px 0 0;
    }

    .theme-refresh .transfer-panel-body {
        padding: 18px 16px;
    }

    .theme-refresh .transfer-action-cell {
        display: block;
    }

    .theme-refresh .transfer-panel .panel-heading {
        padding: 16px 16px 12px;
    }

    .theme-refresh .transfer-panel .panel-title {
        font-size: 18px;
    }

    .theme-refresh .transfer-panel-half .transfer-section-copy {
        min-height: 0;
    }

    .theme-refresh .transfer-panel.panel-success .transfer-action-cell {
        padding-top: 0;
    }

    .theme-refresh .transfer-stock-summary-row {
        display: block;
    }

    .theme-refresh .transfer-stock-summary-block + .transfer-stock-summary-block {
        margin-top: 8px;
    }
}

.theme-refresh .table-responsive + .row {
    clear: both;
    margin-top: 2px;
    margin-bottom: 10px;
}

.theme-refresh > .container div[class*="_Pagination"],
.theme-refresh #contenido div[class*="_Pagination"] {
    margin-bottom: 10px;
}

.theme-refresh .table-responsive + .row > div[class*="_Pagination"] {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    text-align: right;
}

.theme-refresh div[class*="_Pagination"] + div[style] + .table-responsive {
    margin-top: 0 !important;
}

.theme-refresh .filter-grid > [class*="col-"] {
    margin-bottom: 14px;
}

.theme-refresh .table-action-group {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
}

.theme-refresh .table-action-group > .btn,
.theme-refresh td .btn-group > .btn {
    float: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px !important;
    min-width: 34px;
    min-height: 34px;
}

.theme-refresh .table-action-group.btn-group > .btn + .btn,
.theme-refresh td .btn-group.table-action-group > .btn + .btn,
.theme-refresh td .btn-group > .btn + .btn {
    margin-left: 0;
}

.theme-refresh td .btn-group {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.theme-refresh .table-action-group .ModalForm.btn-primary,
.theme-refresh td .btn-group .ModalForm.btn-primary,
.theme-refresh .table-action-group .ModalForm.btn-info,
.theme-refresh td .btn-group .ModalForm.btn-info,
.theme-refresh .table-action-group .action-edit-button,
.theme-refresh td .btn-group .action-edit-button {
    background: linear-gradient(135deg, #5a93c2 0%, #3f739f 100%);
    color: #fff;
}

.theme-refresh .table-action-group > .btn:hover,
.theme-refresh .table-action-group > .btn:focus,
.theme-refresh td .btn-group > .btn:hover,
.theme-refresh td .btn-group > .btn:focus {
    transform: none;
}

.delegate-typeahead-item {
    margin: 0;
    line-height: 1.25;
}

.delegate-typeahead-name {
    display: block;
    font-size: 15px;
    color: #2f343a;
}

.delegate-typeahead-meta {
    display: block;
    font-size: 11px;
}

.delegate-typeahead-delegacion {
    color: #9f6c41;
    font-weight: 600;
}

.delegate-typeahead-division {
    color: #b24b54;
    font-weight: 600;
}

.article-typeahead-item {
    margin: 0;
    line-height: 1.25;
}

.theme-refresh .tt-suggestion {
    border-bottom: 1px solid #e3e8ee;
}

.theme-refresh .tt-suggestion:last-child {
    border-bottom: 0;
}

.article-typeahead-codes {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.article-typeahead-code-pp {
    color: #55748d;
}

.article-typeahead-code-client {
    margin-left: 8px;
    color: #8b6d50;
}

.article-typeahead-name {
    display: block;
    font-size: 15px;
    color: #2f343a;
}

.article-typeahead-meta {
    display: block;
    margin-top: 2px;
    font-size: 11px;
}

.article-typeahead-division {
    color: #b24b54;
    font-weight: 600;
}

.article-typeahead-family {
    color: #687784;
    font-weight: 600;
}

.basket-action-icon {
    padding: 3px 0;
}

.basket-toolbar.is-hidden {
    display: none;
}

.app-loading-progress-bar {
    width: 100%;
}

.user-inline-meta {
    color: #2f5d7c;
    font-weight: 600;
}

.farmacia-status-row {
    margin-top: 3px;
}

.btn-number-handle {
    cursor: pointer;
}

.datatable-pagination-list {
    margin: 5px 0;
}

.datatable-hidden-reload {
    display: none;
}

.datatable-table {
    background-color: #fff;
}

.main-navbar-menu {
    margin-left: 20px;
}

.legacy-pagination {
    margin-bottom: 3px;
}

.theme-refresh.login-page {
    min-height: 100vh;
}

.theme-refresh.login-page .login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 0;
}

.theme-refresh.login-page .login-card {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(47, 50, 56, 0.10);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(31, 34, 39, 0.12);
    overflow: hidden;
}

.theme-refresh.login-page .login-hero {
    padding: 34px 34px 26px;
    background:
        linear-gradient(135deg, rgba(169, 69, 79, 0.10) 0%, rgba(255, 255, 255, 0.0) 45%),
        linear-gradient(180deg, rgba(246, 247, 248, 0.98) 0%, rgba(238, 240, 242, 0.96) 100%);
    border-bottom: 1px solid #e0e3e6;
}

.theme-refresh.login-page .login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 24px rgba(31, 34, 39, 0.08);
    margin-bottom: 18px;
}

.theme-refresh.login-page .login-logo img {
    height: 34px;
    width: auto;
}

.theme-refresh.login-page .login-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    color: #2d3035;
}

.theme-refresh.login-page .login-subtitle {
    margin: 0;
    color: #5f666e;
    font-size: 15px;
    line-height: 1.6;
}

.theme-refresh.login-page .login-form-wrap {
    padding: 28px 34px 34px;
}

.theme-refresh.login-page .login-form .form-group {
    margin-bottom: 16px;
}

.theme-refresh.login-page .login-form .form-control {
    height: 46px;
}

.theme-refresh.login-page .login-form .btn {
    min-width: 140px;
    height: 44px;
}

.theme-refresh.login-page .login-media {
    padding: 0 34px 34px;
    min-height: 100%;
    display: flex;
    align-items: center;
}

.theme-refresh.login-page .login-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(31, 34, 39, 0.10);
}

.theme-refresh.login-page .login-alert {
    margin-bottom: 18px;
}

.theme-refresh.login-page .login-support {
    padding: 24px 34px 26px;
    background: linear-gradient(135deg, #5b6068 0%, #767c84 100%);
    color: #eef1f4;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.theme-refresh.login-page .login-support a,
.theme-refresh.login-page .login-support .fa {
    color: #ffffff;
}

.theme-refresh .footer-support-item,
.theme-refresh.login-page .login-support-item {
    text-align: center;
    line-height: 1.7;
    min-height: 52px;
}

.theme-refresh .footer-support-note,
.theme-refresh.login-page .login-support-note {
    display: inline-block;
    font-size: 11px;
    color: rgba(238, 241, 244, 0.84);
}

.theme-refresh .footer-support-copy,
.theme-refresh.login-page .login-support-copy {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right;
    font-size: 12px;
    color: rgba(238, 241, 244, 0.86);
}

#datatable_direcciones th:nth-child(3),
#datatable_direcciones th:nth-child(4),
#datatable_direcciones th:nth-child(5),
#datatable_direcciones th:last-child,
#datatable_direcciones td:nth-child(3),
#datatable_direcciones td:nth-child(4),
#datatable_direcciones td:nth-child(5),
#datatable_direcciones td:last-child {
    text-align: center;
}

#datatable_usuarios th:nth-child(3),
#datatable_usuarios th:nth-child(4),
#datatable_usuarios th:nth-child(5),
#datatable_usuarios th:nth-child(6),
#datatable_usuarios td:nth-child(3),
#datatable_usuarios td:nth-child(4),
#datatable_usuarios td:nth-child(5),
#datatable_usuarios td:nth-child(6) {
    text-align: center;
}

#datatable_farmacias th:nth-child(1),
#datatable_farmacias th:nth-child(4),
#datatable_farmacias th:nth-child(5),
#datatable_farmacias th:nth-child(6),
#datatable_farmacias th:last-child,
#datatable_farmacias td:nth-child(1),
#datatable_farmacias td:nth-child(4),
#datatable_farmacias td:nth-child(5),
#datatable_farmacias td:nth-child(6),
#datatable_farmacias td:last-child {
    text-align: center;
}

#datatable_stock th,
#datatable_stock td {
    text-align: center;
}

#datatable_stock th:nth-child(2),
#datatable_stock td:nth-child(2) {
    text-align: left;
}

@media (min-width: 992px) {
    .theme-refresh.login-page .login-card > .row {
        display: flex;
        align-items: stretch;
    }

    .theme-refresh.login-page .login-card > .row > [class*="col-"] {
        float: none;
    }

    .theme-refresh.login-page .login-card > .row > .col-md-7 {
        display: flex;
        align-items: center;
    }

    .theme-refresh.login-page .login-media {
        width: 100%;
        padding-top: 34px;
        padding-bottom: 34px;
    }
}

.theme-refresh .row > div[class*="_Pagination"],
.theme-refresh div[class*="_Pagination"] {
    text-align: right;
}

@media (max-width: 991px) {
    .theme-refresh .navbar-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 62px;
        padding-right: 8px;
        float: none;
    }

    .theme-refresh .navbar-toggle {
        display: block;
        margin-top: 12px;
        margin-right: 12px;
        margin-left: 0;
        order: 1;
        float: none;
    }

    .theme-refresh .navbar-toggle-left {
        position: relative;
        left: 0;
    }

    .theme-refresh .navbar-brand.app-brand {
        order: 2;
        flex: 0 0 auto;
        margin-left: 0 !important;
        margin-right: 12px;
        padding-right: 0;
        float: none;
    }

    .theme-refresh .app-brand img {
        height: 26px !important;
    }

    .theme-refresh .navbar-btn-mobile {
        display: inline-block;
        order: 4;
        margin: 10px 0 0 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .theme-refresh .navbar-user-mobile {
        display: inline-block;
        order: 3;
    }

    .theme-refresh .navbar-collapse {
        float: none !important;
        width: 100%;
        clear: both;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .theme-refresh .navbar-collapse.collapse {
        display: none !important;
    }

    .theme-refresh .navbar-collapse.collapse.in {
        display: block !important;
        overflow-y: auto !important;
    }

    .theme-refresh .navbar-nav {
        float: none !important;
        margin: 8px 0;
    }

    .theme-refresh .navbar-nav > li {
        float: none;
    }

    .theme-refresh .navbar-nav > li > a {
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 10px;
        margin: 2px 0;
    }

    .theme-refresh .navbar-right {
        float: none !important;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .theme-refresh .navbar-right > li {
        display: block;
    }

    .theme-refresh .navbar-right .navbar-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .theme-refresh #contenido {
        margin-top: 88px !important;
    }

    .theme-refresh h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .theme-refresh .navbar-default .navbar-collapse {
        background: rgba(199, 203, 209, 0.98);
    }

    .theme-refresh .container {
        width: 96%;
    }

    .theme-refresh .navbar-user-mobile {
        max-width: 120px;
        font-size: 12px;
    }

    .theme-refresh.login-page .login-shell {
        padding: 20px 0;
    }

    .theme-refresh.login-page .login-hero,
    .theme-refresh.login-page .login-form-wrap,
    .theme-refresh.login-page .login-media,
    .theme-refresh.login-page .login-support {
        padding-left: 22px;
        padding-right: 22px;
    }

    .theme-refresh.login-page .login-title {
        font-size: 26px;
    }

    .theme-refresh.login-page .login-support-item,
    .theme-refresh .footer-support-item {
        min-height: 0;
        margin-bottom: 12px;
    }

    .theme-refresh.login-page .login-support-copy,
    .theme-refresh .footer-support-copy {
        text-align: center;
    }

    .theme-refresh footer .well .row > div {
        margin-bottom: 14px;
    }

    .theme-refresh footer .well {
        padding-top: 20px;
        padding-bottom: 18px;
    }
}
