﻿.flex-wrapper {
  display: flex;
  min-height: 92vh;
  flex-direction: column;
  justify-content: space-between;
}

.container-fluid {
  margin: 50px auto;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
}

body>footer {
  background-color: #f5f5f5;
}

.disabled-row > td {
    background-color: #E9ECEF;
    color: #65717D;
}

.quantity-input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: rgba(255, 255, 255, 0.1); /* Sfondo semi-trasparente */
}


.field-validation-error {
  color: darkred;
  border-left: 3px solid red;
  padding-left: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: rgba(255, 0, 0, 0.05);
  margin-bottom: 2px;

}
.validation-summary-errors ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 1em;
}

.validation-summary-errors li {
  color: darkred;
  border-left: 3px solid red;
  padding-left: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: rgba(255, 0, 0, 0.05);
  margin-bottom: 2px;
}

.pack{
  background-color: #E9ECEF; color: #65717D;
}

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */
/* body {
    padding-top: 50px;
    padding-bottom: 20px;
}  */

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
 /* .body-content {
  padding-left: 15px;
  padding-right: 15px;
} */

footer {
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid #ccc;
  padding-bottom: 2em;
  text-align: center;
  color: gray;
}



/* .page-link:active{
background-color:#B38900;
border-color: #B38900;
} */

.item-order-link {
  color:#B38900;
  border-color: #B38900;
}
.form-control
{
  border-color: #F0E7CC;
}
.trackingNo{
  color:#B38900;
}

.form-control:focus{
  border-color: #B38900;
}

.form-control:hover{
  border-color: #B38900;
}

.input-group-text, .select-group-text{
  color:#B38900;
  background-color: #F0E7CC;
  border-color: #F0E7CC;
}

.input-group-text:active, .select-group-text:active {
  color: #F0E7CC;
  background-color: #B38900;
  border-color: #B38900;; /*set the color you want here*/
}

.input-group-text:hover, .select-group-text:hover{
  border-color: #B38900;
}

#inactive-page-link{
  color:#B38900;
  border-color: #B38900;
  }
  #inactive-page-link:hover {
    color: #B38900;
    background-color: #F0E7CC;
    border-color: #B38900;
    }
    #inactive-page-link:active{
    color: #B38900;
    background-color: #F0E7CC;
    border-color: #B38900;
    }

    #active-page-link{
      background-color:#B38900;
      border-color: #B38900;
    }
    .navbar-brand{
      padding-left: 20px;
    }
    #navbarResponsive{
      padding-right: 30px;
    }

#forgot-password{
  color: #B38900
}



.thead{
  background-color: #F0E7CC;
}
.table:focus{
  background-color: #F0E7CC;
}
tr{
  border-color: #F0E7CC;
}

tr:hover{
  background-color: #F0E7CC;
}


#detail, #refresh, #add, #trash, #save, #list, #edit{
  color:#B38900
}

#refresh, #save{
  margin: 10px auto;
}
#refresh:focus, #add:focus, #trash:focus, #save:focus, #edit:focus, #list:focus{
  color:#F0E7CC;
  border-color: #F0E7CC;
  background-color: #B38900;
}

#refresh:active, #save:active{
  color:#F0E7CC;
  border-color: #F0E7CC;
  background-color: #B38900;
}

#refresh:hover, #add:hover, #trash:hover, #save:hover, #edit:hover, #list:hover{
  background-color: #F0E7CC;
  border-color: #B38900;
  color:#B38900
}





.table-responsive {
  margin: 30px 0;
}
.table-wrapper {
  min-width: 1000px;
  background: #F0E7CC;
  padding: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.table-title {
  padding-bottom: 10px;
  margin: 0 0 10px;
  min-width: 100%;
}
.table-title h2 {
  margin: 8px 0 0;
  font-size: 22px;
}

table.table tr th,
table.table tr td {
  border-color: #e9e9e9;
}
table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fcfcfc;
}
table.table-striped.table-hover tbody tr:hover {
  background: #F0E7CC;
}
table.table th i {
  font-size: 13px;
  margin: 0 5px;
  cursor: pointer;
}
table.table td:last-child {
  width: 130px;
}
table.table td a {
  color: #F0E7CC;
  display: inline-block;
  margin: 0 5px;
}

