/* registration-components.css */

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* centers text horizontally */
  gap: 10px;

  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--line);

  color: var(--text);
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 0.06s ease,
    background 0.15s ease,
    border-color 0.15s ease;

  user-select: none;
  white-space: nowrap;
}

.btn-login:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.btn-yellow {
  background: rgba(255, 204, 0, 0.2);
}

.btn-yellow:hover {
  background: rgba(255, 221, 87, 0.2);
}

.btn-gray {
  background: var(--btn-bg);
}

.btn-gray:hover {
  background: var(--btn-bg-hover);
}

.btn-login:active {
  transform: translateY(1px);
}

.total-box {
  border-radius: 12px;
  border: 1px solid var(--line);
}

.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.list-group-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.list-group-dark .list-group-item {
  background: var(--section-bg);
  color: #e9eef5;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
}

.list-group-dark .list-group-item:last-child {
  border-bottom: none;
}

.list-group-dark .list-group-item:hover,
.list-group-dark .list-group-item:focus,
.list-group-dark .list-group-item.active {
  background-color: rgba(255, 255, 255, 0.04);
  color: #e9eef5;
  box-shadow: none;
}

#chevron {
  display: inline-block;
  transition: transform 0.6s ease;
  transform: rotate(180deg);
}

#chevron.is-open {
  transform: rotate(0deg);
}

/* Radios */
.my-radio {
  display: none;
}

.my-radio-group {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  overflow: hidden;
  gap: 0.5rem;
  width: 100%;
}

.my-radio-label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #81828b;
  padding: 15px 10px;
  background: var(--btn-bg);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-height: 70px;
  font-size: 1.2rem;
  border-radius: 5px;
}

.my-radio-label:hover {
  background: #3b3c3f;
}

.my-radio-label:has(> .my-radio:checked) {
  background: var(--btn-bg-hover);
  color: #fff;
  transform: scale(1);
}

.tab-radio-label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #81828b;
  padding: 15px 10px;
  background: var(--btn-bg);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-height: 70px;
  font-size: 1.2rem;
  border: none;
}

.tab-radio-label:hover {
  background: #3b3c3f;
}

.tab-radio-label:has(> .my-radio:checked) {
  background: var(--btn-bg-hover);
  color: #fff;
  font-weight: 500;
}
