* {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Auth Container Styles */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.199);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.3s ease-out forwards;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: center;
}

.auth-subtitle {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
}

.auth-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.541);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 0.5rem;
  padding: 0.75rem;
  padding-left: 2.5rem;
  transition: all 0.3s;
}

.auth-input:focus {
  border-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.auth-button {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  color: #121212;

  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-top: 1.5rem;
}

.auth-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.auth-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.auth-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


.sec-auth-button {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #00000000;
  color: #ffffff;

  border-radius: 0.5rem;
  border: 1px solid #ffffff38;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-top: 1.5rem;
}

.sec-auth-button:hover {
  background-color: rgba(0, 0, 0, 0.121);
}

.sec-auth-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.sec-auth-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-link {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s;
}

.auth-link:hover {
  color: #ffffff;
}

.error-message {
  color: #ff4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.success-message {
  color: #00c853;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.divider-text {
  margin: 0 0.75rem;
  font-size: 0.875rem;
  color: #e0e0e0;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.social-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-button svg {
  margin-right: 0.5rem;
}

.icon-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.space-y-1>*+* {
  margin-top: 0.25rem;
}

.space-y-2>*+* {
  margin-top: 0.5rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.font-medium {}

.text-muted {
  color: #e0e0e0;
}

.h-4 {
  height: 1rem;
}

.w-4 {
  width: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}

.h-12 {
  height: 3rem;
}

.w-12 {
  width: 3rem;
}

.rounded-full {
  border-radius: 9999px;
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Loading Dots */
.loading-dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.loading-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #000000;
  border-radius: 50%;
}

.loading-dot:nth-child(1) {
  animation: pulse 1s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
  animation: pulse 1s ease-in-out 0.2s infinite;
}

.loading-dot:nth-child(3) {
  animation: pulse 1s ease-in-out 0.4s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* OTP Input Styles */
.otp-input-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.otp-input {
  width: 3rem;
  height: 3.5rem;
  text-align: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: #1e1e1e;
  border-radius: 0.5rem;
  color: #ffffff;
}

.otp-input:focus {
  border-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Password Strength */
.password-strength {
  margin-top: 0.5rem;
}

.strength-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.strength-progress {
  height: 0.375rem;
  width: 100%;
  background-color: #1e1e1e;
  border-radius: 9999px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  transition: width 0.3s, background-color 0.3s;
}

.strength-very-weak {
  background-color: #ff4444;
  width: 20%;
}

.strength-weak {
  background-color: #ff9800;
  width: 40%;
}

.strength-medium {
  background-color: #ffeb3b;
  width: 60%;
}

.strength-strong {
  background-color: #2196f3;
  width: 80%;
}

.strength-very-strong {
  background-color: #00c853;
  width: 100%;
}

.password-requirements {
  margin-top: 0.5rem;
}

.requirement {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
}

.requirement-icon {
  margin-right: 0.5rem;
}

.requirement-met {
  color: #00c853;
}

.requirement-unmet {
  color: #e0e0e0;
}

/* 404 Page Styles */
.error-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.error-card {
  width: 100%;
  max-width: 32rem;
  background-color: #1e1e1e;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.error-illustration {
  position: relative;
  width: 16rem;
  height: 16rem;
  margin: 0 auto 1.5rem;
}

.error-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-bg-text {
  font-size: 9rem;
  font-weight: 700;
  color: white;
  opacity: 0.1;
}

.error-fg {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-svg {
  width: 100%;
  height: 100%;
  color: white;
  animation: pulse 3s infinite;
}

.error-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.error-message {
  color: #e0e0e0;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  color: white;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
}

/* Index Page Styles */
.index-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #121212;
}

.index-content {
  max-width: 48rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.index-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  animation: fadeIn 0.3s ease-out forwards;
}

.index-subtitle {
  font-size: 1.25rem;
  color: #e0e0e0;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.3s ease-out 0.1s forwards;
  opacity: 0;
}

.index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.index-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: left;
  transition: background-color 0.3s;
  text-decoration: none;
  display: block;
  opacity: 0;
}

.index-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.index-card-title {
  font-size: 1.25rem;

  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.index-card-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.index-card:hover .index-card-arrow {
  transform: translateX(0.25rem);
}

.index-card-description {
  color: #e0e0e0;
}

.index-404-link {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: white;
  transition: background-color 0.3s;
  text-decoration: none;
  opacity: 0;
  animation: fadeIn 0.3s ease-out 0.6s forwards;
}

.index-404-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}