/* ============================================
   CUSTOM MODALS - Alert & Confirm
   ============================================ */

/* Modal Overlay */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.custom-modal-overlay.active {
  display: flex;
}

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

/* Modal Box */
.custom-modal-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid rgba(255, 140, 0, 0.5);
  border-radius: 20px;
  padding: 0;
  min-width: 400px;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: slideIn 0.3s ease-out;
  overflow: hidden;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Header */
.custom-modal-header {
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 140, 0, 0.3);
}

.custom-modal-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.custom-modal-title {
  color: #ff8c00;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

/* Modal Content */
.custom-modal-content {
  padding: 30px;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.6;
}

/* Modal Footer */
.custom-modal-footer {
  padding: 20px 30px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 140, 0, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

/* Modal Buttons */
.custom-modal-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.custom-modal-btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-modal-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.custom-modal-btn-confirm {
  background: linear-gradient(135deg, #ff8c00, #ff6347);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.custom-modal-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.custom-modal-btn-ok {
  background: linear-gradient(135deg, #ff8c00, #ff6347);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.custom-modal-btn-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

/* Success Modal */
.custom-modal-box.success .custom-modal-header {
  border-bottom-color: rgba(34, 197, 94, 0.3);
}

.custom-modal-box.success .custom-modal-title {
  color: #22c55e;
}

/* Warning Modal */
.custom-modal-box.warning .custom-modal-header {
  border-bottom-color: rgba(239, 68, 68, 0.3);
}

.custom-modal-box.warning .custom-modal-title {
  color: #ef4444;
}

/* Responsive */
