body {
  width: 100%;
  height: 100vh;
  position: relative;
}

.required {
  color: var(--color-accent-teal);
  font-size: 1.6rem;
}

.welcome-register {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.welcome-register h2 {
  padding-top: 0;
}

.welcome-register img {
  height: 20px;
}

main {
  position: relative;
}

.section {
  padding: 6rem 0 6rem;
}

header {
  background-color: var(--color-primary-black);
}

.register-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card {
  background-color: var(--color-primary-black);
  max-width: 400px;
}

.card ul {
  margin-bottom: 2rem;
}

.card-body h2 {
  font-size: 3rem;
}

.card-body p {
  font-size: 1.3rem;
  text-align: center;
}

.card-body button {
  font-size: 1.6rem;
  margin: 2rem 0 0;
  padding: 1rem;
}

.btn {
  transition: all 0.3s ease-in-out;
  color: #0f1021;
}

.btn:hover {
  background: #1a9f8f; /* darker accent */
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(46, 196, 182, 0.4);
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(46, 196, 182, 0.25);
}

/* Default tab styles */
.nav-tabs .nav-link {
  color: #ffffff; /* inactive tab color */
  border: none;
  background: transparent;
}

/* Active tab */
.nav-tabs .nav-link.active {
  color: #2ec4b6 !important;
  border: none;
  border-bottom: 2px solid #2ec4b6; /* underline effect */
  background: transparent !important;
}

/* Hover effect */
.nav-tabs .nav-link:hover {
  color: #2ec4b6;
}

/* FORM */
.form-label {
  font-size: 1.6rem;
  color: var(--color-text-blue);
}

.form-control {
  height: 40px;
  font-size: 1.3rem;
  background-color: var(--color-background);
}

.form-control:focus {
  border-color: #2ec4b6 !important;
  box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.25) !important;
}

.form-select {
  height: 40px;
  font-size: 1.3rem;
}

/* On focus */
.form-select:focus {
  border-color: #2ec4b6 !important;
  box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.25) !important;
}

/* Optional: change the caret (down arrow) color */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232ec4b6' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658l-4.796 5.482a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
}

.password-guide {
  font-size: 1.3rem;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 70%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  color: #666;
}

/* SPINNER */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.alert {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
  z-index: 99999999;
}

.alert.hidden {
  display: none;
}

.alert.success {
  background: #e6f9f5;
  border: 1px solid #2ec4b6;
  color: #2ec4b6;
}

.alert.error {
  background: #fdecea;
  border: 1px solid #f44336;
  color: #f44336;
}

.alert i {
  font-size: 18px;
}

.alert-close {
  background: none;
  border: none;
  font-size: 18px;
  color: inherit;
  cursor: pointer;
  margin-left: auto;
}

/* Simple slide down animation */
@keyframes slideDown {
  from {
    opacity: 0;
    margin-top: -20px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .welcome-register {
    flex-direction: column;
  }

  .card {
    width: 450px;
  }
}

@media (max-width: 410px) {
  .welcome-register {
    flex-direction: column;
  }

  .card {
    width: 400px;
  }
}

@media (max-width: 350px) {
  .card {
    width: 320px;
  }
}

@media (max-width: 300px) {
  .card {
    width: 280px;
  }
}
@media (max-width: 280px) {
  .card {
    width: 250px;
  }
}
@media (max-width: 250px) {
  .card {
    width: 230px;
  }
}
