/* style.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
  background-color: #f0f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}
.auth-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.brand-logo {
  text-align: center;
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.5px;
}
.brand-logo .formal {
  color: #4285f4;
  font-weight: 700;
}
.brand-logo .monkey {
  color: #333;
  font-weight: 700;
}

.auth-title {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 8px;
}
.auth-subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #5f6368;
  margin-bottom: 30px;
}

/* Profile Pic Display */
.profile-pic-wrapper {
  text-align: center;
  margin-bottom: 15px;
  display: none;
}
.profile-pic-wrapper img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dadce0;
}

/* Floating Label Inputs */
.input-group {
  position: relative;
  margin-bottom: 25px;
}
.input-group input {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s;
  background: transparent;
}
.input-group input:focus {
  border: 2px solid #1a73e8;
  padding: 12px 14px;
}
.input-group input:read-only {
  background: #f8f9fa;
  color: #5f6368;
  outline: none;
  border: 1px solid #dadce0;
}

.input-group label {
  position: absolute;
  top: 14px;
  left: 10px;
  background: transparent;
  padding: 0 5px;
  color: #5f6368;
  font-size: 16px;
  transition: 0.2s ease all;
  pointer-events: none;
}

/* Trigger floating label on focus, when not empty, or when readonly */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group input:read-only ~ label {
  top: -10px;
  font-size: 12px;
  color: #1a73e8;
  background: #fff;
}

.input-group input:not(:focus):not(:placeholder-shown) ~ label {
  color: #5f6368;
}

.action-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  align-items: center;
}
.btn-primary {
  background: #0b57d0;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #0842a0;
}
.btn-primary:disabled {
  background: #a8c7fa;
  cursor: not-allowed;
}

.user-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid #dadce0;
  padding: 5px 15px;
  border-radius: 20px;
  width: fit-content;
  margin: 0 auto 20px auto;
}
.user-badge svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #5f6368;
  cursor: pointer;
}
.user-badge span {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
}

.error-msg {
  color: #d93025;
  font-size: 12px;
  margin-top: -20px;
  margin-bottom: 15px;
  display: none;
  text-align: center;
}

/* Step Visibility */
.step {
  display: none;
}
.step.active {
  display: block;
}
