/*Sidebar css */


body::before {
  content: "✅ OMS CSS Loaded";
  position: fixed;
  top: 10px;
  left: 10px;
  background: white;
  color: green;
  z-index: 99999;
  font-size: 13px;
  padding: 3px 6px;
}






/* ===== COMMON DASHBOARD LAYOUT ===== */
/*.oms-dashboard-wrapper {*/
/*    display: flex;*/
/*    min-height: 500px;*/
/*    background: #f8f9fa;*/
/*    border-radius: 10px;*/
/*    overflow: hidden;*/
/*    margin-top: 10px;*/
/*}*/

/* Sidebar */
.oms-sidebar {
    width: 220px;
    background: #1e293b;
    color: white;
    padding-top: 15px;
}

.oms-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oms-sidebar ul li {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.oms-sidebar ul li:hover,
.oms-sidebar ul li.active {
    background: #334155;
    border-left: 4px solid #00aaff;
}

.oms-sidebar ul li i {
    font-size: 18px;
    margin-right: 10px;
}

.oms-sidebar ul li span {
    font-size: 15px;
}

/* Main Content */
.oms-main-content {
    flex: 1;
    background: #fff;
    padding: 25px;
}

.oms-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.oms-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}








/* ===== Global AJAX Loader ===== */
.oms-global-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 99999;
    font-size: 16px;
    animation: fadeIn 0.2s ease-in-out;
}

.oms-loader-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}







/*notification Header*/

.oms-live-notify-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.oms-notify-item:hover {
  background: #f1f5f9;
  transition: 0.3s;
}






.oms-form {
  background: #f9fafb;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.oms-form .oms-field {
  margin-bottom: 10px;
}

.oms-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.oms-form input, .oms-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
}

.oms-btn {
  background: #2563eb;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.oms-btn:hover {
  background: #1d4ed8;
}

.oms-table td, .oms-table th {
  border: 1px solid #ddd;
  padding: 8px;
}

.oms-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 10px;
}


