:root{
  --bg:#0b0c10;
  --card:#111319;
  --muted:#a8b0bf;
  --text:#f5f7fb;
  --border:rgba(255,255,255,.10);
  --accent:#ffffff;

  --radius:16px;
}

html,body{height:100%;}
body{
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== Navbar ===== */
.navbar{
  background: rgba(0,0,0,.35) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.navbar .navbar-brand{
  letter-spacing:.6px;
}

/* ===== General UI ===== */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
}

.small-muted{color:var(--muted);}

.form-control,.form-select{
  background:#0f1117;
  color:var(--text);
  border:1px solid var(--border);
  border-radius: 14px;
}
.form-control:focus,.form-select:focus{
  background:#0f1117;
  color:var(--text);
  border-color:rgba(255,255,255,.35);
  box-shadow:none;
}

.btn-primary{
  background:#ffffff;
  color:#000;
  border-color:#ffffff;
  border-radius: 14px;
}
.btn-primary:hover{
  background:#e9e9e9;
  border-color:#e9e9e9;
  color:#000;
}
.btn-outline-light{
  border-color:rgba(255,255,255,.35);
  border-radius: 14px;
}
.btn-outline-light:hover{
  background: rgba(255,255,255,.10);
}

/* ===== HERO (mock 1) ===== */
.hero{
  position: relative;
  min-height: 100vh; /* pantalla completa */
  background: url('../assets/cover.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display:flex;
  align-items:flex-start;
  padding-top: 110px; /* espacio navbar fixed */
}

/* overlay suave (en tu mock casi no se nota) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.18);
  z-index:0;
}

/* ===== Logo flotante sobre el hero ===== */
.hero{
  position: relative; /* necesario para anclar el logo */
}

.hero-floating-logo{
  position: absolute;
  top: 22px;               /* distancia desde arriba del hero */
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;    /* no estorba clics */
}

/* Círculo blanco */
.hero-logo-circle{
  width: 64px;             /* logo pequeño */
  height: 64px;
  background: #ffffff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}

/* Imagen dentro */
.hero-logo-circle img{
  max-width: 20%;
  max-height: 20%;
  display: block;
}


.hero .hero-inner{
  width:100%;
  position:relative;
  z-index:1;
}

/* Tipografía del hero */
.hero h1{
  font-weight: 800;
  letter-spacing: -.6px;
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}
.hero p{
  color: rgba(255,255,255,.75);
  text-shadow: 0 8px 18px rgba(0,0,0,.35);
}

/* ===== HERO SEARCH (igual al mock 1) ===== */
.hero-search{
  max-width: 920px;
  margin: 0 auto;
}

.hero-search-group{
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0,0,0,.45);
}

/* input blanco */
.hero-search-input{
  background:#ffffff !important;
  color:#111 !important;
  border: 0 !important;
  height: 64px;
  padding-left: 22px;
}
.hero-search-input::placeholder{
  color:#8a8f99;
}

/* botón negro */
.hero-search-btn{
  background: rgba(0,0,0,.75);
  color:#fff;
  border: 0;
  min-width: 190px;
  letter-spacing: .6px;
  font-weight: 800;
  height: 64px;
}
.hero-search-btn:hover{
  background: rgba(0,0,0,.85);
  color:#fff;
}

.hero-hint{
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  text-shadow: 0 8px 18px rgba(0,0,0,.35);
}

/* ===== Table / badges (para vista trámite y admin) ===== */
.badge-stage{
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.06);
  border-radius: 999px;
  padding:.45rem .65rem;
}

.table{color:var(--text);}
.table thead th{
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-weight:600;
}
.table td, .table th{border-top:1px solid var(--border);}

/* ===== Sidebar admin ===== */
.sidebar{
  min-height:100vh;
  background:#0c0e13;
  border-right:1px solid var(--border);
}
.sidebar a{color:var(--text); text-decoration:none;}
.sidebar .nav-link{color:var(--text); opacity:.9; border-radius:.5rem;}
.sidebar .nav-link:hover{background:rgba(255,255,255,.06);}
.sidebar .nav-link.active{background:rgba(255,255,255,.08);}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .hero{
    padding-top: 95px;
  }
  .hero-search-btn{
    min-width: 140px;
    font-weight: 700;
  }
  .hero-search-input,
  .hero-search-btn{
    height: 58px;
  }
}

.hero-underline{
  position: relative;
  display: inline-block;
  padding-bottom: .45rem;
}

.hero-underline::after{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:0;
  width: 70%;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
}
.brand-logo-circle{
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-circle img{
  max-width: 70%;
  max-height: 70%;
  display: block;
}
