/* Social Booster Frontend Styles */
#social-booster-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Position Container */
.sb-position-container {
  position: absolute;
  pointer-events: none;
  max-width: 400px;
}

.sb-position-bottom-left {
  bottom: 20px;
  left: 20px;
}

.sb-position-bottom-right {
  bottom: 20px;
  right: 20px;
}

.sb-position-top-left {
  top: 20px;
  left: 20px;
}

.sb-position-top-right {
  top: 20px;
  right: 20px;
}

.sb-position-center-left {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.sb-position-center-right {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

/* Basis-Notification */
.sb-notification {
  pointer-events: auto;
  margin-bottom: 12px;
  max-width: 380px;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.sb-notification.sb-show {
  opacity: 1;
  transform: translateX(0);
}

.sb-notification.sb-hide {
  opacity: 0;
  transform: translateX(-100%);
}

/* Animationen */
.sb-animation-fade-in {
  transform: scale(0.9) translateY(20px);
}

.sb-animation-fade-in.sb-show {
  transform: scale(1) translateY(0);
}

.sb-animation-bounce {
  transform: translateY(-30px);
}

.sb-animation-bounce.sb-show {
  transform: translateY(0);
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sb-animation-zoom {
  transform: scale(0);
}

.sb-animation-zoom.sb-show {
  transform: scale(1);
  animation: zoomIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes bounceIn {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Notification Content */
.sb-notification-content {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  position: relative;
  min-height: 60px;
}

.sb-notification-image {
  flex-shrink: 0;
  margin-right: 14px;
}

.sb-notification-image img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.sb-notification-text {
  flex: 1;
  min-width: 0;
  padding-right: 30px;
}

.sb-message {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
  font-weight: 500;
  word-wrap: break-word;
}

.sb-time {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}

.sb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.sb-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

/* Hover-Effekte */
.sb-notification:hover {
  transform: translateX(0) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Bild-Formen */
.sb-notification-image {
  flex-shrink: 0;
  margin-right: 14px;
}

/* Eckig */
.sb-image-square img {
  border-radius: 0;
}

/* Abgerundet */
.sb-image-rounded img {
  border-radius: 8px;
}

/* Kreisrund */
.sb-image-circle img {
  border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sb-position-container {
    left: 10px !important;
    right: 10px !important;
    max-width: calc(100vw - 20px);
  }

  .sb-notification {
    max-width: none;
    width: 100%;
  }

  .sb-notification-content {
    padding: 14px 16px;
  }

  .sb-notification-image img {
    width: 40px;
    height: 40px;
  }

  .sb-message {
    font-size: 13px;
  }

  .sb-time {
    font-size: 11px;
  }
}
