.c-notification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(0px);
  transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease;
  pointer-events: none;
}
.c-notification-modal.is-active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(4px);
  pointer-events: all;
}
.c-notification-modal--success.is-active {
  backdrop-filter: blur(4px);
}
.c-notification-modal--success.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 150, 105, 0.1);
  pointer-events: none;
}
.c-notification-modal--error.is-active {
  backdrop-filter: blur(4px);
}
.c-notification-modal--error.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(220, 38, 38, 0.1);
  pointer-events: none;
}
.c-notification-modal--warning.is-active {
  backdrop-filter: blur(4px);
}
.c-notification-modal--warning.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(217, 119, 6, 0.1);
  pointer-events: none;
}
.c-notification-modal--info.is-active {
  backdrop-filter: blur(4px);
}
.c-notification-modal--info.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 99, 235, 0.1);
  pointer-events: none;
}
.c-notification-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.c-notification-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
  z-index: 1;
}
.c-notification-modal.is-active .c-notification-modal__content {
  transform: scale(1) translateY(0);
}
.c-notification-modal__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  overflow: hidden;
  display: none;
}
.c-notification-modal__progress-fill {
  height: 100%;
  width: 100%;
  background-color: #2563eb;
  transform-origin: right;
}
.c-notification-modal--success .c-notification-modal__progress-fill {
  background-color: #059669;
}
.c-notification-modal--error .c-notification-modal__progress-fill {
  background-color: #dc2626;
}
.c-notification-modal--warning .c-notification-modal__progress-fill {
  background-color: #d97706;
}
.c-notification-modal--info .c-notification-modal__progress-fill {
  background-color: #2563eb;
}
.c-notification-modal__body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-height: 90vh;
  overflow: hidden;
}
.c-notification-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.c-notification-modal__icon--success {
  background-color: #d1fae5;
  color: #059669;
}
.c-notification-modal__icon--error {
  background-color: #fee2e2;
  color: #dc2626;
}
.c-notification-modal__icon--warning {
  background-color: #fef3c7;
  color: #d97706;
}
.c-notification-modal__icon--info {
  background-color: #dbeafe;
  color: #2563eb;
}
.c-notification-modal__title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}
.c-notification-modal__message {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 24px 0;
  word-wrap: break-word;
  width: 100%;
  text-align: center;
}
.c-notification-modal__body--html .c-notification-modal__message {
  overflow-y: auto;
  max-height: 45vh;
  text-align: center;
  padding-right: 8px;
}
.c-notification-modal__body--html .c-notification-modal__message::-webkit-scrollbar {
  width: 6px;
}
.c-notification-modal__body--html .c-notification-modal__message::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.c-notification-modal__body--html .c-notification-modal__message::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}
.c-notification-modal__body--html .c-notification-modal__message::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.c-notification-modal__footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-shrink: 0;
}
.c-notification-modal__button {
  padding: 10px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}
.c-notification-modal__button--primary {
  background-color: #2563eb;
  color: #ffffff;
}
.c-notification-modal__button--primary:hover {
  background-color: #1d4ed8;
}
.c-notification-modal__button--primary:active {
  transform: scale(0.98);
}
.c-notification-modal--success .c-notification-modal__button--primary {
  background-color: #059669;
}
.c-notification-modal--success .c-notification-modal__button--primary:hover {
  background-color: #047857;
}
.c-notification-modal--error .c-notification-modal__button--primary {
  background-color: #dc2626;
}
.c-notification-modal--error .c-notification-modal__button--primary:hover {
  background-color: #b91c1c;
}
.c-notification-modal--warning .c-notification-modal__button--primary {
  background-color: #d97706;
}
.c-notification-modal--warning .c-notification-modal__button--primary:hover {
  background-color: #b45309;
}
.c-notification-modal--info .c-notification-modal__button--primary {
  background-color: #2563eb;
}
.c-notification-modal--info .c-notification-modal__button--primary:hover {
  background-color: #1d4ed8;
}

@media (max-width: 768px) {
  .c-notification-modal__content {
    max-width: 90%;
    margin: 20px;
  }
  .c-notification-modal__body {
    padding: 24px 20px;
  }
  .c-notification-modal__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  .c-notification-modal__title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .c-notification-modal__message {
    font-size: 14px;
    margin-bottom: 20px;
  }
}