.oms-action-status {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.oms-action-status:hover {
  background-color: #1e40af;
}

.oms-action-delete {
  background-color: #dc2626;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  margin-left: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.oms-action-delete:hover {
  background-color: #b91c1c;
}

.oms-admin-dashboard{
    background: yellow!important;
    display: flex!important;
    width: 100%;
    /*padding: 2px;*/
}











.oms-store-page {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.oms-table-name {
  color: #2563eb;
  font-weight: 700;
}

.oms-store-products {
  margin-top: 20px;
}

.woocommerce ul.products li.product {
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.woocommerce ul.products li.product:hover {
  transform: scale(1.02);
}
















.oms-products-section img {
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
}







.oms-orders-columns {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.oms-orders-column {
  flex: 1;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  min-height: 300px;
  overflow-y: auto;
}

.oms-orders-heading {
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 5px;
}
.oms-orders-heading.on-hold { background: #fef3c7; color: #92400e; }
.oms-orders-heading.processing { background: #dbeafe; color: #1e40af; }
.oms-orders-heading.completed { background: #dcfce7; color: #166534; }

.oms-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.oms-order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 4px 0;
}
.oms-order-item img {
  width: 30px;
  height: 30px;
  border-radius: 4px;
}

.oms-order-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}


.oms-change-status {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  margin: 2px;
  cursor: pointer;
}
.oms-change-status:hover { background: #1d4ed8; }

.oms-change-status:first-child { background: #f59e0b; }  /* Back button color */
.oms-change-status:first-child:hover { background: #d97706; }











/*Customer Tab Css Start here*/

/* ===== Customer Tab Modern Layout ===== */

.oms-customer-tab {
  padding: 15px;
}

.oms-customer-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
  color: #111827;
}

.oms-customer-header p {
  color: #6b7280;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.oms-customer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.oms-customer-filters input,
.oms-customer-filters select {
  flex: 1;
  min-width: 160px;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.oms-customer-filters input:focus,
.oms-customer-filters select:focus {
  border-color: #2563eb;
  outline: none;
}

/* ===== Grid Layout ===== */
.oms-customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

/* ===== Customer Card ===== */
.oms-customer-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 16px;
  position: relative;
  transition: all 0.25s ease;
}

.oms-customer-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.oms-customer-card h4 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}

.oms-customer-card p {
  color: #374151;
  font-size: 14px;
  margin: 0 0 10px;
}

.oms-view-orders {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.oms-view-orders:hover {
  background: #1d4ed8;
}

/* ===== Orders List (Expandable) ===== */
.oms-customer-orders {
  display: none;
  margin-top: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
}

.oms-customer-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  font-size: 13px;
}

.oms-customer-order-card strong {
  color: #111827;
}

.oms-customer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}
.oms-customer-item img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

/* Loader and messages */
.oms-tab-loader {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  color: #6b7280;
}
.oms-error {
  text-align: center;
  color: red;
}


/* ===== Reset Button ===== */
.oms-reset-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}
.oms-reset-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}





/*Report Tab Css*/

/* ===== Reports Tab ===== */
.oms-report-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}
.oms-report-filters select,
.oms-report-filters input {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}
.oms-report-filters input[type="text"] {
  flex: 1;
  min-width: 220px;
}

.oms-report-filters input, .oms-report-filters button {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.oms-report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 25px;
}
.oms-report-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  text-align: center;
  padding: 15px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.oms-report-card h3 { color: #2563eb; margin: 0; font-size: 1.3em; }

.oms-chart-container {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 10px;
  margin-bottom: 20px;
}

.oms-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.oms-report-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
}
.oms-report-box h3 { margin-top: 0; }

.oms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.oms-table th, .oms-table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  text-align: left;
}
.oms-table th { background: #f3f4f6; }



.oms-btn-reset {
  background: #ef4444 !important;
  margin-left: auto;
}
.oms-btn-reset:hover {
  background: #b91c1c !important;
}
.oms-customer-activity {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e5e7eb;
}
.oms-cust-header p { margin: 3px 0; }






/*Tab Account Css Start Here*/

.oms-inner-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.oms-inner-tabs button {
  background: #e5e7eb;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.oms-inner-tabs button.active {
  background: #2563eb;
  color: white;
}
.oms-section { display: none; }
.oms-section.active { display: block; }

.oms-table th { background: #f3f4f6; }
.oms-table td, .oms-table th { border: 1px solid #ddd; padding: 6px; }

.oms-action-delete {
  background: #dc2626; color:#fff; border:none;
  padding:6px 10px; border-radius:4px; cursor:pointer;
}
.oms-action-delete:hover { background: #b91c1c; }

.oms-status-tag {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: #fff;
  text-transform: capitalize;
}
.oms-status-active { background: #16a34a; }
.oms-status-inactive { background: #dc2626; }

.oms-action-activate {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.oms-action-deactivate {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.oms-action-activate:hover { background: #15803d; }
.oms-action-deactivate:hover { background: #b91c1c; }

.oms-action-delete {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  margin-left: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.oms-action-delete:hover { background: #b91c1c; }










/*Live Order U  pdate*/

.oms-order-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
  transition: background 0.3s;
}
.oms-hold { border-left: 4px solid #fbbf24; }
.oms-prep { border-left: 4px solid #3b82f6; }
.oms-done { border-left: 4px solid #10b981; }


/*Report Button download*/


.oms-report-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.oms-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.oms-btn:hover { background: #1d4ed8; }










































/*POS DASHBOARD CSS*/

.oms-pos-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.oms-pos-order-card:hover { transform: translateY(-3px); }

.oms-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.oms-table-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
}

.oms-pos-order-columns {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.oms-pos-col {
  flex: 1;
  background: #f9fafb;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.oms-pos-col h4 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: #1e293b;
}
.oms-pos-col-inner {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
}
.oms-pos-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.oms-pos-order-card:hover {
  transform: scale(1.02);
}
.oms-pos-order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.oms-pos-order-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}





/*POS Account Tab Style*/

.oms-pos-account {
  max-width: 600px;
  margin: auto;
}
.oms-form-group {
  margin-bottom: 15px;
}
.oms-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}
.oms-form-group input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.oms-btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

