@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: #090B0D;
}

.bc-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px;
  background: #090B0D;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.bc-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bc-shape-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(91, 79, 150, 0.35) 0%, transparent 70%);
}

.bc-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(81, 70, 150, 0.3) 0%, transparent 70%);
}

.bc-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  padding: 36px 32px;
  border-radius: 20px;
  background: rgba(12, 14, 16, 0.95);
  border: 1px solid rgba(91, 79, 150, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(176, 178, 183, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bc-card:hover {
  border-color: rgba(91, 79, 150, 0.55);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), 0 0 28px rgba(91, 79, 150, 0.15);
}

.bc-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.bc-logo-mark {
  width: 32px;
  height: 32px;
  background: #5B4F96;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-logo-mark svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.bc-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #B0B2B7;
  letter-spacing: 0.03em;
}

.bc-logo-text span {
  color: #7B6FC4;
}

.bc-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(91, 79, 150, 0.15);
  border: 1px solid rgba(91, 79, 150, 0.35);
  color: #A89EDA;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bc-title {
  margin: 0 0 8px 0;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.bc-subtitle {
  margin: 0 0 28px 0;
  color: #B0B2B7;
  font-size: 0.92rem;
  line-height: 1.6;
}

.bc-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5B4F96;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(91, 79, 150, 0.2);
}

.bc-form {
  display: grid;
  gap: 20px;
}

.bc-section {
  display: grid;
  gap: 16px;
}

.bc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bc-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.bc-input-group {
  display: grid;
  gap: 7px;
}

.bc-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #B0B2B7;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bc-required {
  color: #7B6FC4;
  font-size: 0.8rem;
}

.bc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bc-input-icon {
  position: absolute;
  left: 14px;
  color: #e3e3e3;
  font-size: 16px;
  pointer-events: none;
  line-height: 1;
}

.bc-input,
.bc-select {
  width: 100%;
  padding: 13px 16px 13px 40px;
  border-radius: 12px;
  border: 1px solid rgba(14, 16, 18, 0.6);
  background: rgb(48, 48, 46);
  color: #e3e3e3;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.bc-input::placeholder {
  color: rgba(227, 227, 227, 0.4);
}

.bc-input:focus,
.bc-select:focus {
  border-color: rgba(91, 79, 150, 0.6);
  background: rgba(48, 48, 46, 0.7);
  box-shadow: 0 0 0 3px rgba(91, 79, 150, 0.15);
}

.bc-select {
  padding-right: 36px;
  cursor: pointer;
}

.bc-select option {
  background: #1a1a1a;
  color: #e3e3e3;
}

.bc-select-arrow {
  position: absolute;
  right: 12px;
  color: #e3e3e3;
  font-size: 14px;
  pointer-events: none;
}

.bc-divider-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.bc-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(91, 79, 150, 0.18);
}

.bc-divider-section span {
  color: #3a3d45;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.bc-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #B0B2B7;
  font-size: 0.86rem;
  line-height: 1.5;
  cursor: pointer;
}

.bc-terms input[type="checkbox"] {
  accent-color: #5B4F96;
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.bc-terms a {
  color: #7B6FC4;
  font-weight: 600;
  text-decoration: none;
}

.bc-terms a:hover {
  color: #A89EDA;
}

.bc-submit {
  width: 100%;
  border: 1px solid rgba(91, 79, 150, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  background: #0E1012;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bc-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 100%);
  pointer-events: none;
}

.bc-submit:hover {
  transform: translateY(-2px);
  background: #1a1d21;
  box-shadow: 0 10px 32px rgba(81, 70, 134, 0.5);
}

.bc-submit:active {
  transform: translateY(0);
  background: #111316;
}

.bc-footer {
  margin-top: 20px;
  text-align: center;
}

.bc-footer p {
  margin: 0;
  color: #B0B2B7;
  font-size: 0.88rem;
}

.bc-footer a {
  color: #7B6FC4;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.bc-footer a:hover {
  color: #A89EDA;
}

/* Alertas de erro */
.bc-card .alert-danger {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #f8a0a8;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* Honeypot */
.honey-element {
  display: none !important;
}

/* Custom Select dropdown (paÃ­s) */
.bc-select-wrap {
  position: relative;
}

.bc-select-wrap .bc-input-icon {
  position: absolute;
  left: 14px;
  top: 22px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  color: #e3e3e3;
  font-size: 16px;
}

.bc-custom-select {
  position: relative;
  width: 100%;
}

.bc-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding-left: 40px;
}

.bc-select-arrow-icon {
  font-size: 14px;
  color: #B0B2B7;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.bc-custom-select.open .bc-select-arrow-icon {
  transform: rotate(180deg);
}

.bc-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(91, 79, 150, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 100;
  padding: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.bc-select-dropdown::-webkit-scrollbar {
  width: 4px;
}

.bc-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.bc-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(91, 79, 150, 0.4);
  border-radius: 4px;
}

.bc-custom-select.open .bc-select-dropdown {
  display: block;
}

.bc-select-option {
  padding: 9px 12px;
  color: #e3e3e3;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bc-select-option:hover {
  background: rgba(91, 79, 150, 0.25);
  color: #A89EDA;
}

.bc-select-option.selected {
  background: rgba(91, 79, 150, 0.15);
  color: #A89EDA;
  font-weight: 600;
}
/* Campos customizados do Perfex */
.register-contact-custom-fields .form-group,
.register-company-custom-fields .form-group {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.register-contact-custom-fields .control-label,
.register-company-custom-fields .control-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #B0B2B7;
  letter-spacing: 0.02em;
}

.register-contact-custom-fields .form-control,
.register-company-custom-fields .form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(14, 16, 18, 0.6);
  background: rgb(48, 48, 46);
  color: #e3e3e3;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
  height: auto;
  appearance: none;
  -webkit-appearance: none;
}

.register-contact-custom-fields .form-control:focus,
.register-company-custom-fields .form-control:focus {
  border-color: rgba(91, 79, 150, 0.6);
  background: rgba(48, 48, 46, 0.7);
  box-shadow: 0 0 0 3px rgba(91, 79, 150, 0.15);
}

@media (max-width: 560px) {
  .bc-grid-2,
  .bc-grid-3 {
    grid-template-columns: 1fr;
  }

  .bc-card {
    padding: 28px 20px;
  }

  .bc-title {
    font-size: 1.5rem;
  }
}