.create-page{
  background:
    radial-gradient(circle at 90% 5%,rgba(255,166,0,.10),transparent 28%),
    #f7f1ed;
  min-height:100vh;
}

.create-home-link{
  margin-left:auto;
  color:#f6e8e1;
  font-weight:800;
  font-size:14px;
}

.create-main{
  padding:55px 0 90px;
}

.create-container{
  max-width:820px;
}

.create-heading{
  text-align:center;
  max-width:680px;
  margin:0 auto 35px;
}

.create-heading > span{
  color:#d84a00;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.5px;
}

.create-heading h1{
  margin-top:7px;
  font-size:clamp(36px,6vw,54px);
  line-height:1.05;
  color:#241814;
}

.create-heading p{
  margin-top:14px;
  color:#74645c;
  font-size:16px;
}

/* PROGRESO */

.progress-wrap{
  margin-bottom:25px;
}

.progress-bar{
  height:7px;
  background:#e6d9d1;
  border-radius:999px;
  overflow:hidden;
}

.progress-fill{
  width:20%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#ff6a00,#ffbe0b);
  transition:width .3s ease;
}

.progress-label{
  margin-top:9px;
  text-align:right;
  color:#7b6960;
  font-size:13px;
}

/* PASOS */

.form-step{
  display:none;
  background:#fff;
  border:1px solid #eadbd2;
  border-radius:26px;
  padding:34px;
  box-shadow:0 20px 55px rgba(69,30,12,.10);
}

.form-step.active{
  display:block;
}

.step-title{
  display:flex;
  gap:16px;
  margin-bottom:28px;
  align-items:flex-start;
}

