.acne-progress-swiper {
    position: relative;
}

.acne-progress-swiper .swiper-button-prev,
.acne-progress-swiper .swiper-button-next {
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.acne-progress-swiper .swiper-button-prev:after,
.acne-progress-swiper .swiper-button-next:after {
    display: none;
}

.acne-progress-swiper .swiper-button-prev:hover,
.acne-progress-swiper .swiper-button-next:hover {
    background-color: var(--bs-primary);
    transform: scale(1.1);
}

.acne-progress-swiper .swiper-pagination-bullet {
    background-color: var(--bs-primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.acne-progress-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.bg-gradient-dark {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

@media (max-width: 768px) {
    .acne-progress-swiper .swiper-button-prev,
    .acne-progress-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        font-size: 14px;
    }
}

/* WhatsApp Chat Interface Styles */
.whatsapp-chat-mockup {
    max-width: 600px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chat-messages {
    overflow-y: auto;
}

.user-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -5px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: var(--bs-primary);
    border-bottom: 0;
}

.bot-message::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-color: white;
    border-bottom: 0;
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.avatar-sm {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-chat-mockup {
        max-width: 100%;
    }
    
    .chat-messages {
        height: 300px !important;
    }
}

.acne-progress-swiper {
    position: relative;
}

.acne-progress-swiper .swiper-button-prev,
.acne-progress-swiper .swiper-button-next {
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.acne-progress-swiper .swiper-button-prev:after,
.acne-progress-swiper .swiper-button-next:after {
    display: none;
}

.acne-progress-swiper .swiper-button-prev:hover,
.acne-progress-swiper .swiper-button-next:hover {
    background-color: var(--bs-primary);
    transform: scale(1.1);
}

.acne-progress-swiper .swiper-pagination-bullet {
    background-color: var(--bs-primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.acne-progress-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.bg-gradient-dark {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

@media (max-width: 768px) {
    .acne-progress-swiper .swiper-button-prev,
    .acne-progress-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        font-size: 14px;
    }
}

#loading-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle img {
  width: 150px;
  height: 150px;
  z-index: 2;
}

.loader-circle::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 8px solid;
  border-color: red transparent black transparent;
  animation: spin 1.2s linear infinite, colorchange 2s linear infinite;
  z-index: 1;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes colorchange {
  0%   { border-color: red transparent black transparent; }
  50%  { border-color: black transparent red transparent; }
  100% { border-color: red transparent black transparent; }
}