/* Classic Alert Styles */
.classic-alert-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 300000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.classic-alert-box {
  background: #e4e4e4;
  border: 1px solid #000;
  width: 320px;
  max-width: 90%;
  text-align: center;
  direction: rtl;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  position: relative;
  padding: 30px 15px 15px 15px;
  border-radius: 3px;
  animation: popIn 0.15s ease-out;
}
.classic-alert-header {
  background: #2b3b4e;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  border: 1px solid #000;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 25px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  white-space: nowrap;
  text-shadow: none !important;
  z-index: 10;
}
.classic-alert-header-error {
  background: #dc3545 !important;
}
.classic-alert-header-success {
  background: #28a745 !important;
}
.classic-alert-header-warning {
  background: #ffc107 !important;
  color: #000 !important;
}
.classic-alert-header-question {
  background: #17a2b8 !important;
}
.classic-alert-body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  color: #000;
  line-height: 1.5;
  margin-bottom: 15px;
  text-shadow: none !important;
}
.classic-alert-buttons button {
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  border-radius: 3px;
  padding: 4px 20px;
  border: 1px solid #000;
  background: #2b3b4e;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}
.classic-alert-buttons button:hover {
  background: #1a252f;
}
.classic-alert-buttons .btn-secondary {
  background: #6c757d;
}
.classic-alert-buttons .btn-secondary:hover {
  background: #5a6268;
}
@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Hide original SweetAlert when classic alert is active */
body.classic-alert-active .swal2-container:not(.swal2-toast-container) {
  display: none !important;
}
