.rb-nav{
  width:100%;
  position:sticky;
  top:0;
  left:0;
  right:0;
  z-index:9999;
  background:#fff;
  border-bottom:1px solid #e6e6e6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.rb-nav-inner{
  max-width:900px;
  margin:0 auto;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  box-sizing:border-box;
}

.rb-brand{
  font-weight:900;
  color:#111;
  cursor:pointer;
  white-space:nowrap;
  font-family:sans-serif;
}

.rb-steps{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.rb-steps button{
  border:1px solid #ddd;
  background:#fff;
  color:#333;
  padding:8px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
  font-family:sans-serif;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.05s ease;
}

.rb-steps button:hover{
  border-color:#1b709b;
  color:#1b709b;
}

.rb-steps button:active{
  transform: translateY(1px);
}

.rb-steps button:focus-visible{
  outline: 2px solid rgba(197,5,12,0.35);
  outline-offset: 2px;
}

.rb-steps button.is-active{
  background:#1b709b;
  border-color:#1b709b;
  color:#fff;
}

/* ===============================
   EXISTING STYLES
   =============================== */

body {
  background: #f0f0f0;
  min-height: 100vh;
  margin: 0;
  padding: 40px 0;
  display: block;
  font-family: sans-serif;
}

/* Optional helpers (do nothing unless you use them in HTML) */
.rb-page{
  width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
}

.rb-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#hbs-resume-frame {
  width: 816px;
  height: 1056px;
  background: white;
  padding: 48px 72px;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
  color: #000;
  line-height: 1.2;
  display: none;
  overflow: hidden;
}

.hbs-section-header {
  font-size: 11pt;
  border-bottom: 1.5px solid #000;
  margin: 15px 0 6px 0;
  padding-bottom: 1px;
  font-weight: bold;
  text-transform: uppercase;
}

.hbs-bold-row {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 11pt;
}

.hbs-italic-row {
  display: flex;
  justify-content: space-between;
  font-style: italic;
  font-size: 10.5pt;
  margin-bottom: 2px;
}

#loading-msg {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  width: 100%;
}

#action-btns {
  display: none;
  margin-top: 18px;
  gap: 12px;
  flex-direction: column;
  width: 816px;
  align-items: center;
  box-sizing: border-box;
}

button.primary {
  background: #1b709b;
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.05s ease, filter 0.15s ease;
}

button.primary:hover{
  filter: brightness(0.98);
}

button.primary:active{
  transform: translateY(1px);
}

button.primary:focus-visible{
  outline: 2px solid rgba(164,16,52,0.35);
  outline-offset: 2px;
}

button.secondary {
  background: #555;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.05s ease, filter 0.15s ease;
}

button.secondary:hover{
  filter: brightness(1.05);
}

button.secondary:active{
  transform: translateY(1px);
}

button.secondary:focus-visible{
  outline: 2px solid rgba(85,85,85,0.35);
  outline-offset: 2px;
}

/* Safe responsiveness: prevents overflow on small screens */
@media (max-width: 860px){
  #action-btns{
    width: min(816px, calc(100% - 24px));
  }
}