.step-title > span{
  min-width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(135deg,#ff6a00,#ffb000);
  color:#fff;
  font-weight:900;
}

.step-title h2{
  font-size:27px;
  line-height:1.15;
  color:#271914;
}

.step-title p{
  margin-top:5px;
  color:#7a6961;
}

/* CAMPOS */

.field-label{
  display:block;
  margin:20px 0 8px;
  color:#37231a;
  font-size:14px;
  font-weight:900;
}

.create-page input[type="text"],
.create-page input[type="url"],
.create-page textarea{
  width:100%;
  border:1px solid #dfcfc5;
  background:#fffaf7;
  border-radius:14px;
  padding:15px 16px;
  color:#241814;
  font-size:16px;
  outline:none;
  transition:.2s;
}

.create-page textarea{
  min-height:155px;
  resize:vertical;
}

.create-page input:focus,
.create-page textarea:focus{
  border-color:#ff8a00;
  box-shadow:0 0 0 4px rgba(255,138,0,.10);
}

.upload-box{
  min-height:145px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:2px dashed #e4c4b2;
  border-radius:18px;
  background:#fff8f3;
  cursor:pointer;
  transition:.2s;
}

.upload-box:hover{
  border-color:#ff8a00;
  background:#fff4e9;
}

.upload-icon{
  font-size:34px;
}

.upload-box strong{
  margin-top:8px;
  color:#432619;
}

.upload-box small{
  margin-top:3px;
  color:#8a776e;
}

/* DURACIÓN */

.duration-control{
  display:grid;
  grid-template-columns:70px 1fr 70px;
  align-items:center;
  gap:14px;
  margin:18px 0 22px;
}

.duration-control button{
  height:60px;
  border:0;
  border-radius:16px;
  background:#281a15;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}

.duration-control > div{
  text-align:center;
  padding:17px;
  border-radius:18px;
  background:linear-gradient(135deg,#ff7200,#ffb000);
  color:#2a150a;
}

.duration-control strong{
  display:block;
  font-size:34px;
  line-height:1;
}

.duration-control span{
  display:block;
  margin-top:5px;
  font-weight:800;
}

.quick-hours{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
}

.quick-hours button{
  padding:12px 5px;
  border:1px solid #ead8cc;
  background:#fff7f1;
  border-radius:12px;
  color:#58301d;
  font-weight:800;
  cursor:pointer;
}

.quick-hours button:hover,
.quick-hours button.selected{
  background:#281a15;
  color:#ffbf20;
  border-color:#281a15;
}

/* FRECUENCIA */

.frequency-options{
  display:grid;
  gap:12px;
}

.frequency-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  padding:18px;
  border:1px solid #ead8cd;
  border-radius:17px;
  background:#fffaf6;
  cursor:pointer;
}

.frequency-card:has(input:checked){
  border-color:#ff8a00;
  background:#fff3e5;
  box-shadow:0 0 0 3px rgba(255,138,0,.08);
}

.frequency-card input{
  width:20px;
  height:20px;
  accent-color:#f46a00;
}

.frequency-card strong{
  display:block;
  color:#332018;
}

.frequency-card span{
  display:block;
  color:#816e65;
  font-size:13px;
  margin-top:2px;
}

.frequency-card b{
  min-width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:#271914;
  color:#ffbe0b;
  border-radius:12px;
}

/* INFORMACIÓN */

.campaign-info{
  margin-top:22px;
  padding:15px 17px;
  border-radius:14px;
  background:#fff3df;
  color:#61361f;
  font-size:14px;
  font-weight:700;
}

/* VISTA PREVIA */

.ad-preview{
  overflow:hidden;
  border-radius:22px;
  border:1px solid #eadbd2;
  background:#fff;
  box-shadow:0 18px 45px rgba(57,27,12,.10);
}

.preview-image{
  min-height:250px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#f3e8e1,#fff8f3);
  font-size:58px;
  overflow:hidden;
}

.preview-image img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
  display:block;
}

.preview-body{
  padding:24px;
}

.preview-sponsored{
  color:#dd5700;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.preview-body h3{
  margin-top:10px;
  font-size:25px;
  color:#281a15;
}

.preview-body p{
  margin-top:9px;
  color:#6f5f57;
  white-space:pre-wrap;
}

.preview-cta{
  display:inline-flex;
  margin-top:18px;
  color:#d94d00;
  font-weight:900;
}

/* RESUMEN */

.summary-card{
  overflow:hidden;
  border:1px solid #eadbd2;
  border-radius:19px;
}

.summary-row,
.summary-total{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:17px 18px;
  border-bottom:1px solid #eee1da;
}

.summary-row span{
  color:#79675f;
}

.summary-row strong{
  text-align:right;
  color:#372219;
}

.summary-total{
  border-bottom:0;
  background:linear-gradient(135deg,#271914,#3c2115);
  color:white;
  align-items:center;
}

.summary-total strong{
  color:#ffbe0b;
  font-size:28px;
}

/* BOTONES */

.step-actions{
  margin-top:28px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.step-actions.right{
  justify-content:flex-end;
}

.next-btn,
.finish-btn,
.back-btn{
  min-height:52px;
  padding:0 23px;
  border-radius:14px;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
}

.next-btn,
.finish-btn{
  border:0;
  background:linear-gradient(135deg,#ffbe0b,#ff8200);
  color:#2b160a;
  box-shadow:0 9px 25px rgba(255,128,0,.22);
}

.back-btn{
  border:1px solid #dfd0c8;
  background:#fff;
  color:#5d4940;
}

/* MÓVIL */

@media(max-width:640px){

  .create-main{
    padding:38px 0 65px;
  }

  .create-heading{
    margin-bottom:28px;
  }

  .create-heading h1{
    font-size:38px;
  }

  .form-step{
    padding:23px 19px;
    border-radius:21px;
  }

  .step-title{
    gap:12px;
  }

  .step-title > span{
    min-width:42px;
    height:42px;
  }

  .step-title h2{
    font-size:23px;
  }

  .duration-control{
    grid-template-columns:56px 1fr 56px;
    gap:9px;
  }

  .quick-hours{
    grid-template-columns:repeat(3,1fr);
  }

  .frequency-card{
    padding:15px 13px;
  }

  .preview-image{
    min-height:200px;
  }

  .summary-row{
    flex-direction:column;
    gap:3px;
  }

  .summary-row strong{
    text-align:left;
  }

  .step-actions{
    flex-direction:column-reverse;
  }

  .next-btn,
  .finish-btn,
  .back-btn{
    width:100%;
  }

  .create-home-link{
    font-size:13px;
  }
}
