/* ===== Outing Page Navigation ===== */
.nav-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.25);
}

/* ===== Add Form ===== */
.outing-add-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.outing-input {
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: 'Pretendard', sans-serif;
}

.outing-input:focus {
  outline: none;
  border-color: var(--color-olive);
}

.outing-members-select {
  margin: 0.3rem 0;
}

.outing-members-label {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-right: 0.5rem;
}

.outing-members-btns {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.outing-member-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 16px;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.outing-member-btn.selected {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.2);
  font-weight: bold;
}

.outing-photo-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-olive);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
}

.outing-submit-btn {
  padding: 0.7rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-olive);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Pretendard', sans-serif;
}

.outing-submit-btn:hover {
  background: var(--color-olive-dark);
}

.outing-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Photo Preview ===== */
.outing-photo-preview-grid {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.outing-photo-thumb-wrap {
  position: relative;
  display: inline-block;
}

.outing-photo-preview-grid img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--color-border);
}

.outing-photo-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ===== Card List ===== */
.outing-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outing-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--color-border);
  position: relative;
}

.outing-card-photo {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.outing-card-photo:hover {
  opacity: 0.85;
}

.outing-card-emoji {
  font-size: 3rem;
  text-align: center;
  padding: 1.5rem 0;
  background: var(--color-bg-secondary);
}

.outing-card-info {
  padding: 0.8rem 1rem;
}

.outing-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.outing-card-meta {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.outing-card-meta span + span::before {
  content: ' · ';
}

.outing-members-badge {
  font-size: 0.85rem;
}

.outing-photo-count {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-left: 6px;
}

.outing-card-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.3rem;
}

.outing-edit-btn,
.outing-delete-btn {
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.7;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

[data-theme="dark"] .outing-edit-btn,
[data-theme="dark"] .outing-delete-btn {
  background: rgba(0,0,0,0.5);
}

.outing-edit-btn:hover,
.outing-delete-btn:hover {
  opacity: 1;
}

.outing-empty {
  text-align: center;
  color: var(--color-text-secondary);
  padding: 2rem;
  font-size: 1.1rem;
}

/* ===== Photo Modal ===== */
.outing-photo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.outing-photo-modal {
  max-width: 92vw;
  max-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outing-photo-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 401;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}

.outing-photo-modal-close:hover {
  transform: scale(1.1);
}

.outing-photo-modal-img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
}

.outing-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 401;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.outing-photo-nav:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}

.outing-photo-prev { left: 8px; }
.outing-photo-next { right: 8px; }

.outing-photo-modal-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
}

/* 리뷰 */
.outing-reviews {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.outing-review-item {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.outing-review-user {
  font-weight: 600;
  font-size: 0.8rem;
}
.outing-review-stars {
  color: #f5a623;
  font-size: 0.85rem;
}
.outing-review-text {
  color: var(--color-text-secondary, #888);
  font-style: italic;
  font-size: 0.83rem;
}
.outing-my-review-btn {
  background: none;
  border: 1px dashed var(--color-border, #ddd);
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.3rem;
  color: var(--color-text, #333);
}
.outing-review-form {
  margin-top: 0.4rem;
  padding: 0.5rem;
  background: var(--color-bg-secondary, #f9f9f9);
  border-radius: 8px;
}
.outing-review-form-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.3rem;
}
.outing-star {
  font-size: 1.4rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.15s;
  user-select: none;
}
.outing-star.filled {
  color: #f5a623;
}
.outing-review-input {
  resize: vertical;
  min-height: 2.5rem;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}
.outing-review-del {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0 0.2rem;
  opacity: 0.6;
}
.outing-review-del:hover {
  opacity: 1;
}
.outing-review-save {
  margin-top: 0.3rem;
  padding: 0.3rem 0.8rem;
  border: none;
  border-radius: 8px;
  background: var(--color-primary, #7c5cbf);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}
