.btn-cancel-profesional {
  background: #f0f0f0;
  color: #555;
}

.btn-cancel-profesional:hover {
  background: #e0e0e0;
}
    
.btn-save-profesional {
  background: #4e66f8;
  color: white;
}
    
.btn-save-profesional:hover {
  background: #3a52e0;
}
/* === PRIMARY === */
.btn-primary-profesional {
  background-color: #1e3a8a;
  color: #f1f5f9;
  
}

.btn-primary-profesional:hover {
  background-color: #1D4ED8;
  color: #FFFFFF;
}

/* === SECONDARY === */
.btn-secondary-profesional {
  background-color: #64748B;
  color: #FFFFFF;
}

.btn-secondary-profesional:hover {
  background-color: #475569;
  color:white;
}

/* === SUCCESS === */
.btn-success-profesional {
  background-color: #22C55E;
  color: #FFFFFF;
}

.btn-success-profesional:hover {
  background-color: #16A34A;
}

/* === WARNING === */
.btn-warning-profesional {
  background-color: #e3b448;
  color: #1F2937;
}

.btn-warning-profesional:hover {
  background-color: #EAB308;
  color: white;
}

/* === DANGER === */
.btn-danger-profesional {
  background-color: #990000;
  color: #FFFFFF;
}

.btn-danger-profesional:hover {
  background-color: #E11D48;
  color: white
}

/* === INFO === */
.btn-info-profesional {
  background-color: #38BDF8;
  color: #FFFFFF;
}

.btn-info-profesional:hover {
  background-color: #0EA5E9;
}

/* === DARK === */
.btn-dark-profesional {
  background-color: #334155;
  color: #FFFFFF;
}

.btn-dark-profesional:hover {
  background-color: #1E293B;
}

.alert-profesional {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.alert-profesional .alert-box {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  min-width: 300px;
  text-align: center;
  will-change: transform, opacity; /* Optimalkan rendering */
  backface-visibility: hidden; /* Untuk animasi 3D */
  transform: translateY(0); /* Reset transform */
  opacity: 1; /* Reset opacity */
  color: black;
}

.alert-profesional .alert-box .alert-buttons{
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

/* ANIMASI DASAR */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* ANIMASI LANJUTAN */
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUpIn {
  from {
    opacity: 0;
    transform: translateY(100vh);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDownOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

@keyframes bounceUpIn {
  0% { transform: translateY(100px); opacity: 0; }
  60% { transform: translateY(-20px); }
  80% { transform: translateY(10px); }
  100% { transform: translateY(0); opacity: 1; }
}

/* CLASS SHOW/HIDE */
.alert-show-fadeIn { animation: fadeIn 0.4s ease-out forwards !important; }
.alert-hide-fadeOut { animation: fadeOut 0.3s ease-in forwards !important; }
.alert-show-zoomIn { animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; }
.alert-show-slideInRight { animation: slideInRight 0.6s ease-out forwards !important; background-color: black}

.alert-show-slideUp {
  animation: slideUpIn 0.5s cubic-bezier(0.1, 1, 0.45, 1) forwards !important;
}

.alert-hide-slideDown {
  animation: slideDownOut 0.4s cubic-bezier(0.55, 0.09, 0.68, 0.53) forwards !important;
}

.alert-show-bounceUp {
  animation: bounceUpIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}