table.table td i {
  font-size: 15px;
}

.hint-text {
  float: left;
  margin-top: 6px;
  font-size: 95%;
}

.btn-primary,
.sweet-alert button.confirm,
.wizard > .actions a {
  background-color: #4099ff;
  border-color: #4099ff;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all ease-in 0.3s;
  transition: all ease-in 0.3s;
}

.remove-preview {
  border-radius: 100px;
  text-transform: capitalize;
  font-size: 10px;
  padding: -10px 19px;
  cursor: pointer;
}
.hidden {
  display: none;
}

label {
  min-width: 160px !important
}



fieldset {
  display: none;
}

fieldset.show {
  display: block;
}

.statusSelector {
  appearance: textfield;
}


select:focus, input:focus, .statusSelector:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;

  outline-width: 0 !important;
  font-weight: 400;
}

button:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0a58ca !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff !important;
}

.tabs {
  margin: 2px 5px 0px 5px;
  padding-bottom: 10px;
  cursor: pointer;
}

.tabs:hover, .tabs.active {
  border-bottom: 1px solid #2196F3;
}

.box {
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 10px;
}

.line {
  background-color: #CFD8DC;
  height: 1px;
  width: 100%;
}

/* LP-S4 forms use the existing shell without inheriting wizard-only visibility. */
[data-carriers-list] fieldset {
  display: block;
  margin: 1rem 0;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) .form-group {
  margin-bottom: 1rem;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) a:not(.btn) {
  color: #0056b3;
  text-decoration: underline;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) .btn-primary {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) .btn-primary:hover {
  background-color: #084298;
  border-color: #084298;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) [data-error-summary]:focus {
  outline: 3px solid #842029;
  outline-offset: 3px;
}

[data-carriers-list] .table td:last-child {
  min-width: 13rem;
}

[data-transport-detail] .card-body {
  min-width: 0;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) :is(td, dd, p) {
  overflow-wrap: anywhere;
}

/* Demo shell and LP requester journey. The palette comes from the configurable
   tenant-era visual language; tenant names and artwork remain runtime data. */
:root {
  --hff-dark: #17191d;
  --hff-gold: #c3a35b;
  --hff-gold-dark: #71591f;
  --hff-ivory: #f4f5f3;
  --hff-ivory-warm: #f0e7cc;
  --hff-muted: #65717d;
  --hff-border: #d9d6ca;
  --hff-surface: #ffffff;
  --hff-danger: #842029;
}

html {
  background: var(--hff-dark);
}

body {
  margin: 0;
  color: var(--hff-dark);
  background: var(--hff-ivory);
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--hff-gold-dark);
  text-underline-offset: .2em;
}

a:hover {
  color: #49380f;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  color: var(--hff-dark);
  background: var(--hff-ivory-warm);
  border: 2px solid var(--hff-gold);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-navbar {
  min-height: 4.75rem;
  color: #fff;
  background: var(--hff-dark);
  border-bottom: 3px solid var(--hff-gold);
}

.app-navbar .app-navbar__inner,
.app-footer .app-footer__inner {
  width: min(100% - 2rem, 1440px);
  margin: 0 auto;
  padding: 0;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 2rem;
  padding: .55rem 0;
}

.tenant-branding {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}

.tenant-branding img {
  width: auto;
  max-width: 8rem;
  object-fit: contain;
}

.tenant-branding__name {
  max-width: 18rem;
  overflow: hidden;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-navbar .nav-link {
  position: relative;
  padding: .8rem .7rem !important;
  color: #e7e8e6;
  font-size: .91rem;
  white-space: nowrap;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus-visible {
  color: #fff;
}

.app-navbar .nav-link:hover::after,
.app-navbar .nav-link:focus-visible::after {
  position: absolute;
  right: .7rem;
  bottom: .45rem;
  left: .7rem;
  height: 2px;
  content: "";
  background: var(--hff-gold);
}

.app-navbar__account {
  border-left: 1px solid #3a3d42;
  padding-left: .35rem;
}

.flex-wrapper {
  min-height: calc(100vh - 4.75rem);
}

.app-main {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
}

.app-footer {
  margin: 0;
  padding: 1.5rem 0;
  color: #c8cacd;
  text-align: left;
  background: var(--hff-dark);
  border-top: 1px solid #36393e;
}

.app-footer p {
  margin: 0;
}

.request-page {
  max-width: 1180px;
  margin: 0 auto;
}

.request-page h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.request-page h2,
.request-page h3 {
  font-weight: 600;
  letter-spacing: -.015em;
}

.request-hero {
  padding: clamp(2rem, 6vw, 5.5rem) 0 2.25rem;
  border-bottom: 1px solid var(--hff-border);
}

.request-hero__intro {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--hff-muted);
  font-size: 1.1rem;
}

.request-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.request-action {
  display: flex;
  align-items: center;
  min-height: 5rem;
  padding: 1.25rem 1.4rem;
  color: var(--hff-dark);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--hff-surface);
  border: 1px solid var(--hff-border);
  border-left: 4px solid var(--hff-gold);
}

.request-action:hover {
  color: var(--hff-dark);
  background: var(--hff-ivory-warm);
}

.request-action--primary {
  color: #fff;
  background: var(--hff-dark);
  border-color: var(--hff-dark);
  border-left-color: var(--hff-gold);
}

.request-action--primary:hover {
  color: #fff;
  background: #2a2d32;
}

.request-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hff-border);
}

