body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

.auth-layout {
  display: flex;
  height: 100vh;
}

/* Left Panel */
.auth-left {
  flex: 1;
  padding: 40px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.auth-left-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.auth-header {
  align-self: center;
}
.auth-title {
  font-size: 30px;
  font-weight: 600;
  margin: 0;
  color: #1d2939;
}
.auth-subtitle {
  font-weight: 400;
  font-size: 14px;
  color: #667085;
}

/* Right Panel */
.auth-right {
  flex: 1;
  background-color: #161950;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.auth-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#161950 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

/* Branding */
.branding {
  text-align: center;
}
.branding-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.branding h2 {
  font-size: 32px;
  margin-top: 20px;
}
.branding p {
  color: #94a3b8;
  margin-top: 10px;
}

/* Buttons */
.auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background-color: #e8e8e8;
  color: #444;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  gap: 5px;
  transition: 0.2s ease;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.auth-button:hover {
  background-color: #161950;
  color: #ffffff;
}
.auth-icon {
  width: 18px;
  height: 18px;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  margin-left: 8px;
}

.spinner-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #4285F4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Loading state for button */
.auth-button.loading,
.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.auth-button.loading:hover,
.auth-button:disabled:hover {
  background-color: #e8e8e8;
  color: #444;
}
