.shipment-management {
  font-family: Arial, sans-serif;
  margin: 20px;
  margin-bottom: 40px;
}

.header h1 {
  text-align: center;
  margin-bottom: 20px;
}

.order-grid {
  /* display: grid;
  gap: 10px;
  margin-bottom: 20px; */
}

.grid-header {
  font-weight: bold;
  background-color: #f2f2f2;
}

.grid-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  grid-template-columns: 
    40px  /* Checkbox */
    80px  /* ID */
    240px /* Cliente */
    210px /* Email */
    120px /* País */
    250px /* Servicio */
    120px /* Estado */
    100px /* Productos */
    150px /* Expedidos */
    170px /* Acciones */;
  border-bottom: 1px solid #ddd;
}

.grid-cell a {
  color: #007bff;
  text-decoration: none;
}

.grid-cell a:hover {
  text-decoration: underline;
}

.settings-container {
  font-family: Arial, sans-serif;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #f57e24;
  border-radius: 8px;
  background-color: #fff;
}

.settings-container h1 {
  font-size: 24px;
  color: #fa6319;
  /* margin-bottom: 20px; */
  /* border-bottom: 1px solid #fa6319; */
  padding-bottom: 10px;
  font-weight: bold;
}

.services-form fieldset {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.services-form legend {
  color: #f57e24;
  font-weight: bold;
  font-size: 16px;
  padding: 0 10px;
}

.services-form .field {
  margin-bottom: 15px;
}

.services-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.services-form input[type="text"],
.services-form select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* .services-form .btn-save {
  background-color: #f57e24;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
} */

.services-form .btn-save:hover {
  background-color: #e0671d;
}

.config-abonado {
  font-family: Arial, sans-serif;
  color: #333;
  padding: 20px;
}

.abonado-card {
  border: 1px solid #f57e24;
  border-radius: 8px;
  background-color: #fff;
  padding: 20px;
}

.abonado-form {
  max-width: 600px;
  margin: 0 auto;
}

.nacex-form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.abonado-form input[type="text"],
.abonado-form input[type="password"],
.abonado-form select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.btn-action {
  background-color: #f57e24;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 15px;
  cursor: pointer;
}

.btn-action:hover {
  background-color: #e0671d;
}

.btn-save {
  background-color: #f57e24;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
}

.btn-save:hover {
  background-color: #e0671d;
}

/* Estilos generales del formulario */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
}

/* Encabezados */
.form-heading {
  text-align: center;
  color: #333;
}

/* Información del formulario */
.form-info {
  margin-bottom: 20px;
}

/* Etiquetas y entradas */
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-input,
.form-select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Estilos para los fieldsets */
.form-fieldset {
  margin-bottom: 20px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}

/* Leyendas */
.form-legend {
  font-weight: bold;
  color: #333;
}

/* Estilos para las opciones de radio */
.form-radio {
  margin-right: 5px;
}

.form-radio-label {
  display: block;
  margin-bottom: 8px;
}

/* Botón de envío */
.form-button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-button:hover {
  background-color: #0056b3;
}

.nacex-form-container {
  border: 1px solid #ff6600;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  max-width: 800px;
  margin: auto;
  font-family: Arial, sans-serif;
  /* display: none; */
}

.nacex-form h2 {
  text-align: center;
  color: #ff6600;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.form-group .nacex-form-label ul {
  flex-direction: row;
}

.field input[type="text"],
.field input[type="number"],
.field input[type="date"],
.field select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.radio-group label {
  margin-right: 15px;
}

.radio-group input[type="radio"] {
  margin-right: 5px;
}

