/* ============================================
   INFO SHEET - Boulder Info Modal/Drawer
   ============================================ */

/* Backdrop */
.info-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
}

/* Sheet Base */
.info-sheet {
  position: fixed;
  background: #1e1e1e;
  z-index: 10001;
  overflow-y: auto;
}

/* Desktop: Centered Modal */
.info-sheet.desktop {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  border-radius: 16px;
}

/* Mobile: Bottom Drawer */
.info-sheet.mobile {
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  border-radius: 20px 20px 0 0;
}

/* Header */
.info-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: #1e1e1e;
  z-index: 1;
}

.info-sheet-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.info-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 16px;
}

.info-sheet-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Content */
.info-sheet-content {
  padding: 20px;
}

/* Boulder Info */
.info-sheet-boulder {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.info-sheet-boulder img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.info-sheet-boulder-details {
  flex: 1;
  min-width: 0;
}

.info-sheet-boulder-details h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boulder-grade {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.boulder-setter {
  margin: 8px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.boulder-setter svg {
  font-size: 12px;
}

.boulder-stats {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.boulder-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.boulder-stats svg {
  font-size: 13px;
}

/* Description */
.info-sheet-description {
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 20px;
}

.info-sheet-description p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* Sent Badge */
.info-sheet-sent-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  color: #22c55e;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.info-sheet-sent-badge svg {
  font-size: 16px;
}

/* Primary Actions */
.info-sheet-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.info-sheet-actions .action-btn {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.info-sheet-actions .action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.info-sheet-actions .action-btn.active {
  background: #9747ff;
}

.info-sheet-actions .action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.info-sheet-actions .action-btn svg {
  font-size: 16px;
}

/* Secondary Actions */
.info-sheet-secondary-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.info-sheet-secondary-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.info-sheet-secondary-actions button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.info-sheet-secondary-actions button svg {
  font-size: 14px;
}

/* Owner Actions */
.info-sheet-owner-actions {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-sheet-owner-actions button {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #8b5cf6;  /* Rumble purple (violet-500) */
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.info-sheet-owner-actions button:hover {
  background: #7c3aed;  /* Darker purple (violet-600) */
}

.info-sheet-owner-actions button svg {
  font-size: 16px;
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */

@media (max-width: 767px) {
  .info-sheet-header {
    padding: 14px 16px;
  }

  .info-sheet-header h2 {
    font-size: 16px;
  }

  .info-sheet-close {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .info-sheet-content {
    padding: 16px;
  }

  .info-sheet-boulder {
    gap: 14px;
  }

  .info-sheet-boulder img {
    width: 70px;
    height: 70px;
  }

  .info-sheet-boulder-details h3 {
    font-size: 16px;
  }

  .boulder-grade {
    font-size: 11px;
    padding: 3px 10px;
  }

  .boulder-setter {
    font-size: 13px;
  }

  .boulder-stats {
    font-size: 13px;
    gap: 12px;
  }

  .info-sheet-actions .action-btn {
    padding: 12px 14px;
    font-size: 13px;
  }

  .info-sheet-secondary-actions button {
    padding: 10px;
    font-size: 13px;
  }
}
