/* components.css — shared UI pieces (buttons/cards/typography helpers) */

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11,16,32,.04);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn.primary{
  background: rgba(255,140,0,.18);
  border-color: rgba(255,140,0,.5);
}

.btn.ghost{
  background: rgba(11,16,32,.05);
}

.link{
  display:inline-block;
  margin-top: 10px;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(11,16,32,.25);
  text-underline-offset: 3px;
}
.link:hover{ text-decoration-color: rgba(11,16,32,.55); }

/* ================= CARDS ================= */

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

/* Shared title (used in multiple pages) */
.section-title{ margin: 0 0 14px; font-size: 18px; }

.is-hidden{ display: none; }

/* ================= HEADER TYPOGRAPHY OVERRIDES (were inside style.css) ================= */
/* Slightly larger text for all headers */

.site-header,
.page-header,
.section-header{
  font-size: 1.05em;
}

.site-header h1,
.page-header h1,
.section-header h1{
  font-size: 1.6em;
}

.site-header h2,
.page-header h2,
.section-header h2{
  font-size: 1.25em;
}

.site-header nav a,
.site-header .nav a{
  font-size: 1.05em;
}

/* Icon buttons helper (used by header controls in some pages/layouts) */
.icon-btn{
  width: var(--menu-btn-size, 44px);
  height: var(--menu-btn-size, 44px);
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Language: icon-only everywhere (safe, just hides text if present) */
.lang-current span{
  display: none !important;
}

/* Keep dropdown positioning working */
.lang-select,
.user-select{
  position: relative;
}