.btn-submit {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.btn-submit:hover {
  background-color: #cc5200;
}

.shipment-management {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 2px solid #fa6319;
  margin-bottom: 10px;
}

.header h1 {
  color: #fa6319;
  font-size: 18px;
  margin: 0;
}

.order-grid {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.grid-header {
  background-color: #fa6319;
  color: white;
  font-weight: bold;
}

.order-grid .grid-row .grid-cell button {
  margin-right: 5px;
}

.grid-row:nth-child(even) {
  background-color: #f9f9f9;
}

.grid-cell {
  flex: 1;
  padding: 8px 12px;
  text-align: center;

}

.grid-cell button {
  background-color: #fa6319;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
}

.grid-cell button:hover {
  background-color: #e55713;
}

.grid-header .grid-cell {
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
}
.nacex-actions{
  display: flex;
}

.grid-cell input,
.grid-cell select {
  width: 95%;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.filters-row {
  display: flex;
  margin: 10px 0;
  padding: 8px 0;
}

.filters-row .filter-cell {
  flex: 1;
  padding: 0 10px;
}

.filters-row input,
.filters-row select {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Contenedor general */
.nacex-main-container {
  /* max-width: 800px;  
  margin: auto; */
  border: 1px solid #f57e24;
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Encabezado */
.nacex-main-container h1 {
  font-size: 24px;
  color: #fa6319;
  border-bottom: 1px solid #fa6319;
  padding-bottom: 10px;
}

/* Subtítulos para secciones */
.nacex-main-container h2 {
  font-size: 18px;
  color: #fa6319;
  margin-top: 5px;
  margin-bottom: 5px;
  border-left: 4px solid #fa6319;
  padding-left: 10px;
}

.nacex-form-gruop {
  margin-bottom: 20px;
}

.nacex-success-msg {
  color: green;
  margin-left: 5px;
}

.nacex-error-msg {
  color: red;
  margin-left: 5px;
}

/* Inputs y selects */
.form-container .Polaris-TextField__Input,
.form-container .Polaris-Select__Input,
.form-container .Polaris-RadioButton__Input {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
  width: 100%;
}

/* Botones */
.form-container .Polaris-Button {
  background-color: #fa6319;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.form-container .Polaris-Button:hover {
  background-color: #e55713;
}

/* Botones grupo (Sí/No) */
.form-container .Polaris-ButtonGroup {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.form-container .Polaris-ButtonGroup .Polaris-Button {
  flex: 1;
  text-align: center;
}

/* Checkbox y radios */
.form-container .Polaris-Checkbox,
.form-container .Polaris-RadioButton {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Margenes entre secciones */
.form-container .Polaris-FormLayout__Item {
  margin-bottom: 15px;
}

/* Botón Guardar alineado */
.nacex-save-button {
  display: flex;
  justify-content: flex-end;
}

.nacex-export-buttons {
  display: flex;
  justify-content: space-between;
}
/* Inputs tipo select */
.form-container .Polaris-Select__Input {
  border: 1px solid #fa6319;
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-container .Polaris-Select__Input:focus {
  border-color: #fa6319;
  outline: none;
  box-shadow: 0 0 5px rgba(250, 99, 25, 0.5);
}

/* Ajuste del contenedor de los selects */
.form-container .Polaris-FormLayout__Item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* detalles de la orden */

.orders-details-container {
  position: "fixed";
  top: 0;
  left: 0;
  width: "100%";
  height: "100%";
  background: "rgba(0, 0, 0, 0.5)";
  display: "flex";
  justify-content: "center";
  align-items: "center";
  z-index: 1000;
}

.header-order-details {
  display: flex;
  justify-content: space-around;
  /* margin-bottom: 30px; */
  background: white;
}

.header-order-details p strong {
  display: block;
}

.header-order-details p {
  margin: 10px 15px 15px;
  word-break: break-all;
}

.close-button-order-details {
  float: right;
  font-size: 15px;
  color: #fa6319;
  cursor: pointer;
}

.body-order-details {
  display: flex;
  justify-content: space-between;
  padding: 2%;

}

.order-view-tab {
  float: right;
  text-transform: capitalize;
}

.nacex-loading-spinner {
  text-align: center;
}

.order-preview {
  background: #f7f7f7;
}

.order-details-product-table {
  width: 40%;

}

.order-details-product-table table thead tr th:nth-child(1),
.order-details-product-table table tbody tr td:nth-child(1) {
  width: 40%;
  text-align: start;
}

.order-details-product-table table thead tr th:nth-child(2),
.order-details-product-table table tbody tr td:nth-child(2) {
  width: 15%;
}

/* .order-details-product-table table tbody tr */
.order-details-product-table table tbody tr td:nth-child(2),
td:nth-child(3),
td:nth-child(4) {
  text-align: center;
}

.expedition-masive-actions {
  display: flex;
  justify-content: space-between;
}

.expedition-filters {
  display: flex;
  /* align-items: end; */
  justify-content: baseline;
}

.expedition-filters div {
  margin-right: 3px;
}

.expedition-masive-actions-buttons button,
.expedition-filters button {
  color: white;
  background: #fa6319;
}

.nacex-log {
  margin-left: 5px;
  font-size: 25px;
  color: red;
  cursor: pointer;
}

.nacex-modal-log {
  padding: 10px;
  font-size: bold;
}

/* Utils tab */
/* .nacex-utils-container{
  max-width: ;
} */

.nacex-form-group {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.nacex-form-group label {
  margin-right: 5px;
}

.nacex-ajax-result {
  background: #ffe1d4;
  margin: 20px 0 0;
  padding: 10px 15px;
  border: 1px solid #ff7232;
  border-radius: 2px;
  font-size: 0.9em;
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Paginado gestion expediciones */
.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 10px;
  border-top: 1px solid #e1e3e5;
}

.page-navigation {
  display: flex;
  align-items: center;
  gap: 15px;
}

.items-per-page {
  width: 150px;
}
.links-container{
  display: flex;
  flex-direction: column;
}