
/* MOLLED ADMIN DASHBOARD PREMIUM V1 */

/* İstatistik kartları */

.admin-dashboard-stats {
  gap: 18px !important;
  margin-bottom: 26px !important;
}

.admin-dashboard-stats > * {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e1e8f1 !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg,#ffffff,#f5f8fc) !important;
  box-shadow: 0 10px 28px rgba(15,32,55,.07) !important;
  transition: transform .2s, box-shadow .2s;
}

.admin-dashboard-stats > *:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15,32,55,.12) !important;
}

.admin-dashboard-stats > *::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,#14243b,#c6a46b);
}

/* Ana dashboard yerleşimi */

.admin-dashboard-grid {
  gap: 22px !important;
  align-items: start !important;
}

.admin-dashboard-grid > section,
.admin-dashboard-grid > div > section {
  min-width: 0;
  background: #fff !important;
  border: 1px solid #e1e8f1 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 10px 30px rgba(15,32,55,.06) !important;
}

/* Bölüm başlıkları */

.admin-dashboard-grid h2,
.admin-dashboard-grid h3 {
  color: #14243b !important;
  font-weight: 850 !important;
  letter-spacing: -.4px;
}

/* Son siparişler tablosu */

.admin-dashboard-grid table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
}

.admin-dashboard-grid thead {
  background: #172940;
}

.admin-dashboard-grid th {
  background: #172940 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 15px 12px !important;
  white-space: nowrap;
}

.admin-dashboard-grid td {
  padding: 16px 12px !important;
  border-bottom: 1px solid #edf1f6 !important;
  vertical-align: middle;
}

.admin-dashboard-grid tbody tr:nth-child(even) {
  background: #f8fafc;
}

.admin-dashboard-grid tbody tr:hover {
  background: #edf4fa;
}

/* Butonlar */

.admin-dashboard-grid button {
  border-radius: 10px !important;
  font-weight: 750 !important;
  transition: transform .2s, box-shadow .2s;
}

.admin-dashboard-grid button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(15,32,55,.12);
}

/* Responsive */

@media(max-width:1250px) {
  .admin-dashboard-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

@media(max-width:700px) {
  .admin-dashboard-stats {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
  }

  .admin-dashboard-grid > section,
  .admin-dashboard-grid > div > section {
    padding: 15px !important;
  }

  .admin-dashboard-grid > section {
    overflow-x: auto;
  }
}

@media(max-width:420px) {
  .admin-dashboard-stats {
    grid-template-columns: 1fr !important;
  }
}


/* MOLLED LIVE OPERATIONS V1 */

.molled-live-operations {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.molled-live-operation-card {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: linear-gradient(145deg,#172940,#243d5a);
  color: #fff;
  box-shadow: 0 12px 30px rgba(15,32,55,.12);
}

.molled-live-operation-icon {
  font-size: 24px;
  color: #d4b47b;
  margin-bottom: 15px;
}

.molled-live-operation-label {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.molled-live-operation-value {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
  margin-top: 8px;
}

.molled-operation-warning {
  grid-column: 1 / -1;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}

@media(max-width:700px) {
  .molled-live-operations {
    grid-template-columns: 1fr;
  }
}


/* MOLLED OPERATION MODAL V1 */

.molled-live-operation-card {
  cursor: pointer;
  transition: transform .2s,box-shadow .2s;
}

.molled-live-operation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15,32,55,.23);
}

.molled-live-operation-card:focus-visible {
  outline: 3px solid #d4b47b;
  outline-offset: 3px;
}

.molled-operation-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(9,19,34,.72);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.molled-operation-panel {
  width: min(720px,100%);
  max-height: 85vh;
  overflow: hidden;
  background: #fff;
  color: #172940;
  border-radius: 20px;
  box-shadow: 0 25px 90px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
}

.molled-operation-header {
  padding: 22px 26px;
  background: #172940;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.molled-operation-header h2 {
  margin: 0;
  font-size: 20px;
}

.molled-operation-header button {
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  cursor: pointer;
}

.molled-operation-content {
  overflow-y: auto;
  padding: 20px;
}

.molled-operation-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.molled-operation-order strong,
.molled-operation-order small {
  display: block;
}

.molled-operation-order small {
  margin-top: 5px;
  color: #64748b;
}

.molled-operation-order button {
  border: 0;
  background: #172940;
  color: #fff;
  border-radius: 9px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}

@media(max-width:540px) {
  .molled-operation-order {
    align-items: stretch;
    flex-direction: column;
  }
}


/* MOLLED OPERATION CUSTOMER V1 */
.molled-operation-company {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #334155;
    margin-top: 6px;
    overflow-wrap: anywhere;
}
.molled-operation-total {
    font-size: 12px;
    font-weight: 800;
    color: #997000;
    margin-top: 6px;
}
