﻿.alert-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.alert-modal.show {
  display: flex;
}

.alert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.alert-modal-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  z-index: 1;
  text-align: justify;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.alert-modal-box .title {
    font-size: 2rem;
}

.alert-modal-box .message {
    font-size: 1.1rem;
}

@keyframes fadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.alert-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.alert-modal-buttons .btn {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.alert-modal-buttons .btn.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}
.alert-modal-buttons .btn.btn-primary:hover {
    background-color: var(--color-black); 
    border-color: var(--color-black);
    color: #fff;
}

.alert-modal-buttons .btn.btn-secondary {
  background-color: #6c757d;
    border-color: #6c757d;
}
.alert-modal-buttons .btn.btn-secondary:hover {
  background-color: #5c636a;
  border-color: #565e64;

}
