/* ═══════════════════════════════════════
   RACHAT PAGE — Liquid Glass
   ═══════════════════════════════════════ */

/* Hero */
.rachat-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.rachat-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.rachat-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.rachat-content { padding: 40px 0 120px; }
.rachat-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

/* Form — Glass card */
.rachat-form {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.rachat-form::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(125, 213, 230, 0.03) 0%,
    rgba(255,255,255,0.04) 50%,
    rgba(255,255,255,0.04) 100%
  );
  pointer-events: none;
}
.rachat-form > * { position: relative; }

.rachat-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-input:focus {
  border-color: rgba(212,197,160,0.6);
  box-shadow: 0 0 0 3px rgba(212,197,160,0.08), 0 0 16px rgba(212,197,160,0.06);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238888a0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-select:focus {
  border-color: rgba(212,197,160,0.6);
  box-shadow: 0 0 0 3px rgba(212,197,160,0.08), 0 0 16px rgba(212,197,160,0.06);
}

/* Photo upload — Glass zone */
.photo-upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.photo-upload-zone:hover,
.photo-upload-zone.dragover {
  border-color: rgba(212,197,160,0.5);
  background: rgba(212,197,160,0.03);
  box-shadow: 0 0 20px rgba(212,197,160,0.06);
}
.upload-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.upload-icon svg { width: 28px; height: 28px; color: #d4c5a0; }
.photo-upload-zone h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.photo-upload-zone p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.photo-previews {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.photo-preview {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.photo-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-preview .remove-photo {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
}
.photo-preview:hover .remove-photo { opacity: 1; }

/* Submit button — Gold */
.submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4c5a0, #bfa870);
  color: #000;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(212,197,160,0.2);
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,197,160,0.3);
}

/* Info sidebar — Glass cards */
.rachat-info { position: sticky; top: 100px; }
.info-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(125, 213, 230, 0.025) 0%,
    rgba(255,255,255,0.04) 100%
  );
  pointer-events: none;
}
.info-card > * { position: relative; }
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.process-steps { list-style: none; }
.process-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(212,197,160,0.08);
  border: 1px solid rgba(212,197,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d4c5a0;
  flex-shrink: 0;
}
.step-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.condition-guide {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.condition-guide li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.condition-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .rachat-layout { grid-template-columns: 1fr; }
  .rachat-info { position: static; }
}
@media (max-width: 768px) {
  .rachat-form { padding: 24px; }
  .rachat-hero h1 { font-size: 2.2rem; }
  .rachat-hero p { max-width: 100%; font-size: 0.88rem; }
  .info-card { padding: 24px; }
}
@media (max-width: 480px) {
  .rachat-hero { padding: 40px 0 24px; }
  .rachat-hero h1 { font-size: 1.8rem; }
  .rachat-hero p { font-size: 0.82rem; }
  .rachat-form { padding: 18px; border-radius: 16px; }
  .rachat-form-title { font-size: 1.1rem; }
  .photo-upload-zone { padding: 24px 16px; }
  .photo-upload-zone h4 { font-size: 0.88rem; }
  .photo-upload-zone p { font-size: 0.75rem; }
  .form-input, .form-select { padding: 12px 14px; font-size: 0.85rem; }
  .form-label { font-size: 0.78rem; }
  .submit-btn { padding: 14px; font-size: 0.88rem; }
  .info-card { padding: 18px; }
  .info-card h3 { font-size: 1rem; }
  .process-step { gap: 12px; }
  .step-number { width: 32px; height: 32px; font-size: 0.75rem; }
  .step-content h4 { font-size: 0.85rem; }
  .step-content p { font-size: 0.78rem; }
  .condition-guide li { font-size: 0.82rem; }
}
