
/* ROGGA Orders UI */
.rogga-orders-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 14px;
}

.rogga-orders-new-btn {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: #078ac2;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.rogga-orders-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 6, 23, .68);
  backdrop-filter: blur(5px);
}

.rogga-orders-modal-backdrop.is-open {
  display: flex;
}

.rogga-orders-modal {
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 22px;
  background: #111827;
  box-shadow: 0 26px 90px rgba(0,0,0,.42);
  border: 1px solid rgba(148, 163, 184, .22);
}

.rogga-orders-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  color: #fff;
}

.rogga-orders-modal-title {
  font-weight: 950;
}

.rogga-orders-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.rogga-orders-modal-body {
  padding: 16px;
}

.rogga-orders-modal-body > .card {
  margin: 0 !important;
  box-shadow: none !important;
}

.rogga-orders-hidden-form-card {
  display: none !important;
}

.rogga-icon-actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.rogga-icon-btn,
table a.rogga-icon-btn,
table button.rogga-icon-btn {
  width: 34px;
  height: 32px;
  min-width: 34px;
  min-height: 32px;
  padding: 0 !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background: rgba(15, 23, 42, .08) !important;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  cursor: pointer;
  vertical-align: middle;
}

table a.rogga-icon-btn:hover,
table button.rogga-icon-btn:hover {
  background: rgba(7, 138, 194, .14) !important;
  border-color: rgba(7, 138, 194, .35) !important;
}

.rogga-icon-btn.money {
  color: #0369a1 !important;
}

.rogga-icon-btn.form {
  color: #7c3aed !important;
}

.rogga-icon-btn.edit {
  color: #b45309 !important;
}

.rogga-icon-btn.ok {
  color: #15803d !important;
  border-color: rgba(21, 128, 61, .28) !important;
  background: rgba(22, 163, 74, .10) !important;
}

.rogga-icon-btn.cancel {
  color: #b91c1c !important;
  border-color: rgba(185, 28, 28, .28) !important;
  background: rgba(239, 68, 68, .10) !important;
}

@media (max-width: 760px) {
  .rogga-orders-modal {
    max-height: 94vh;
  }
}
