/* Boulder Carousel Styles */
.boulder-carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.boulder-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  touch-action: pan-y;
}

.boulder-carousel-track {
  display: flex;
  will-change: transform;
}

.boulder-carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
  padding: 0 10px;
}

.boulder-preview-card {
  background: #2c2c2c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.boulder-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: #1a1a1a;
}

.boulder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.boulder-info {
  padding: 15px;
}

.boulder-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.boulder-grade {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.boulder-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #9ca3af;
}

/* Player Log Carousel Styles */
.player-log-carousel-container {
  position: relative;
  width: 100%;
}

.player-log-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  touch-action: pan-y;
}

.player-log-carousel-track {
  display: flex;
  will-change: transform;
}

.player-log-carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
  padding: 0 10px;
}

.player-log-card {
  background: #2c2c2c;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.player-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444;
}

.player-details {
  flex: 1;
}

.player-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 5px 0;
}

.player-level {
  font-size: 14px;
  color: #9ca3af;
}

/* Log Status */
.log-status {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.log-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.status-badge svg {
  font-size: 14px;
}

.log-info .status-badge:has(.fa-check) {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.log-info .status-badge:has(.fa-times) {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.attempts-info,
.score-info {
  font-size: 14px;
  color: #d1d5db;
}

.no-log-info {
  text-align: center;
  color: #6b7280;
  font-style: italic;
}

/* Log Actions */
.log-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.log-action-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.log-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.log-action-btn.complete {
  background: #22c55e;
  color: white;
}

.log-action-btn.complete:hover:not(:disabled) {
  background: #16a34a;
}

.log-action-btn.incomplete {
  background: #ef4444;
  color: white;
}

.log-action-btn.incomplete:hover:not(:disabled) {
  background: #dc2626;
}

/* Attempt Controls */
.attempt-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.attempt-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.attempt-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.attempt-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.attempt-count {
  font-size: 18px;
  font-weight: 600;
  color: white;
  min-width: 30px;
  text-align: center;
}

/* Carousel Navigation */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.carousel-nav-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-nav-btn.prev {
  left: 10px;
}

.carousel-nav-btn.next {
  right: 10px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 0 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #ffffff;
}

/* Mobile specific styles */
@media (max-width: 767px) {
  .boulder-image-container {
    height: 150px;
  }
  
  .player-avatar {
    width: 50px;
    height: 50px;
  }
  
  .log-action-btn {
    padding: 10px;
    font-size: 14px;
  }
  
  .carousel-nav-btn {
    display: none;
  }
}

/* Log Modal Wrapper Content */
.log-modal-mobile-content {
  padding: 0;
  max-height: 80vh;
  overflow-y: auto;
  background: #1a1a1a;
  border-radius: 12px;
}

.log-modal-desktop-content {
  padding: 0;
  background: #2c2c2c;
  border-radius: 8px;
}

/* No participants message */
.no-participants-message {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  font-size: 16px;
}