
/* Modern Delete Order Modal */
.delete-order-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.delete-order-popup-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: none;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 
              0 10px 40px rgba(0, 0, 0, 0.1),
              0 0 0 1px rgba(255, 255, 255, 0.8);
  max-width: 480px;
  width: 100%;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.delete-order-popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 50%, #ec4899 100%);
  border-radius: 20px 20px 0 0;
}
.delete-order-popup-content::after {
  content: '⚠️';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  opacity: 0.8;
  z-index: 5;
}
/* Close Button - Modern X */
.delete-order-modal-close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
  font-size: 18px;
  font-weight: 300;
  z-index: 10;
}
.delete-order-modal-close-button:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: scale(1.1);
}
/* Modal Title */
.delete-order-modal h4 {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  color: #1f2937;
  margin: 24px 0 0 0;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  text-align: center;
}
/* Order Number Styling */
.delete-order-modal .order-number {
  font-weight: 800;
  color: #374151;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 8px 16px;
  border-radius: 12px;
  border: 2px solid #d1d5db;
  display: inline-block;
  font-family: 'Monaco', 'Menlo', monospace;
  letter-spacing: 0.5px;
}
/* Button Container */
.delete-order-button-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}
/* Confirm Delete Button */
.delete-order-confirm-button {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  min-width: 130px !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3) !important;
  position: relative;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.delete-order-confirm-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.delete-order-confirm-button:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}
.delete-order-confirm-button:hover::before {
  left: 100%;
}
.delete-order-confirm-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3) !important;
}
/* Cancel Button */
.delete-order-cancel-button {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  min-width: 130px !important;
  box-shadow: 0 4px 16px rgba(107, 114, 128, 0.2) !important;
  position: relative;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.delete-order-cancel-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.delete-order-cancel-button:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3) !important;
}
.delete-order-cancel-button:hover::before {
  left: 100%;
}
.delete-order-cancel-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 16px rgba(107, 114, 128, 0.2) !important;
}
/* Delete Order Button (Trigger) */
.delete-order-button {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  min-width: 140px !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3) !important;
  margin-top: 40px !important;
  position: relative;
  overflow: hidden;
}
.delete-order-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.delete-order-button:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
  cursor: pointer !important;
}
.delete-order-button:hover::before {
  left: 100%;
}
.delete-order-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3) !important;
}

/* ===== DELETE ORDER MODAL RESPONSIVE MEDIA QUERIES ===== */

/* Large Desktop Screens (1440px and up) */
@media (min-width: 1440px) {
  .delete-order-popup-content {
    max-width: 520px;
    padding: 40px 36px;
    border-radius: 24px;
    gap: 28px;
  }
  
  .delete-order-modal-close-button {
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  .delete-order-modal h4 {
    font-size: 28px;
  }
  
  .delete-order-button-wrapper {
    gap: 20px;
  }
  
  .delete-order-confirm-button,
  .delete-order-cancel-button {
    padding: 16px 32px !important;
    font-size: 18px !important;
    min-width: 150px !important;
    border-radius: 14px !important;
  }
}
/* Desktop Screens (1025px to 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
  .delete-order-popup-content {
    max-width: 500px;
    padding: 36px 32px;
    border-radius: 22px;
    gap: 26px;
  }
  
  .delete-order-modal-close-button {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
  
  .delete-order-modal h4 {
    font-size: 26px;
  }
  
  .delete-order-button-wrapper {
    gap: 18px;
  }
  
  .delete-order-confirm-button,
  .delete-order-cancel-button {
    padding: 15px 30px !important;
    font-size: 17px !important;
    min-width: 140px !important;
    border-radius: 13px !important;
  }
}
/* Large Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .delete-order-modal {
    padding: 16px;
  }
  
  .delete-order-popup-content {
    max-width: 460px;
    padding: 32px 28px;
    border-radius: 18px;
    gap: 22px;
  }
  
  .delete-order-modal-close-button {
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .delete-order-modal h4 {
    font-size: 24px;
  }
  
  .delete-order-button-wrapper {
    gap: 16px;
  }
  
  .delete-order-confirm-button,
  .delete-order-cancel-button {
    padding: 14px 26px !important;
    font-size: 16px !important;
    min-width: 130px !important;
    border-radius: 12px !important;
  }
}
/* Small Tablets and Large Mobile (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .delete-order-modal {
    padding: 12px;
  }
  
  .delete-order-popup-content {
    max-width: 90%;
    padding: 28px 24px;
    border-radius: 16px;
    gap: 20px;
  }
  
  .delete-order-popup-content::after {
    top: 16px;
    right: 20px;
    font-size: 20px;
  }
  
  .delete-order-modal-close-button {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .delete-order-modal h4 {
    font-size: 22px;
    line-height: 1.2;
  }
  
  .delete-order-button-wrapper {
    gap: 12px;
    flex-direction: column;
    width: 100%;
  }
  
  .delete-order-confirm-button,
  .delete-order-cancel-button {
    padding: 14px 24px !important;
    font-size: 15px !important;
    min-width: 100% !important;
    max-width: 280px !important;
    border-radius: 10px !important;
  }
  
  .order-number {
    font-size: 14px !important;
    padding: 6px 12px !important;
  }
}
/* Mobile Screens (320px to 480px) */
@media (max-width: 480px) {
  .delete-order-modal {
    padding: 8px;
  }
  
  .delete-order-popup-content {
    max-width: 95%;
    padding: 24px 20px;
    border-radius: 14px;
    gap: 16px;
  }
  
  .delete-order-popup-content::after {
    top: 12px;
    right: 16px;
    font-size: 18px;
  }
  
  .delete-order-modal-close-button {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .delete-order-modal h4 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .delete-order-button-wrapper {
    gap: 10px;
    flex-direction: column;
    width: 100%;
  }
  
  .delete-order-confirm-button,
  .delete-order-cancel-button {
    padding: 12px 20px !important;
    font-size: 14px !important;
    min-width: 100% !important;
    border-radius: 8px !important;
    min-height: 44px !important;
    /* Improve touch targets */
    touch-action: manipulation !important;
  }
  
  .order-number {
    font-size: 13px !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
  }
}
/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
  .delete-order-modal {
    padding: 6px;
  }
  
  .delete-order-popup-content {
    max-width: 98%;
    padding: 20px 16px;
    border-radius: 12px;
    gap: 14px;
  }
  
  .delete-order-popup-content::after {
    top: 10px;
    right: 14px;
    font-size: 16px;
  }
  
  .delete-order-modal-close-button {
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  
  .delete-order-modal h4 {
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 2px;
  }
  
  .delete-order-button-wrapper {
    gap: 8px;
    flex-direction: column;
    width: 100%;
  }
  
  .delete-order-confirm-button,
  .delete-order-cancel-button {
    padding: 12px 18px !important;
    font-size: 13px !important;
    min-width: 100% !important;
    border-radius: 6px !important;
    min-height: 40px !important;
  }
  
  .order-number {
    font-size: 12px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
  }
}
/* File Modal Styles (keeping consistent) */
.delete-file-modal-close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
  font-size: 18px;
  font-weight: 300;
  z-index: 10;
}
.delete-file-modal-close-button::before {
  content: '×';
}
.delete-file-modal-close-button:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: scale(1.1);
}


