/* --- LAYOUT GLOBAL --- */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
}

.auth-container-tech {
  width: 100%;
  max-width: 420px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* --- HEADER --- */
.auth-header-main {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.auth-header-main h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
  letter-spacing: -0.5px;
}

.auth-header-main p {
  color: var(--text-s);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* --- TABS --- */
.auth-tabs-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(15, 23, 42, 0.5);
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 30px;
}

.tab-btn {
  border: none;
  background: none;
  padding: 10px 5px;
  color: var(--text-s);
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tab-btn i {
  font-size: 1.1rem;
}

.tab-btn span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tab-btn.active {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

/* --- FORMS --- */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-group-tech {
  margin-bottom: 20px;
}

.input-group-tech label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-s);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.9rem;
}

.input-with-icon input {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 14px 14px 45px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  transition: 0.3s;
}

.input-with-icon input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.btn-auth-submit {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: var(--accent);
}

.helper-txt {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 8px;
  display: block;
}

.auth-footer-link {
  text-align: center;
  margin-top: 25px;
  font-size: 0.85rem;
  color: var(--text-s);
}

.auth-footer-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive Mobile */
@media (max-width: 480px) {
  .auth-container-tech {
    padding: 30px 20px;
    border-radius: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .auth-wrapper {
    padding: 0;
    background: #0f172a;
  }
}
