/* css/review.css - Warm premium Hanji/Serif aesthetic for reviews page */

body {
  /* Inherits --bg-paper (#F8F6F2) and serif fonts from main.css */
}

/* Adjust page title spacing */
main.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--gutter) 60px;
}

.gradient-ulsan {
  font-family: 'Noto Serif KR', serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--wood);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1rem;
}

/* Grid Layout */
.container-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .container-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Form and List Containers */
.review-form, .review-list {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.review-form h2, .review-list h2 {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Form Inputs */
label {
  display: block;
  margin-top: 1.2rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

input[type="text"], textarea, select {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(29, 29, 27, 0.15);
  border-radius: 8px;
  background: #fafafa;
  color: var(--ink);
  font-family: 'Noto Serif KR', serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--thread);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--thread-soft);
}

input::placeholder, textarea::placeholder {
  color: rgba(29, 29, 27, 0.3);
}

/* Star Rating */
.rating {
  margin-top: 0.5rem;
  display: flex;
  gap: 8px;
}

.rating span {
  font-size: 2rem;
  cursor: pointer;
  color: rgba(29, 29, 27, 0.15);
  transition: all 0.2s ease;
}

.rating span.active {
  color: var(--thread);
}

/* Image Upload Previews */
.preview {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Submit Button */
.submit-btn {
  margin-top: 2rem;
  width: 100%;
  padding: 0.9rem;
  background: var(--thread);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Serif KR', serif;
}

.submit-btn:hover {
  background: var(--wood);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(93, 64, 55, 0.2);
}

.submit-btn:disabled {
  background: rgba(29, 29, 27, 0.15);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Review List Cards */
.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--thread-soft);
}

.status {
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}
