.affililabs-modal {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.affililabs-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

.affililabs-modal__container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  min-width: 400px;
  max-width: 600px;
  z-index: 10001;
}

.affililabs-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.affililabs-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.affililabs-modal__close {
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.affililabs-modal__content {
  padding: 20px;
  font-size: 14px;
  line-height: 1.5;
  max-height: 400px;
  overflow-y: auto;
}

.affililabs-modal__footer {
  padding: 15px 20px;
  border-top: 1px solid #ddd;
}

.affililabs-modal__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.affililabs-modal__button {
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  border: none;
}

.affililabs-modal__button--primary {
  background-color: #1e3b8a;
  color: #fff;
}

.affililabs-modal__button--primary:hover {
  background-color: #162b64;
}

.affililabs-modal__button--secondary {
  background-color: #00BFFF;
  color: #fff;
}

.affililabs-modal__button--secondary:hover {
  background-color: #0095cc;
}

.affililabs-modal__button--success {
  background-color: #28a745;
  color: #fff;
}

.affililabs-modal__button--success:hover {
  background-color: #218838;
}

.affililabs-modal__button--neutral {
  background-color: #e0e0e0;
  color: #333;
}

.affililabs-modal__button--neutral:hover {
  background-color: #ccc;
}

.affililabs-modal__button--danger {
  background-color: #ff4d4d;
  color: #fff;
}

.affililabs-modal__button--danger:hover {
  background-color: #e60000;
}

.affililabs-modal--notice .affililabs-modal__header {
  border-top: 4px solid #00BFFF;
}

.affililabs-modal--confirm .affililabs-modal__header {
  border-top: 4px solid #1e3b8a;
}

.affililabs-modal--success .affililabs-modal__header {
  border-top: 4px solid #28a745;
}

.affililabs-modal--success .affililabs-modal__title {
  color: #28a745;
}

.affililabs-modal--error .affililabs-modal__header {
  border-top: 4px solid #ff4d4d;
}

.affililabs-modal--error .affililabs-modal__title {
  color: #ff4d4d;
}

.affililabs-modal--show {
  display: block;
  animation: affl-fade-in 0.3s;
}

@keyframes affl-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} 