.request-backlink {
  display: inline-block;
  margin-bottom: .8rem;
  font-size: .92rem;
  font-weight: 600;
}

.request-page-header__actions {
  flex: 0 0 auto;
}

.request-panel,
.request-summary,
.request-filter {
  margin-bottom: 1.5rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--hff-surface);
  border: 1px solid var(--hff-border);
  border-top: 3px solid var(--hff-gold);
}

.request-filter {
  display: flex;
  align-items: end;
  gap: 1rem;
}

.request-filter__field {
  flex: 1 1 24rem;
  margin: 0;
}

.request-filter label,
.request-form label {
  display: block;
  min-width: 0 !important;
  margin-bottom: .4rem;
  color: #42484f;
  font-size: .9rem;
  font-weight: 600;
}

.request-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: .75rem;
  margin: 1rem 0 0;
}

.request-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5rem;
  padding: 1rem 1.1rem;
  background: var(--hff-ivory);
  border: 1px solid var(--hff-border);
}

.request-choice__primary {
  color: var(--hff-dark);
  font-weight: 600;
  text-decoration: none;
}

.request-choice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin-top: .55rem;
}

.request-choice__meta {
  margin-top: .3rem;
  color: var(--hff-muted);
  font-size: .88rem;
}

.request-choice__kind {
  align-self: flex-start;
  padding: .12rem .48rem;
  color: #5d5647;
  background: var(--hff-ivory-warm);
  border: 1px solid var(--hff-border);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.request-context {
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
  color: #40474f;
  background: var(--hff-ivory-warm);
  border-left: 4px solid var(--hff-gold);
}

.request-empty {
  margin: 1rem 0;
  padding: 1.4rem;
  color: var(--hff-muted);
  background: var(--hff-surface);
  border: 1px dashed #a9afb3;
}

.request-empty p {
  margin: 0;
}

.request-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: request-step;
}

.request-steps li {
  display: flex;
  gap: .65rem;
  align-items: center;
  min-height: 3.5rem;
  padding: .65rem .8rem;
  color: var(--hff-muted);
  background: transparent;
  border-bottom: 2px solid var(--hff-border);
  counter-increment: request-step;
}

