/* Loyalty Program Carousel Styles */
@import './loyalty-page-rules.css?v=5';

.ll__reward-carousel-ho4ed3 {
  width: 100%;
  margin: 20px 0;
  box-sizing: border-box;
  display: block;
}

/* Carousel Header */
.ll__carousel-header {
  text-align: center;
}

.ll__carousel-header h2 {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 600;
  color: #000;
}

.ll__carousel-header span {
  font-size: 14px;
  margin: 0 0 20px;
  color: #666;
}

/* Login message styling */
.ll__carousel-header .login-message {
  font-size: 14px;
  margin: 5px 0 10px;
  color: #333;
  padding: 8px 12px;
  background-color: #f8f8f8;
  border-radius: 4px;
  line-height: 1.5;
  max-width: 90%;
}

.ll__carousel-header .login-link {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ll__carousel-header .login-link:hover {
  color: #0056b3;
  text-decoration: none;
}

.ll__carousel-divider {
  height: 1px;
  width: 200px;
  background-color: #e5e5e5;
  margin: 20px auto;
}

/* Carousel Navigation */
.ll__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.ll__carousel-arrow {
  background: transparent;
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  font-size: 24px;
  transition: opacity 0.3s ease;
}

.ll__carousel-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.ll__carousel-arrow-previous {
  left: -50px;
}

.ll__carousel-arrow-next {
  right: -50px;
}

.ll__carousel-arrow:focus {
  outline: none;
}

/* Carousel wrapper */
.ll__carousel-wrapper {
  overflow: hidden;
  width: fit-content;
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

/* Override rule list for carousel */
.ll__carousel-wrapper .ll__rule-list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  transition: transform 0.5s ease;
  list-style: none;
  width: 100%;
}

/* Carousel-specific overrides for rule cards */
.ll__carousel-wrapper .ll__rule-card {
  width: calc(100% - 20px);
  min-width: calc(100% - 20px);
  flex: 0 0 calc(100% - 20px);
  margin: 0 10px;
  cursor: pointer;
  height: auto;
  min-height: auto;
}

/* Override button positioning for carousel */
.ll__carousel-wrapper .ll__rule-card .ll__select-button {
  margin-top: auto;
  padding-top: 16px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .ll__reward-carousel-ho4ed3 {
    padding: 20px 10px;
  }

  .ll__carousel-arrow-previous {
    left: 10px;
  }

  .ll__carousel-arrow-next {
    right: 10px;
  }
}
