* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #fcfcfd;
  color: #18181b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  background: url('/img/') center/cover no-repeat;
}

/* Header */
.top-header {
  padding: 24px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
    background: url('/LogoSmall.svg') center/cover no-repeat;
    width: 100px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #3b0764;
}

/* Card Container */
.card-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 520px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 48px;
  border: 1px solid #f4f4f5;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.title {
  font-size: 28px;
  font-weight: 800;
  color: #09090b;
  margin-bottom: 8px;
}

.description {
  font-size: 14px;
  color: #71717a;
  margin-bottom: 28px;
}

/* Segmented Role Switcher */
.role-switcher {
  display: flex;
  background-color: #f4f4f5;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 24px;
}

.role-btn {
  flex: 1;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #71717a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-btn.active {
  background: linear-gradient(135deg, #7c3aed 0%, #f97316 100%);
  color: #ffffff;
  font-weight: 600;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-label {
  font-size: 12px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  font-size: 14px;
  color: #09090b;
  outline: none;
  background-color: #ffffff;
}

.form-input.focus-purple {
  border: 2px solid #6d28d9;
}

.eye-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #a1a1aa;
  display: flex;
  align-items: center;
}

.eye-btn:hover {
  color: #09090b;
}

.eye-icon {
  width: 18px;
  height: 18px;
}

/* Primary Button */
.btn-submit {
  width: 100%;
  height: 48px;
  background-color: #18181b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: #27272a;
}

/* Forgot Link */
.forgot-wrapper {
  text-align: left;
  margin-bottom: 28px;
}

.forgot-link {
  font-size: 13px;
  font-weight: 600;
  color: #6d28d9;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Divider with Text */
.divider {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e4e4e7;
  z-index: 1;
}

.divider span {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  color: #a1a1aa;
}

/* Google Button */
.btn-google {
  width: 100%;
  height: 48px;
  background-color: #ffffff;
  border: 1px solid #18181b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 32px;
  transition: background-color 0.2s ease;
}

.btn-google:hover {
  background-color: #f4f4f5;
}

.google-icon {
  width: 18px;
  height: 18px;
}

/* Sign Up Footer */
.signup-text {
  font-size: 13px;
  color: #71717a;
}

.signup-link {
  color: #6d28d9;
  font-weight: 700;
  text-decoration: none;
}

.signup-link:hover {
  text-decoration: underline;
}