/* P.Messenger 로그인 */
.login-body {
  background: linear-gradient(160deg, #3c1e1e 0%, #5a2e2e 45%, #2c1e1e 100%);
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
    env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.login-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  width: 100%;
}

.login-card {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #fee500;
  color: #3c1e1e;
  font-weight: 800;
  font-size: 22px;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(254, 229, 0, 0.35);
}

.login-card .form-control:focus,
.login-card .form-select:focus {
  border-color: #fee500;
  box-shadow: 0 0 0 0.2rem rgba(254, 229, 0, 0.25);
}

.login-card .btn-primary {
  background: #fee500;
  border: none;
  color: #3c1e1e;
  font-weight: 700;
}

.login-card .btn-primary:hover {
  background: #fdd835;
  color: #3c1e1e;
}

.login-card .btn-primary:disabled {
  opacity: 0.7;
  color: #3c1e1e;
}

@media (max-width: 991px) {
  .login-wrapper {
    padding: 12px;
    align-items: flex-start;
    padding-top: max(28px, env(safe-area-inset-top, 0px));
  }
  .login-card .card-body {
    padding: 1.25rem !important;
  }
  .login-card .form-control {
    font-size: 16px;
    min-height: 44px;
  }
  .login-card .btn-primary {
    min-height: 48px;
    font-size: 16px;
  }
  .login-card .btn-outline-secondary {
    min-width: 44px;
  }
}
