
/* Create-wish.css - COMPLETE DARK MODE SUPPORT WITHOUT TOUCHING BASE.CSS */

/* ===== DARK MODE BASE STYLES ===== */
@media (prefers-color-scheme: dark) {
  .form-container,
  .steps,
  .caption-box,
  .preview-card,
  input,
  select,
  textarea,
  .caption {
    background-color: #1a202c;
    color: #e2e8f0;
  }
  
  body {
    background-color: #0f172a;
  }
}

/* ===== ORIGINAL STYLES WITH DARK MODE OVERRIDES ===== */
.steps {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  background: #f8f9fa;
  font-size: 13px;
  border-radius: 10px;
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  .steps {
    background: #2d3748;
    color: #e2e8f0;
    border: 1px solid #4a5568;
  }
}

.step {
  color: #6b7280;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.step.active {
  color: #ff4d6d;
  font-weight: 600;
}

.step.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ff4d6d;
  border-radius: 50%;
}

@media (prefers-color-scheme: dark) {
  .step {
    color: #a0aec0;
  }
}

.form-container {
  max-width: 520px;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  .form-container {
    background: #1a202c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568;
  }
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
  text-align: center;
  color: #1f2937;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .form-step h2 {
    color: #f7fafc;
  }
}

input, select, textarea {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  font-size: 16px;
  background: #ffffff;
  color: #1f2937;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.1);
}

@media (prefers-color-scheme: dark) {
  input, select, textarea {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
  input:focus, select:focus, textarea:focus {
    border-color: #ff4d6d;
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.2);
  }
  
  input::placeholder, textarea::placeholder {
    color: #a0aec0;
  }
}

textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4d6d 0%, #ff8fa3 100%);
  color: #ffffff;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 77, 109, 0.3);
}

button:active {
  transform: translateY(0);
}

@media (prefers-color-scheme: dark) {
  button:hover {
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.4);
  }
}

.nav-btns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.nav-btns button:first-child {
  background: #6b7280;
}

.nav-btns button:first-child:hover {
  background: #4b5563;
  box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

@media (prefers-color-scheme: dark) {
  .nav-btns button:first-child {
    background: #4a5568;
  }
  
  .nav-btns button:first-child:hover {
    background: #2d3748;
  }
}

.caption-box {
  margin: 15px 0;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 12px;
}

@media (prefers-color-scheme: dark) {
  .caption-box {
    background: #2d3748;
    border: 1px solid #4a5568;
  }
  
  .caption-box .muted {
    color: #a0aec0;
  }
}

.caption {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  color: #374151;
  transition: all 0.2s ease;
  font-size: 15px;
  line-height: 1.5;
}

.caption:hover {
  background: #ff4d6d;
  color: #ffffff;
  border-color: #ff4d6d;
  transform: translateX(4px);
}

@media (prefers-color-scheme: dark) {
  .caption {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
  .caption:hover {
    background: #ff4d6d;
    color: #ffffff;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.photo-grid img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  object-fit: cover;
  transition: all 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-grid img.active {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.2), 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
}

@media (prefers-color-scheme: dark) {
  .photo-grid img {
    filter: brightness(0.9);
    border: 2px solid #4a5568;
  }
  
  .photo-grid img:hover {
    filter: brightness(1);
    border-color: #ff4d6d;
  }
  
  .photo-grid img.active {
    filter: brightness(1);
    border-color: #ff4d6d;
  }
}

.preview-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  color: #1f2937;
  border: 2px solid #e5e7eb;
  margin: 20px 0;
}

.preview-card p {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.6;
}

.preview-card p:first-child {
  font-size: 20px;
  font-weight: 700;
  color: #ff4d6d;
}

.preview-card p:last-child {
  font-style: italic;
  color: #6b7280;
  margin-top: 20px;
}

@media (prefers-color-scheme: dark) {
  .preview-card {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
  .preview-card p:last-child {
    color: #a0aec0;
  }
}

/* ===== ADDITIONAL DARK MODE SUPPORT FOR MUTED TEXT ===== */
.muted {
  color: #6b7280;
}

@media (prefers-color-scheme: dark) {
  .muted {
    color: #a0aec0;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 480px) {
  .form-container {
    margin: 10px;
    padding: 15px;
  }
  
  .photo-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-grid img {
    height: 140px;
  }
  
  .form-step h2 {
    font-size: 20px;
  }
  
  input, select, textarea {
    padding: 12px;
  }
  
  button {
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .photo-grid img {
    height: 150px;
  }
}

/* ================= AFFILIATE BOX (ULTRA THIN) ================= */

.affiliate-box {
  margin: 10px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff5f8;
  border: 1px dashed #ff4d6d;
  text-align: center;
}

.affiliate-box h3 {
  margin: 0 0 2px;
  color: #ff4d6d;
  font-size: 13.5px;
  font-weight: 600;
}

.affiliate-box p {
  font-size: 12.5px;
  color: #374151;
  margin: 0 0 6px;
  line-height: 1.35;
}

.affiliate-btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #ff4d6d;
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.affiliate-btn:hover {
  opacity: 0.9;
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
  .affiliate-box {
    background: #1f2937;
    border-color: #ff4d6d;
  }

  .affiliate-box p {
    color: #e5e7eb;
  }
}

.createwish-seo{
max-width:900px;
margin:15px auto;
line-height:1.7;
font-size:17px;
padding:0 20px;
}
.createwish-seo h1{
font-size:26px;
margin-bottom:10px;
}

.createwish-seo h2{
margin-top:20px;
}

@media(max-width:768px){

.createwish-seo{
font-size:15px;
margin:20px auto;
padding:0 15px;

}

.createwish-seo h1{
font-size:22px;
}

}

/* ===== CREATE WISH SEO DARK MODE FIX ===== */

@media (prefers-color-scheme: dark){

.createwish-seo{
color:#ffffff;
}

.createwish-seo h1,
.createwish-seo h2{
color:#ffffff;
}

.createwish-seo p,
.createwish-seo li{
color:#e5e7eb;
}

}