.request-steps li::before {
  display: inline-grid;
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  content: counter(request-step);
  color: var(--hff-muted);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.request-steps .is-current {
  color: var(--hff-dark);
  font-weight: 600;
  border-color: var(--hff-gold);
}

.request-steps .is-complete {
  color: #4f5c52;
  border-color: #718075;
}

.request-table {
  margin: 0;
  background: var(--hff-surface);
  border: 1px solid var(--hff-border);
}

.request-table thead th {
  padding: .8rem .75rem;
  color: #3f464d;
  font-size: .82rem;
  font-weight: 600;
  background: #eeeee9;
  border-bottom: 1px solid var(--hff-border);
  white-space: nowrap;
}

.request-table tbody td {
  padding: .85rem .75rem;
  border-color: #e5e3dc;
}

.request-table tbody tr:hover {
  background: #faf8f0;
}

.request-table__link {
  font-weight: 600;
}

table.table.request-table td a {
  color: var(--hff-gold-dark);
}

table.table.request-table td a:hover,
table.table.request-table td a:focus-visible {
  color: var(--hff-dark);
  text-decoration-thickness: 2px;
}

.status-badge {
  display: inline-block;
  max-width: 100%;
  padding: .28rem .6rem;
  color: #3b3014;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.25;
  background: var(--hff-ivory-warm);
  border: 1px solid #d2bd83;
  border-radius: 2rem;
}

.status-badge--muted {
  color: #404b55;
  background: #e8ebec;
  border-color: #cbd1d4;
}

.request-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.request-reference {
  margin: .65rem 0 0;
  color: var(--hff-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.request-summary {
  margin-bottom: 2rem;
}

.request-summary.row {
  margin-right: 0;
  margin-left: 0;
}

.request-summary dt,
.request-summary dd {
  padding-top: .35rem;
  padding-bottom: .35rem;
}

.request-summary dt {
  color: var(--hff-muted);
  font-size: .9rem;
}

.request-shipment {
  padding: 1.25rem;
  background: var(--hff-ivory);
  border-left: 4px solid var(--hff-gold);
}

.request-shipment .card-body {
  padding: 0;
}

.request-timeline tbody tr td:first-child {
  position: relative;
  padding-left: 1.6rem;
}

.request-timeline tbody tr td:first-child::before {
  position: absolute;
  top: 1.15rem;
  left: .55rem;
  width: .45rem;
  height: .45rem;
  content: "";
  background: var(--hff-gold);
  border-radius: 50%;
}

.request-quantity {
  min-width: 6rem;
  max-width: 9rem;
}

.form-control,
.form-select {
  min-height: 2.75rem;
  border-color: #aeb4b7;
  border-radius: 0;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--hff-gold-dark);
  box-shadow: 0 0 0 .2rem rgba(195, 163, 91, .25);
}

.btn,
.wizard > .actions a {
  border-radius: 0;
  transition: none;
}

.btn-primary,
.sweet-alert button.confirm,
.wizard > .actions a {
  color: var(--hff-dark);
  font-weight: 600;
  background: var(--hff-gold);
  border-color: var(--hff-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  background: var(--hff-dark);
  border-color: var(--hff-dark);
}

.btn-outline-primary {
  color: var(--hff-gold-dark);
  border-color: var(--hff-gold-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  color: #fff;
  background: var(--hff-dark);
  border-color: var(--hff-dark);
}

.validation-summary-valid[data-error-summary] {
  display: none;
}

[data-error-summary]:not(:empty),
.validation-summary-errors {
  margin-bottom: 1.25rem;
  padding: 1rem;
  color: var(--hff-danger);
  background: #f8e9e9;
  border-left: 4px solid var(--hff-danger);
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) {
  max-width: 1180px;
  margin: 0 auto;
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) > h1 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hff-border);
}

:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) form,
:is([data-carriers-list], [data-transport-confirm], [data-transport-detail]) .card {
  background: var(--hff-surface);
  border-color: var(--hff-border);
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .app-navbar .app-navbar__inner {
    width: min(100% - 1.25rem, 1440px);
  }

  .app-navbar__account {
    border-left: 0;
    padding-left: 0;
  }

  .app-navbar .nav-link:hover::after,
  .app-navbar .nav-link:focus-visible::after {
    display: none;
  }

}

@media (max-width: 767.98px) {
  .app-main {
    width: min(100% - 1.25rem, 1320px);
    padding-top: 2rem;
  }

  .tenant-branding__name {
    display: none;
  }

  .request-page-header,
  .request-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .request-page-header__actions .btn,
  .request-filter .btn {
    width: 100%;
  }

  .request-steps {
    grid-template-columns: 1fr;
  }

  .request-steps li {
    min-height: 2.75rem;
  }

  .request-panel,
  .request-summary,
  .request-filter {
    padding: 1rem;
  }

  .request-table {
    min-width: 42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
