
.molled-operation-dashboard {
  margin: 22px 0;
  padding: 26px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15,23,42,.07);
  font-family: inherit;
}

.molled-operation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8edf3;
}

.molled-operation-heading span {
  display: block;
  color: #a67c2e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.molled-operation-heading strong {
  color: #132238;
  font-size: 18px;
  font-weight: 800;
}

.molled-operation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.molled-operation-card {
  padding: 20px;
  border: 1px solid #e7ebf0;
  border-radius: 13px;
  background: #f8fafc;
  min-width: 0;
}

.molled-operation-card span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  margin-bottom: 11px;
}

.molled-operation-card strong {
  display: block;
  color: #15243b;
  font-size: 19px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.molled-operation-items {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.molled-operation-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  align-items: center;
}

.molled-operation-item strong {
  color: #132238;
}

@media (max-width: 1000px) {
  .molled-operation-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 600px) {
  .molled-operation-dashboard {
    padding: 16px;
  }
  .molled-operation-grid {
    grid-template-columns: 1fr;
  }
  .molled-operation-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}



/* MOLLED PREMIUM ORDER DETAIL V2 */

.admin-order-detail-actions {
  background: linear-gradient(135deg,#101d32,#213852);
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(16,29,50,.16);
}

.admin-order-detail-actions button {
  min-height: 44px;
  border-radius: 10px !important;
  font-weight: 700 !important;
  transition: transform .2s, box-shadow .2s;
}

.admin-order-detail-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

/* OPERATION DASHBOARD */

.molled-operation-dashboard {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,32,55,.09);
}

.molled-operation-heading {
  margin: 0;
  padding: 25px 28px;
  background: linear-gradient(120deg,#101d32,#243b56);
  border-bottom: 3px solid #c5a166;
}

.molled-operation-heading span {
  color: #e6c48a;
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 800;
}

.molled-operation-heading strong {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.molled-operation-grid {
  padding: 24px;
  gap: 16px;
}

.molled-operation-card {
  background: linear-gradient(145deg,#fff,#f5f8fc);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 3px 10px rgba(15,23,42,.03);
  transition: transform .2s, box-shadow .2s;
}

.molled-operation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}

.molled-operation-card span {
  color: #718096;
  font-size: 11px;
  letter-spacing: 1px;
}

.molled-operation-card strong {
  color: #14243b;
  font-size: 20px;
  line-height: 1.4;
}

.molled-operation-items {
  margin: 0;
  padding: 0 24px 24px;
}

.molled-operation-item {
  background: #f8fafc;
  border: 1px solid #e4eaf2;
  border-left: 4px solid #c5a166;
  border-radius: 12px;
  padding: 17px 20px;
  transition: background .2s;
}

.molled-operation-item:hover {
  background: #eef4fa;
}

.molled-operation-item strong {
  font-size: 15px;
  color: #152840;
}

@media(max-width:900px) {
  .molled-operation-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px) {
  .molled-operation-heading {
    padding: 20px;
  }
  .molled-operation-heading strong {
    font-size: 17px;
  }
  .molled-operation-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .molled-operation-items {
    padding: 0 16px 16px;
  }
  .admin-order-detail-actions {
    padding: 15px;
  }
}


/* MOLLED PREMIUM DETAIL V3 */

.molled-detail-customer,
.molled-detail-products,
.molled-detail-invoice,
.molled-detail-cargo {
  background: #fff !important;
  border: 1px solid #e3e9f1 !important;
  border-radius: 20px !important;
  padding: 26px !important;
  margin: 22px 0 !important;
  box-shadow: 0 8px 30px rgba(15,32,55,.055) !important;
}

.molled-detail-customer h2,
.molled-detail-products h2,
.molled-detail-invoice h2,
.molled-detail-cargo h2 {
  color: #14243b !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -.4px;
  margin: 0 0 22px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf4;
}

/* CUSTOMER INFORMATION */

.molled-detail-customer > div > div,
.molled-detail-invoice > div > div {
  border-radius: 12px;
  transition: background .2s;
}

.molled-detail-customer > div > div:hover,
.molled-detail-invoice > div > div:hover {
  background: #f8fafc;
}

/* PRODUCT TABLE */

.molled-detail-products {
  overflow: hidden;
}

.molled-detail-products > div {
  overflow-x: auto;
  border: 1px solid #e7edf4;
  border-radius: 14px;
}

.molled-detail-products table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  min-width: 780px;
}

.molled-detail-products thead {
  background: #172940;
}

.molled-detail-products th {
  background: #172940 !important;
  color: #fff !important;
  padding: 17px 15px !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 800 !important;
  white-space: nowrap;
  border: 0 !important;
}

.molled-detail-products td {
  padding: 18px 15px !important;
  color: #334155 !important;
  border-bottom: 1px solid #edf1f6;
  font-size: 13px;
}

.molled-detail-products tbody tr:nth-child(even) {
  background: #f8fafc;
}

.molled-detail-products tbody tr:hover {
  background: #eef4fa;
}

.molled-detail-products td strong {
  color: #152840;
}

/* INVOICE */

.molled-detail-invoice {
  border-top: 3px solid #c8a76b !important;
}

/* CARGO */

.molled-detail-cargo {
  border-top: 3px solid #1f5678 !important;
}

.molled-detail-cargo input,
.molled-detail-cargo select,
.molled-detail-cargo textarea {
  border: 1px solid #dbe3ee !important;
  border-radius: 10px !important;
  min-height: 43px;
  background: #fff !important;
}

.molled-detail-cargo input:focus,
.molled-detail-cargo select:focus {
  outline: 2px solid rgba(200,167,107,.35);
  border-color: #c8a76b !important;
}

.molled-detail-cargo button {
  border-radius: 11px !important;
  min-height: 45px;
  font-weight: 800 !important;
  transition: transform .2s;
}

.molled-detail-cargo button:hover:not(:disabled) {
  transform: translateY(-2px);
}

@media(max-width:600px) {
  .molled-detail-customer,
  .molled-detail-products,
  .molled-detail-invoice,
  .molled-detail-cargo {
    padding: 16px !important;
    border-radius: 15px !important;
  }
}


/* MOLLED PREMIUM ERP GRID V4 */

.molled-premium-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

/* Üst bölüm tam genişlik */

.molled-premium-order-layout > .admin-order-detail-actions,
.molled-premium-order-layout > .molled-operation-dashboard {
  grid-column: 1 / -1;
}

/* Ürünler solda, müşteri sağda */

.molled-premium-order-layout > .molled-detail-products {
  grid-column: 1;
  grid-row: 4;
}

.molled-premium-order-layout > .molled-detail-customer {
  grid-column: 2;
  grid-row: 4;
}

/* Fatura solda, kargo sağda */

.molled-premium-order-layout > .molled-detail-invoice {
  grid-column: 1;
  grid-row: 5;
}

.molled-premium-order-layout > .molled-detail-cargo {
  grid-column: 2;
  grid-row: 5;
}

/* Kartlar grid içinde düzgün hizalansın */

.molled-premium-order-layout > .molled-detail-products,
.molled-premium-order-layout > .molled-detail-customer,
.molled-premium-order-layout > .molled-detail-invoice,
.molled-premium-order-layout > .molled-detail-cargo {
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Ürün tablosu kendi içinde kaydırılabilir */

.molled-detail-products > div {
  max-width: 100%;
  overflow-x: auto;
}

/* Müşteri kartı daha kompakt */

.molled-premium-order-layout > .molled-detail-customer {
  position: relative;
}

.molled-detail-customer > div {
  grid-template-columns: minmax(0,1fr) !important;
}

/* Fatura ve kargo girişleri */

.molled-detail-invoice,
.molled-detail-cargo {
  align-self: start;
}

/* Mobil ve tablet */

@media (max-width: 1100px) {
  .molled-premium-order-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
  }

  .molled-premium-order-layout > .admin-order-detail-actions,
  .molled-premium-order-layout > .molled-operation-dashboard,
  .molled-premium-order-layout > .molled-detail-products,
  .molled-premium-order-layout > .molled-detail-customer,
  .molled-premium-order-layout > .molled-detail-invoice,
  .molled-premium-order-layout > .molled-detail-cargo {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .molled-premium-order-layout {
    gap: 12px;
  }
}
