/* Wrapper */
.auth-wrapper {
  max-width: 420px;
  margin: 60px auto;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Title */
.auth-title {
  text-align: center;
  margin-bottom: 25px;
  font: var(--sub-heading);
}

/* Form */
.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 15px;
  background: var(--color-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
  outline: none;
}

/* Buttons */
.auth-form .btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  margin-top: 10px;
  transition: all 0.25s ease;
}

.auth-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Error & Success */
.auth-error,
.auth-success {
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

.auth-error {
  background: #ffe5e5;
  color: #b71c1c;
}

.auth-success {
  background: #e8f7e8;
  color: #1b5e20;
}

/* Links */
.auth-links {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.auth-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}
.password-wrapper {
  position: relative;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.auth-success {
  background: #e6ffed;
  color: #1b5e20;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

/* ------------------------------
   Author Page
------------------------------- */

.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.author-avatar img {
  height: 100px;
  border-radius: 50%;
}

.author-info {
  flex: 1;
}

.author-name {
  font: var(--sub-heading);
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.author-bio {
  font: var(--body-regular);
  color: var(--color-text-medium);
  margin-bottom: 12px;
}

.author-other-info {
    display: flex;
    gap: 20px;
    justify-content: start;
    align-items: center !important;
}


/* Responsive */
@media (max-width: 480px) {
  .auth-wrapper {
    margin: 30px 15px;
    padding: 20px;
  }

  .auth-form input,
  .auth-form .btn {
    font-size: 14px;
    padding: 10px;
  }
  .author-name {
    text-align: center;
  }

  .auth-title {
    font-size: 18px;
  }

  .author-card {
    flex-direction: column;
  }
  .author-other-info {
    flex-direction: column;
  }
}
