/* ==========================================================================
   GRİ NOKTA - AUTH & LOGIN CSS (SITE MATCH)
   ========================================================================== */

.panel-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.panel-login .auth-page-wrapper {
  flex: 1;
  min-height: 0;
}

.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background-color: #FFFFFF;
  position: relative;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.auth-card {
  max-width: 450px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  padding: 44px 38px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.auth-icon-circle {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.auth-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-icon-circle svg {
  width: 24px;
  height: 24px;
  color: #000000;
  transition: color 0.2s ease;
}

.auth-icon-circle:hover svg {
  color: #334155;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.auth-subtitle {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 28px;
}

.auth-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
}

.auth-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.auth-input-wrap {
  position: relative;
  width: 100%;
}

.auth-input {
  width: 100%;
  height: 48px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 14.5px;
  color: #0F172A;
  background-color: #F8FAFC;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.auth-input-wrap .auth-input {
  padding-right: 44px;
}

.auth-input::placeholder {
  color: #94A3B8;
}

.auth-input:focus {
  background-color: #FFFFFF;
  border-color: #334155;
  box-shadow: 0 0 0 3px rgba(51, 65, 85, 0.1);
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #000000;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-password-toggle svg {
  width: 20px;
  height: 20px;
  color: #000000;
  transition: color 0.2s ease;
}

.auth-password-toggle:hover svg {
  color: #334155;
}

.auth-submit-btn {
  width: 100%;
  height: 48px;
  background: #334155;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 0 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(51, 65, 85, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-submit-btn:hover {
  background: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(51, 65, 85, 0.35);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.auth-back-home {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: center;
}

.auth-back-home svg {
  width: 16px;
  height: 16px;
  color: #000000;
  transition: transform 0.2s ease, color 0.2s ease;
}

.auth-back-home:hover {
  color: #334155;
}

.auth-back-home:hover svg {
  color: #334155;
  transform: translateX(-3px);
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: none;
  margin-bottom: 18px;
  text-align: left;
}

.auth-alert.is-error {
  display: block;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
}

.auth-alert.is-success {
  display: block;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #1E293B;
}

@media (max-width: 500px) {
  .auth-card {
    padding: 34px 22px;
    border-radius: 22px;
  }
}

@media (min-width: 2500px) {
  .auth-card { max-width: 520px; padding: 50px 44px; }
  .auth-title { font-size: 30px; }
  .auth-input,
  .auth-submit-btn { height: 52px; }
}

@media (min-width: 3800px) {
  .auth-card { max-width: 620px; padding: 60px 54px; }
  .auth-title { font-size: 36px; }
  .auth-subtitle { font-size: 18px; }
  .auth-label,
  .auth-input,
  .auth-submit-btn { font-size: 18px; }
  .auth-input,
  .auth-submit-btn { height: 60px; }
}
