/* =========================
   HEADER (logo + search + auth button)
   ========================= */

.rp-header{
  background: linear-gradient(90deg, var(--rp-sky1) 0%, var(--rp-sky2) 45%, var(--rp-sky3) 100%);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(2,132,199,.18);
}

.rp-top{
  max-width:1200px;
  margin:0 auto;
  padding:18px 18px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.rp-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  min-width:260px;
}

.rp-logo{
  width:56px;
  height:56px;
  object-fit:contain;
  display:block;
  background: rgba(255,255,255,.95);
  border-radius:14px;
  padding:8px;
  box-shadow: 0 10px 22px rgba(2,132,199,.22);
}

.rp-sitename{
  font-weight:900;
  font-size:30px;
  line-height:1;
  letter-spacing:-.2px;
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.rp-a, .rp-c{ color:#fff; }
.rp-b{ color:#fbbf24; } /* amber */

.rp-tagline{
  margin-top:4px;
  color: var(--rp-muted);
  font-size:14px;
}

.rp-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

/* Search box */
.rp-searchbox{
  display:flex;
  align-items:center;
  gap:10px;
  height:44px;
  padding:0 10px 0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
  min-width:360px;
}

.rp-searchbox:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.40);
}

.rp-searchicon{
  color: rgba(255,255,255,.92);
  font-size:15px;
  line-height:1;
}

.rp-searchinput{
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  width:100%;
  font-weight:700;
  font-size:14px;
}

.rp-searchinput::placeholder{
  color: rgba(255,255,255,.78);
  font-weight:700;
}

.rp-searchbtn{
  border:0;
  cursor:pointer;
  height:34px;
  padding:0 14px;
  border-radius:999px;
  font-weight:900;
  color:#1d4ed8;
  background:#fff;
  box-shadow: 0 10px 20px rgba(2,132,199,.18);
  transition: transform .12s ease, opacity .12s ease;
}

.rp-searchbtn:hover{
  transform: translateY(-1px);
  opacity:.98;
}

/* Button auth */
.rp-btn{
  background:#fff;
  color:#1d4ed8;
  text-decoration:none;
  font-weight:800;
  padding:12px 18px;
  border-radius:999px;
  display:inline-block;
  box-shadow: 0 12px 26px rgba(2,132,199,.18);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  white-space:nowrap;
}

.rp-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(2,132,199,.22);
  opacity:.98;
}

/* Responsive */
@media (max-width: 860px){
  .rp-top{ flex-wrap:wrap; }
  .rp-actions{ width:100%; justify-content:space-between; }
  .rp-searchbox{ flex:1; min-width:100%; }
}

@media (max-width: 640px){
  .rp-sitename{ font-size:24px; }
  .rp-logo{ width:50px; height:50px; padding:7px; }
  .rp-btn{ padding:10px 14px; }
}
