.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--bhu-green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--bhu-green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--bhu-gold);
  color: var(--bhu-green-dark);
}

.btn-gold:hover {
  background: var(--bhu-gold-light);
  color: var(--bhu-green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--bhu-green);
  border: 2px solid var(--bhu-green);
}

.btn-outline:hover {
  background: var(--bhu-green);
  color: #fff;
}

.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.content-section {
  background: var(--bhu-surface);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: var(--bhu-shadow);
  border: 1px solid var(--bhu-border);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--bhu-text-secondary);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--bhu-green); }
.breadcrumb span { opacity: 0.6; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bhu-text);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--bhu-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--bhu-green);
  box-shadow: 0 0 0 3px rgba(0,106,78,0.1);
}

select.form-control { cursor: pointer; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.result-box {
  background: var(--bhu-surface);
  border: 1px solid var(--bhu-border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--bhu-shadow);
}

.result-box h4 { margin-bottom: 12px; color: var(--bhu-green-dark); }
.result-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--bhu-border);
  font-size: 0.95rem;
}
.result-item:last-child { border-bottom: none; }
.result-item .label { color: var(--bhu-text-secondary); }
.result-item .value { font-weight: 700; }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 0.95rem;
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.tabs {
  display: flex;
  gap: 5px;
  border-bottom: 2px solid var(--bhu-border);
  margin-bottom: 20px;
  overflow-x: auto;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--bhu-text-secondary);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.95rem;
}

.tab-btn.active {
  color: var(--bhu-green);
  border-bottom-color: var(--bhu-green);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.warning-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
  color: #7f1d1d;
  font-size: 0.75rem;
}

.warning-box strong { display: block; margin-bottom: 5px; font-size: .85rem; }

.progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin: 15px 0;
}

.progress-fill {
  height: 100%;
  background: var(--bhu-green);
  transition: width 0.3s;
  border-radius: 9999px;
}

.sticky-social {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1200;
}

.sticky-social__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
  overflow: visible;
}

.sticky-social__link:hover,
.sticky-social__link:focus-visible {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.22);
  filter: brightness(1.03);
}

.sticky-social__link--youtube {
  background: linear-gradient(135deg, #ff3c3c 0%, #d40404 100%);
}

.sticky-social__link--facebook {
  background: linear-gradient(135deg, #1b74e4 0%, #0d5ecf 100%);
}

.sticky-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-weight: 700;
  line-height: 1;
  font-size: 1.3rem;
}

.sticky-social__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.sticky-social__label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  z-index: 10;
  transform: translateY(-50%) translateX(-8px);
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  max-width: calc(100vw - 90px);
  text-align: center;
}

.sticky-social__link:hover .sticky-social__label,
.sticky-social__link:focus-visible .sticky-social__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .sticky-social {
    left: 14px;
    right: auto;
    top: auto;
    bottom: 18px;
    transform: none;
    flex-direction: row;
    z-index: 1200;
  }

  .sticky-social__link {
    width: 40px;
    height: 40px;
    z-index: 1;
    overflow: visible;
  }

  .sticky-social__label {
    left: 0;
    right: auto;
    top: auto;
    bottom: calc(100% + 10px);
    transform: translateY(8px);
    z-index: 999;
    white-space: nowrap;
    width: max-content;
    max-width: calc(100vw - 110px);
    line-height: 1.3;
    text-align: center;
  }

  .sticky-social__link:hover .sticky-social__label,
  .sticky-social__link:focus-visible .sticky-social__label {
    transform: translateY(0);
    opacity: 1;
  }
}

th, td {
  border: 1px solid var(--bhu-border);
  padding: 10px 12px;
  text-align: left;
}

th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--bhu-green-dark);
}

tr:nth-child(even) { background: #fafafa; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}
